Question 11185 – Algorithms
November 5, 2023
Question 1791 – Nielit Scientist-B 17-12-2017
November 5, 2023
Question 11185 – Algorithms
November 5, 2023
Question 1791 – 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
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!