The effectiveness of the cache memory is based on the property of ______
Aलोकैलिटी ऑफ़ रेफ़रेंसLocality of reference
Bमेमोरी लोकलाइज़ेशनMemory localization
Cमेमोरी का आकारMemory size
Dइनमें से कोई नहींNone of the mentioned
सही उत्तर / Answer: (A)
हल / Solution
कोई भी प्रोग्राम थोड़े-से पते बार-बार छूता है और पास-पास पड़े पतों को साथ-साथ छूता है। इसी आदत को लोकैलिटी ऑफ़ रेफ़रेंस कहते हैं। इसके दो रूप हैं, समय वाला और स्थान वाला। इसी कारण छोटी-सी कैश भी अधिकतर माँगें पूरी कर देती है। मेमोरी लोकलाइज़ेशन कोई मान्य सिद्धांत ही नहीं है। कैश का आकार मदद करता है, पर असली आधार यही गुण है, इसलिए तीसरा विकल्प भी ठीक नहीं।
Any running program touches a small set of addresses again and again, and also touches addresses that lie close together. This habit is called locality of reference, and it has two forms, temporal and spatial. Because of it even a small cache can satisfy most requests. Memory localization is not a recognised principle at all. Cache size does help performance, but the real basis is this property, so the third option is not right.
संख्या 2 में से -3 घटाने पर 4-बिट 2's complement रूप में उत्तर _________ होता है।
When we subtract -3 from 2, the answer in 4-bit 2's complement form is _________
A0001
B1101
C0101
D1001
सही उत्तर / Answer: (C)
हल / Solution
किसी ऋणात्मक संख्या को घटाना उसे जोड़ने के बराबर है: 2 - (-3) = 2 + 3 = 5। परिणाम धनात्मक है, इसलिए 2's complement में वह सीधा बाइनरी रूप ही रहता है। 4 बिट में 5 = 0101। 0001 = 1 है, जो 3 - 2 करने से मिलता। 1101 = -3 है, यानी सिर्फ़ घटाई गई संख्या। 1001 = -7 है, जिसका इस हिसाब से कोई संबंध नहीं। इसलिए सही उत्तर 0101 है।
Subtracting a negative number is the same as adding it: 2 - (-3) = 2 + 3 = 5. The result is positive, so in 2's complement it stays in plain binary. In 4 bits, 5 = 0101. The option 0001 is 1, which you get from 3 - 2. 1101 is -3, just the number being subtracted. 1001 is -7 and has nothing to do with this sum. So the answer is 0101.
सेंट्रल प्रोसेसिंग यूनिट और मेमोरी किस पर लगी होती हैं?
The central processing unit and memory are located on the
Aएक्सपेंशन बोर्डexpansion board
Bमदरबोर्डmotherboard
Cस्टोरेज डिवाइसstorage device
Dइनमें से कोई नहींNone of these
सही उत्तर / Answer: (B)
हल / Solution
मदरबोर्ड कंप्यूटर का मुख्य सर्किट बोर्ड है। CPU का socket और RAM के slot इसी पर होते हैं, और यही सब भागों के बीच bus का रास्ता भी बनाता है। एक्सपेंशन बोर्ड अलग से लगाया जाने वाला कार्ड है, जैसे ग्राफ़िक्स कार्ड, इसलिए वह उत्तर नहीं। स्टोरेज डिवाइस सामान जमा करती है, उस पर CPU नहीं लगता। सही विकल्प मौजूद है, इसलिए चौथा भी गलत है।
The motherboard is the main circuit board of a computer. The socket for the CPU and the slots for RAM sit on it, and it also carries the buses that join all the parts together. An expansion board is an add-on card such as a graphics card, so it is not the answer. A storage device only keeps data and does not carry the CPU. A correct choice exists, so 'none' is wrong.
एक ही बस के मुकाबले मल्टीपल बस संगठन का मुख्य लाभ क्या है?
The main advantage of multiple bus organization over a single bus is __________
Aचलाने के लिए लगने वाले cycle कम हो जाते हैंReduction in the number of cycles for execution
Bरजिस्टर का आकार बढ़ जाता हैIncrease in size of the registers
Cजुड़ाव बेहतर हो जाता हैBetter Connectivity
Dइनमें से किसी का नहींNone of the mentioned
सही उत्तर / Answer: (A)
हल / Solution
एक ही bus पर एक समय में एक ही transfer हो सकता है, इसलिए एक निर्देश पूरा करने में कई clock cycle लग जाते हैं। कई bus होने पर कई transfer साथ-साथ चल जाते हैं और वही काम कम cycle में पूरा हो जाता है। रजिस्टर का आकार bus की संख्या से नहीं बदलता, वह अलग बात है। जुड़ाव थोड़ा सुधरता है, पर वह असली फायदा नहीं, बस उसका साइड असर है। सही उत्तर पहला है।
On a single bus only one transfer can happen at a time, so completing one instruction takes several clock cycles. With more than one bus, transfers go on side by side and the same work finishes in fewer cycles, which is the real gain in speed. The size of a register does not change with the number of buses. Better connectivity is only a side effect, not the main advantage claimed for this design.
I/O डिवाइस और प्रोसेसर की ऑपरेटिंग गति में अंतर को संभालने के लिए हम ___________ का उपयोग करते हैं
To overcome the lag in the operating speeds of the I/O device and the processor we use ___________
Aएड्रेस डिकोडरAddress decoders
Bस्टेटस फ्लैगStatus flags
Cइंटरप्ट सिग्नलInterrupt signals
Dएक्सेप्शनExceptions
सही उत्तर / Answer: (B)
हल / Solution
प्रोसेसर बहुत तेज़ होता है और I/O डिवाइस धीमा। दोनों के बीच तालमेल बिठाने के लिए इंटरफेस में स्टेटस फ्लैग रखे जाते हैं, जैसे SIN और SOUT। फ्लैग बताता है कि डिवाइस नया डेटा देने या लेने के लिए तैयार है या नहीं। प्रोसेसर तभी ट्रांसफर करता है। इसलिए उत्तर विकल्प 2 है। एड्रेस डिकोडर सिर्फ़ डिवाइस चुनता है। इंटरप्ट और एक्सेप्शन अलग काम के साधन हैं।
The processor is much faster than an I/O device. To keep the two in step, the device interface holds status flags such as SIN and SOUT. A flag tells whether the device is ready to give or take the next data item, and the processor transfers only then. So option 2 is correct. An address decoder only selects the device. Interrupt signals and exceptions are separate mechanisms, not the basic speed-matching tool.
The reason for the implementation of the cache memory is ______
Aसिस्टम की आंतरिक मेमोरी बढ़ानाTo increase the internal memory of the system
Bप्रोसेसर और मेमोरी की कार्य-गति में अंतरThe difference in speeds of operation of the processor and memory
Cमेमोरी एक्सेस और साइकिल समय घटानाTo reduce the memory access and cycle time
Dउपर्युक्त सभीAll of the mentioned
सही उत्तर / Answer: (B)
हल / Solution
प्रोसेसर बहुत तेज़ चलता है, पर मुख्य मेमोरी उसके मुक़ाबले धीमी है। हर बार मेमोरी से डेटा लाने में प्रोसेसर को इंतज़ार करना पड़ता। इसी गति के अंतर को पाटने के लिए बीच में तेज़ कैश मेमोरी रखी जाती है। कैश से आंतरिक मेमोरी बढ़ती नहीं, इसलिए पहला विकल्प ग़लत है। एक्सेस समय का घटना कैश का नतीजा है, उसके होने का कारण नहीं, इसलिए तीसरा और चौथा विकल्प भी नहीं चलेंगे।
A processor runs very fast, but main memory is slow in comparison. Without help, the processor would have to wait each time it fetched a word from memory. A small, fast cache is placed in between precisely to bridge this speed gap. Cache does not add to the internal memory of the system, so the first option is wrong. Shorter access time is a result of using a cache, not the reason for it, so the last two fail.
-7 में से -5 घटाने पर 5-बिट 2's complement रूप में उत्तर ________ होता है।
When we subtract -5 from -7, the answer in 5-bit 2's complement form is ________
A11110
B1110
C1010
D0010
सही उत्तर / Answer: (A)
हल / Solution
पहले हिसाब कीजिए: (-7) - (-5) = -7 + 5 = -2। अब -2 को 5 बिट के 2's complement में लिखना है। +2 = 00010। इसकी हर बिट उलटिए, तो 11101 मिलता है। इसमें 1 जोड़िए, तो 11110 बनता है। 1110 भी -2 है, पर वह 4 बिट का रूप है, 5 बिट का नहीं। 1010 और 0010 बिलकुल अलग मान हैं; 0010 तो +2 है, यानी चिह्न की ग़लती।
First work it out: (-7) - (-5) = -7 + 5 = -2. Now write -2 in 5-bit 2's complement. +2 = 00010. Flip every bit to get 11101, then add 1 to get 11110. The option 1110 is also -2, but only in 4 bits, not 5. The values 1010 and 0010 are different numbers; 0010 is +2, which comes from getting the sign wrong.
निम्नलिखित में से माप की कौन-सी इकाई कंप्यूटर सिस्टम के साथ प्रयोग होती है?
Which of the following units of measurement are used with a computer system?
AबाइटBytes
BकिलोबाइटKilobyte
CमेगाबाइटMegabyte
Dये सभीAll of these
सही उत्तर / Answer: (D)
हल / Solution
कंप्यूटर में सामग्री की मात्रा bit और byte से नापी जाती है। आठ bit का एक byte होता है, 1024 byte की एक किलोबाइट और 1024 किलोबाइट की एक मेगाबाइट। यही सीढ़ी आगे गीगाबाइट और टेराबाइट तक जाती है। तीनों नाम रोज़ इस्तेमाल होते हैं, इसलिए उत्तर 'ये सभी' है। कोई एक इकाई अकेली चुनने पर बाक़ी दो भी सही रह जाती हैं, इसलिए वह पूरा उत्तर नहीं होता।
In a computer the amount of data is measured in bits and bytes. Eight bits make one byte, 1024 bytes make one kilobyte and 1024 kilobytes make one megabyte, and the same ladder carries on to gigabytes and terabytes. All three names are in daily use, so the answer is 'All of these'. Picking any one unit alone leaves the other two equally correct, so it cannot be the full answer.
मल्टीपल बस संगठन में ALU को इनपुट देने के लिए किसी एक बस को चुनने का काम किससे होता है?
In multiple BUS organization __________ is used to select any of the Buses for input into ALU.
AMUX
BDE-MUX
CEn-CDS
Dइनमें से किसी का नहींNone of the mentioned
सही उत्तर / Answer: (A)
हल / Solution
यहाँ कई bus होती हैं और ALU को एक बार में किसी एक से इनपुट लेना पड़ता है। यह चुनाव MUX यानी multiplexer करता है। MUX कई इनपुट में से एक को चुनकर आगे भेजता है, इसलिए उसे many-to-one परिपथ कहा जाता है। कौन चुना जाएगा, यह select line तय करती हैं। DE-MUX उलटा काम करता है — एक इनपुट को कई जगह बाँटता है। En-CDS कोई असली भाग ही नहीं है। सही उत्तर मौजूद है।
Several buses are present and the ALU has to take its input from one of them at a time. This picking is done by a MUX, the multiplexer, which passes one of many inputs to a single output and is therefore called a many-to-one circuit. The select lines decide which bus gets through. A DE-MUX does the opposite and spreads one input over many outputs, and En-CDS is not a real component.
मेमोरी-मैप्ड की तुलना में I/O-मैप्ड डिवाइस का लाभ ___________ है
The advantage of I/O mapped devices to memory mapped is ___________
Aपहला वाला डेटा का तेज़ ट्रांसफर देता हैThe former offers faster transfer of data
BI/O मैपिंग से जुड़े डिवाइस का बफ़र स्पेस बड़ा होता हैThe devices connected using I/O mapping have a bigger buffer space
Cडिवाइस को कम एड्रेस लाइनों से काम चलाना पड़ता हैThe devices have to deal with fewer address lines
Dऐसा कोई लाभ नहीं हैNo advantage as such
सही उत्तर / Answer: (C)
हल / Solution
I/O-मैप्ड (isolated) तरीक़े में डिवाइस का अपना अलग और छोटा एड्रेस स्पेस होता है। जैसे 8085 में पोर्ट का पता सिर्फ़ 8 बिट का होता है। इसलिए डिवाइस को पूरी एड्रेस बस डिकोड नहीं करनी पड़ती, कम एड्रेस लाइनों से काम चल जाता है। यही विकल्प 3 है। डेटा की गति या बफ़र का आकार मैपिंग के तरीक़े से तय नहीं होता। और लाभ मौजूद है, इसलिए विकल्प 4 भी ग़लत है।
In I/O-mapped (isolated) I/O, devices get their own small address space. In the 8085, for example, a port address is only 8 bits. So a device does not have to decode the full address bus; it deals with fewer address lines. That is option 3. Transfer speed and buffer size do not depend on the mapping method, so options 1 and 2 are wrong. Since a real advantage exists, option 4 is wrong too.
आगे के 10 प्रश्नों के उत्तर और हल app मेंFliQi Question Bank — अभ्यास, हल और आपकी प्रगति