Computer AwarenessVery hardIBPS SO IT · SBI PO
A cache has an access time of 10 ns and main memory 100 ns. The cache is checked first and, on a miss, the word is then read from main memory, so a miss costs 10 + 100 ns. With a hit ratio of 90%, what is the average memory access time?
- A. 19 ns
- B. 20 ns
- C. 91 ns
- D. 55 ns
Correct answer: B. 20 ns
Average = 0.9 × 10 + 0.1 × (10 + 100) = 9 + 11 = 20 ns. 19 ns comes from wrongly charging a miss only 100 ns, as if both memories were searched in parallel.
हिंदी में
एक कैश का एक्सेस समय 10 ns और मुख्य मेमोरी का 100 ns है। पहले कैश की जाँच होती है और मिस होने पर शब्द मुख्य मेमोरी से पढ़ा जाता है, इसलिए एक मिस की लागत 10 + 100 ns है। 90% हिट अनुपात के साथ औसत मेमोरी एक्सेस समय क्या है?
- A. 19 ns
- B. 20 ns
- C. 91 ns
- D. 55 ns
उत्तर: B. औसत = 0.9 × 10 + 0.1 × (10 + 100) = 9 + 11 = 20 ns। 19 ns तब आता है जब मिस की लागत गलती से केवल 100 ns ली जाए, मानो दोनों मेमोरी में एक साथ खोज होती हो।
More Computer Awareness questions
- In the fetch phase of an instruction cycle, which register-to-register transfer happens first?
- A processor has a 20-bit address bus, and its memory is word-addressable with 16-bit (2-byte) words. What is the maximum memory it can…
- A system uses 32-bit virtual addresses and a page size of 4 KB. How many bits of the address form the page number and how many the offset…
- Which of the following is NOT one of the four conditions that must all hold for a deadlock to occur?
- Three processes arrive at time 0 in the order P1 (burst 10 ms), P2 (burst 4 ms) and P3 (burst 2 ms). By how much does the average waiting…
- In a STUDENT table, both RollNo and Email can uniquely identify every row. The designer chooses RollNo as the primary key. What is Email…