• edited by
1,254 views
0 0 votes

Consider an array A[100] and each element occupies 4 word a 32-word cache is used and divided into an 8-word block

  1. What is the hit ratio for

              for(i=0;i<100;i++)

                        x=A[i]+100;

  1. No of time block 0 is modified.

Please log in or register to answer this question.

Position:
Show:

Related questions

0 0 votes
0 0 answers
1.7k
1.7k views
Gate Fever asked Dec 22, 2018
1,718 views
consider prof vamshi writes a program given below and runs on a system which has 2 way set associative cache 16KB data cache with 32B block where each word is 32bits and ...
2 2 votes
1 1 answer
1.5k
1.5k views
aashish1406 asked Aug 9, 2023
1,460 views
You are given an array of elements where each array element represents the MAXIMUM number of jumps that can be made in the forward direction from that element. Now, consi...
1 1 vote
1 answers 1 answer
1.0k
1.0k views
Anmol pratap singh asked Jul 8, 2023
1,008 views
Q. 4 Consider the 2 dimensional array. A $[-8 \ldots 12$, $-4 \ldots 16]$. Calculate the address of $A[1,3]$. Assume that it is stored in a row major order. Each element ...
2 2 votes
1 1 answer
2.8k
2.8k views
chandra sai asked Jan 3, 2018
2,839 views
Consider 3 dimensional Array A[90] [30] [40] stored in linear array in column major order. If the base address starts at 10, The location of A [20] [20] [30] is ________....