A direct-mapped cache has 128 lines and a block size of 16 bytes. With 16-bit addresses, how many bits form the tag?
Show answerHide answer
Correct answer: (D) 5
Explanation
Offset = 4 bits, line = 7 bits, tag = 16 − 7 − 4 = 5.
Correct answer: (D) 5
Explanation
Offset = 4 bits, line = 7 bits, tag = 16 − 7 − 4 = 5.
This is question 103 of DSSSB TGT Computer Science Full Mock Test 2. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.