Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2026 Crash Course
NEET 2026 Crash Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
564 views
in Computer by (41.3k points)
closed by

A computer has a 256 KByte, 4-way set associative, write back data cache with block size of 32 Bytes. The processor sends 32 bit addresses to the cache controller. Each cache tag directory entry contains, in addition to address tag, 2 valid bits, 1 modified bit and 1 replacement bit.

The number of bits in the tag field of an address is 

(A) 11 

(B) 14 

(C) 16 

(D) 27

1 Answer

+1 vote
by (44.8k points)
selected by
 
Best answer

 (C) 16

Number of blocks = \(\frac{256KB}{32Bytes}\) = \(\frac{2^{18}}{2^5}\) = 213blocks

As it is 4- way set associative, number of sets = \(\frac{2^{13}}{2^2}=2^{11}\)

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...