Neco 2023 Computer Studies Question 2

Practice essay / theory question 2 from the 2023 Neco Computer Studies examination. This question covers Computer Hardware .

Neco 2023 Computer Studies Essay / Theory
Topic: Computer Hardware
Question 2 NECO • 2023 • COMPUTER_STUDIES • essay

A computer system has the following specifications: - CPU clock speed: 3.2 GHz - Cache hierarchy: L1 = 64 KB (access time 1 ns, hit rate 95 %), L2 = 256 KB (access time 4 ns, hit rate 85 %), L3 = 8 MB (access time 12 ns, hit rate 70 %) - Main memory: 16 GB (access time 120 ns) - The program to be executed consists of 2.5 million instructions. Each instruction, on average, requires one data reference. Assume the CPU can execute one instruction per clock cycle when the required data is found in L1; otherwise it must wait for the data to be fetched from the next level. Answer the following: (a) Calculate the average memory access time (AMAT) for a data reference. (b) Determine the total number of CPU cycles lost because of cache misses. (c) Compute the total execution time of the program in seconds. (d) If the L2 hit rate is improved to 90 % (all other parameters unchanged), recalculate the execution time and state the percentage reduction obtained.

Question Parts

( a )
Calculate the average memory access time (AMAT) for a data reference.
( b )
Determine the total number of CPU cycles lost because of cache misses.
( c )
Compute the total execution time of the program in seconds.
( d )
If the L2 hit rate is improved to 90 %, recalculate the execution time and state the percentage reduction obtained.

Detailed Solution & Marking Scheme

Get the step-by-step solution, key points required by examiners and detailed marking guidance through the Edcrib AI Tutor.

Reveal Answer

About This Question

This is Neco 2023 Computer Studies Question 2. It is one of the essay questions from the 2023 Neco Computer Studies examination.

The question covers Computer Hardware .

Master the Exam!

You've seen a preview, but there are thousands more questions plus AI tutor to break down complex solutions.

Unlock Full Access Available for Android & Windows
Chat with Support