>
Exams
>
Computer Science & Information Technology
>
Computer Organization and Architecture
>
the main memory of the system consists of 16 mb th
Question:
The main memory of the system consists of 16 MB, the cache memory can hold 64 KB and data is transferred in blocks of 4 bytes each. What is the tag size in main memory address for direct mapping cache?
Show Hint
Tag bits = (main memory address bits – (index bits + block offset bits))
TS PGECET - 2024
TS PGECET
Updated On:
May 26, 2025
10
8
14
24
Hide Solution
Verified By Collegedunia
The Correct Option is
B
Solution and Explanation
Total main memory = \(2^{24}\) bytes (16 MB), block size = 4 bytes ⇒ number of blocks = \(2^{24}/2^2 = 2^{22}\) blocks.
Cache size = 64 KB = \(2^{16}\) bytes ⇒ number of lines = \(2^{16}/2^2 = 2^{14}\)
Tag bits = Total block address bits – cache index bits = \(22 - 14 = 8\)
Download Solution in PDF
Was this answer helpful?
0
0
Top Questions on Computer Organization and Architecture
A certain processor uses a fully associative cache of size 16 kB. The cache block size is 16 bytes. Assume that the main memory is byte addressable and uses a 32-bit address. How many bits are required for the Tag and the Index fields respectively in the addresses generated by the processor?
GATE CS - 2026
Computer Science & Information Technology
Computer Organization and Architecture
View Solution
Consider $Z = X - Y$, where $X$, $Y$ and $Z$ are all in sign-magnitude form. $X$ and $Y$ are each represented in $n$ bits. To avoid overflow, the representation of $Z$ would require a minimum of:
GATE CS - 2026
Computer Science & Information Technology
Computer Organization and Architecture
View Solution
Von Neumann computers belong to which one of the following classes of computers?
OJEE - 2025
Computer Science & Information Technology
Computer Organization and Architecture
View Solution
Which one of the following derivations does a top-down parser use while parsing an input string? The input is assumed to be scanned from left to right.
OJEE - 2025
Computer Science & Information Technology
Computer Organization and Architecture
View Solution
Which one of the following is an important advantage of the DMA mode of data transfer over programmed data transfer?
OJEE - 2025
Computer Science & Information Technology
Computer Organization and Architecture
View Solution
View More Questions
Questions Asked in TS PGECET exam
Which of the following correctly describes the TCP/IP model?
TS PGECET - 2025
Computer Networks
View Solution
In which year was the Earth Summit (Rio Conference) held?
TS PGECET - 2025
Environmental pollution
View Solution
A bag contains 3 red and 2 blue balls. Two balls are drawn without replacement. What is the probability that both are red?
TS PGECET - 2025
Probability
View Solution
Which of the following techniques is primarily used for the synthesis of carbon nanotubes?
TS PGECET - 2025
Strength of Materials
View Solution
Which of the following materials exhibits superparamagnetism at the nanoscale?
TS PGECET - 2025
Strength of Materials
View Solution
View More Questions