The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
0 votes
Consider a cache of size 64 bytes, with block size 16 bytes and main memory is divided into blocks of 16 bytes each i.e. block 0 has address 0 to 15 so on. Consider the following program that access memory in given sequence:

1.Access address 63 through 70

2.Loop i) 15 through 32,

           ii) 80 through 95

            jump to Loop

If cache is organized as direct cache and loop is accessed 10 times, then the hit ratio is ________.
(Assume line 0 contain address 0, 4, 8 etc. and line 1 contain address 1, 5, 7 etc. and so on.) [Upto 2 decimal places]
asked in CO & Architecture by (227 points) | 10 views
Can you share the answer for this?

Please log in or register to answer this question.

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

38,203 questions
45,703 answers
49,752 users