Computer Science EngineeringHard
A direct-mapped cache of 16 KB uses 32-byte blocks. How many bits form the index field?
- A. 8
- B. 9
- C. 10
- D. 5
Correct answer: B. 9
There are 16384/32 = 512 lines, so the index needs log2 512 = 9 bits.
Practise more OS, DBMS, Networks & Computer Architecture (ISRO CS) questionsOS, DBMS, Networks & Computer Architecture (ISRO CS): notes and key points
More OS, DBMS, Networks & Computer Architecture (ISRO CS) questions
- A 5-stage pipeline with no stalls executes 100 instructions. How many clock cycles does it need?
- What is the exponent bias in the IEEE 754 single-precision floating-point format?
- An IPv4 network uses the prefix /22. How many usable host addresses does each such subnet contain?
- Banker's algorithm: Available = (3,3,2); P1 has Allocation (2,0,0) and Max (3,2,2) and P1 can run to completion first. What is the…
- A logical address space has 64 pages of 1 KB each and is mapped onto physical memory of 32 frames. How many bits are in the physical…
- Thrashing in a virtual memory system is mainly caused by