UGC NET Paper 2 (Computer Science)Very hard
A cache is 64 KB in total, 2-way set associative, with 32-byte blocks and a 32-bit address. The number of tag bits is:
- A. 17
- B. 15
- C. 16
- D. 19
Correct answer: A. 17
Sets = 65536/(2 x 32) = 1024, so the index is log2(1024) = 10 bits and the offset is log2(32) = 5 bits, leaving 32 - 10 - 5 = 17 tag bits.
Practise more UGC NET Computer Science and Applications questionsUGC NET Computer Science and Applications: notes and key points
More UGC NET Computer Science and Applications questions
- Function Point Analysis estimates software size primarily by:
- In the Capability Maturity Model (CMM), the level at which software processes are characterised as ad hoc, and sometimes chaotic, with…
- Consider. I. For an LL(1) grammar, the FIRST sets of a nonterminal's alternative productions must be pairwise disjoint. II. If one…
- For the basic block t1 = a + b; t2 = t1 c; t3 = a + b; t4 = t3 - t2, after building a DAG and eliminating common sub-expressions, the…
- Solve the recurrence relation given by T(n) = 2T(n/2) + n log n, assuming n is a power of 2, for its asymptotic (Theta) bound.
- The recurrence T(n) = 2T(n/2) + n/log n has the solution: