GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2020

GATE 2020 · CS · MCQ · 2 marks · Computer Organization and Architecture › Cache Memory

GATE 2020 Computer Science and Information Technology question: A computer system with a word length of 32 bits has a 16 MB byte-addressable main memory…

A computer system with a word length of 32 bits has a 16 MB byte-addressable main memory and a 64 KB, 4-way set associative cache memory with a block size of 256 bytes. Consider the following four physical addresses represented in hexadecimal notation.

A1 = 0x42C8A4, A2 = 0x546888, A3 = 0x6A289C, A4 = 0x5E4880

Which one of the following is TRUE?

  1. (A)

    A1 and A4 are mapped to different cache sets.

  2. (B)

    A2 and A3 are mapped to the same cache set.

  3. (C)

    A3 and A4 are mapped to the same cache set.

  4. (D)

    A1 and A3 are mapped to the same cache set.

Show answer

Official answer: B

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion