...
Question 11185 – Algorithms
November 5, 2023
Nielit Scientist-B 17-12-2017
November 5, 2023
Question 11185 – Algorithms
November 5, 2023
Nielit Scientist-B 17-12-2017
November 5, 2023

Question 1790 – Nielit Scientist-B 17-12-2017

In a cache memory if total number of sets are ‘s’, then the set offset is:

Correct Answer: B

Question 4 Explanation: 
If S is the number of sets in our cache, then the set index has s=log2 S bits.
→ Note that in a fully-associative cache, there is only 1 set so the set index will not exist. The remaining bits are used for the tag.
→ If ℓ is the length of the address (in bits), then the number of tag bits is t = ℓ − b − s.
A
28
B
log2s
C
s2
D
s

Leave a Reply

Your email address will not be published. Required fields are marked *