Question
Consider a 4-way set associative cache consisting of
128 lines with a line size of 64 words. The CPU generates a 20-bit address of a word in main memory. The number of bits in the TAG, LINE and WORD fields are respectively:Solution
The number of sets = 128/4 = 32 (as it is 4 way set associative) We have total 64 words then we need 6 bits to identify the word So the line offset is 5 bits and the word offset is 6 bits and the TAG = 20-(5+6) =9 bits so it should be 9,5,6 Â
What does the "Model" represent in the MVC architecture?
Consider below arithmetic operation in python and predict the output
X=7.5
Y=2
print(X//Y)
Which scheduling policy may result in high waiting times for long-running jobs?
Which data analytics technique is suitable for handling missing data points in a dataset?
Which device operates at the Data Link Layer of the OSI model?
 Which is the first process launched by the LINUX?
Which protocol is used for secure remote shell access and file transfers?
Which sorting algorithm is known for its best-case time complexity of O(n) when the input is already partially sorted?
C++ follows ___.
Which command is used to delete a file in a Unix/Linux system?