

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Temporal locality also uses the concept of current data or instruction that is being fetched may be needed soon. Therefore exploits that to performance benefit in a way that when we should store that data or instruction in the cache memory so that we can avoid again searching in main memory for the same data.
The processor does the work of executing these instructions by (1) reading (fetch) the instructions from memory one at a time, and then (2) executing these instructions. The processor then checks to see if any interrupts have occurred, indicated by the presence of an interrupt signal. If no interrupts are pending, the processor proceeds to the fetch cycle and fetches the next instruction on the current program. Program execution halts only when the machine is turned off, some sort of unrecoverable error occurs, or a program instruction that halts the computer is encountered.
The amount of time required to read a block of data from a disk into memory is composed of seek time, rotational latency, and transfer time. Explain each one of them as applied in computer storage indicating their computations. (4 marks)
Seek Time refers to how long it takes the read/ write head on a hard disk to move from one track to another.
Rotational latency refers to the time required for a desired sector of a disk to rotate under the read and write head. It’s usually assumed to be half of rotation time.
Average rotational delay = 0.5 x rotations x rotational speed
Transfer time is the time taken to transfer all the data in the target sector.
Differentiate between various processor types. Would you advice a friend to purchase a 1. Ghz Core 2 Quad processor or 2.4 gigahertz Core 2 Duo Mac based laptop. (4 Marks)