Consider a cache with 40 bit address 16384 blocks and block size is 256 byte Tags are 19 bit long. How many sets are there and what is the associating of a cache ?
Asked in RPSC 23Feb 2016Question Paper for VicePrincipal/Superintendent ITI Screening Test 2012(Computer Science)VICE PRINCIPAL/SUPDT. ITI - 2012
Show answer
Answer: A. 1024 sets, 8 way set associative
More RPSC Prelims previous year questions questions
- What is the address of the operand in a computation-type instruction:-
- What does the following C-statement declare? int ( * f) (int *) ;
- A program P reads in 500 integers in the range [0,100] representing the scores of 500 students. It then prints the frequency of each score above 50. What would be the best way for P to store the frequencies?
- What is the output of following program? # include <stdio.h> void fun(int x) { x = 30; } int main() { int y = 20; fun(y); printf("%d", y); return 0; }
- In below program, what would you put in place of “?” to print “Quiz”? #include <stdio.h> int main() { chararr[] = "GatesQuiz"; printf("%s", ?); return 0; }
- The reason for using pointers in a C-program is
- Consider the following two C lines: int var1; externint var2; Which of the following statements is correct?
- What is the output of the following program ? #include <stdio.h> int main() { int i; for (i = 1; i != 10; i += 2) printf (" GatesQuiz "); return 0; }