The Gateway to Computer Science Excellence

ME TEST [closed]

0 votes
84 views

Consider Prof. Vamshi‘s writes a program given below and run on system which has 2-way set associative 16 KB data cache with 32 bytes block where each word size is 32 bits and LRU replacement policy used. If base address of array 'a‘ is 0x0 and initially cache is empty then the number of data cache misses are there ______ 
(Assume integer takes 4 bytes.)

int i, a[1024 * 1024], x = 0;
for (i= 0; i < 1024; i++)
        x + = a[i] + a[1024* i];

what will be the physical memory size here?and how many bits should we assign for physical memory addressing?

in CO and Architecture by Active (1.7k points)
closed by | 84 views
0

@Shaik Masthan plz help!

0
it is duplicate

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,833 questions
57,723 answers
199,444 comments
107,798 users