Computer Science EngineeringVery hardISRO SC
A direct-mapped cache has 4 lines of one word each. Word addresses 24, 28, 14, 5, 14, 20, 24, 15, 7, 9, 13, 23, 17, 8 are accessed in order on an initially empty cache. The number of hits is
- A. 2
- B. 3
- C. 0
- D. 1
Correct answer: D. 1
Line = address mod 4; a hit occurs only when the same address is still resident in its line. Simulation gives 1 hits.
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 executes 100 instructions. A fraction 0.25 of instructions each cause 2 stall cycles; no other hazards. Total cycles…
- By Amdahl's law, if 40% of a program's execution time is sped up 10 times and the rest is unchanged, the overall speed-up is
- For host 172.16.77.201/21, the broadcast address of its subnet is
- For host 10.200.3.4/11, the broadcast address of its subnet is
- An organisation with block 192.168.1.0/24 uses VLSM to serve LANs needing 60, 30, 12, 5 hosts (usable addresses). What is the smallest…
- A stop-and-wait link has bandwidth 10 Mbps, frame size 1500 bytes, and round-trip propagation delay 50 ms (ack transmission time ignored)…