Question

A computer has a 2-way set-associative cache with 8 sets, where each cache line holds 16 bytes of data, and main memory is byte-addressable. How many bits of a memory address are used to select the set index?

A 2 bits
B 3 bits
C 4 bits
D 8 bits
E 16 bits
Practice Next

Hey! Ask a query

🎓
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
  • 200 Questions with Detailed Solutions
  • Section-wise Coverage (GA, English, Quant & Reasoning)