Question: MCQs 1. Data memory size is 256 KiB and direct mapped cache size is 8 KiB. What is the number of index bits? (a) 5

 MCQs 1. Data memory size is 256 KiB and direct mapped

MCQs 1. Data memory size is 256 KiB and direct mapped cache size is 8 KiB. What is the number of index bits? (a) 5 bits (b) 31 bits (c) 25 bits (d) 26 bits 2. Which memory is the farthest from the processor? (a) Cache (b) Main memory (c) Secondary Storage (d) None of the options 3. What is the initial value for the valid bit? (a) 1 (b) 2 (c) 0 (d) 3 4. Direct-mapped cache has 16 entries and the memory address to be mapped is 0010101. What is the index of the cache location? (a) 0110 (b) 1100 (c) 0101 (d) 1101 5. If the program performs 5 memory accesses in the following order: 001, 000, 010, 001, 100 and the cache is initially empty, what would be the hit rate? Activate Windows (a) 10% (c) 25% Go to Settings to activa (b) 15% (d) 20%

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!