Machine-translated by Google. Questions are authored in English.
Top

Memory Hierarchy Questions and Answers

11.

Cached and interleaved memories are ways of speeding up memory access between CPU's and slower RAM. Which memory models are best suited (i.e. improves the performance most) for which programs ?

(i) Cached memory is best suited for small loops.
(ii) Interleaved memory is best suited for small loops
(iii) Interleaved memory is best suited for large sequential code.
(iv) Cached memory is best suited for large sequential code.

Exam Year(s)

UGC NET - 2012,

Answer: B

Statements (i) and (iii) are true, so the answer is (B).

A cache holds recently used words, and a small loop uses the same instructions again and again, so it runs from the cache and gains most from it (i). Interleaved memory spreads consecutive addresses across several memory banks, which can be read at the same time, so long runs of sequential code are fetched faster (iii). Statements (ii) and (iv) swap the two, and are not true, because a small loop gains little from interleaving and long sequential code is not served well by a small cache.

Please log in or register to report this question.

12.

Serial access memories are useful in applications where

Exam Year(s)

UGC NET - 2013,

Answer: D

The key is "None of these". Serial access memories, such as shift registers and tapes, are useful when information is processed in order and every stored word is handled in the same way. They are not suited to uses where data is only numbers (any memory can hold numbers), nor where short access time is needed, since reaching a word means stepping through the earlier ones, nor where each word is handled differently.

Each of the other three options therefore fails, leaving the fourth.

Please log in or register to report this question.

Loading…
Tags: Memory Hierarchy Questions and Answers || Memory Hierarchy MCQ Questions and Answers || Memory Hierarchy GK Questions and Answers || Memory Hierarchy GK MCQ Questions || Memory Hierarchy Multiple Choice Questions and Answers || Memory Hierarchy GK || GK on Memory Hierarchy || Computer Organization and Architecture Questions and Answers || Computer Organization and Architecture MCQ Questions and Answers || Computer Organization and Architecture GK Questions and Answers || GK on Computer Organization and Architecture