LIVE Course for free

Rated by 1 million+ students
Get app now
JEE MAIN 2023
JEE MAIN 2023 TEST SERIES
NEET 2023 TEST SERIES
NEET 2023
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
285 views
in Computer by (41.6k points)
closed by
Given that the main memory access time is 1200 ns and cache access time is 100 ns. The average memory access time is not to exceed 120 ns. The hit ratio for the cache must be at least
1. 90%
2. 98%
3. 80%
4. 75%

1 Answer

0 votes
by (30.0k points)
selected by
 
Best answer
Correct Answer - Option 2 : 98%

Concept:

The average memory access time is given by:

Average memory access time = Hit ratio × access time in cache memory + (1 – Hit ratio) × Access time in main memory

Calculation:

Given:

Hit ratio = ? (Let it be h)

Main memory access time = 1200 ns

Cache memory access time = 100 ns

Average memory access time = 120 ns

So, 120 = h × 100 + (1 – h) 1200

120 = 100 h + 1200 – 1200 h

1100 h = 1080

\(h = \frac{{1080}}{{1100}} = 0.9818\) 

Hit ratio = 98%

Related questions

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...