1. 1. Briefly explain the basic functional units of a computer.
2. 2.Explain the connections between the processor and the main memory
3. 3.Lists seven system software functions.
4. 4.A processor cache as shown below is used in most computers to reduce program execution time. Suppose that execution time for a program is directly propotional to instruction access time, and that access to an instruction in the cache is six time faster than access to an instruction in the main memory. Assume that an instruction is found in the cache with probability 0.9, and also assume that if ann instruction is not found in the cache and it must first be fetched form the main memory to the cache and then fetched from the cache to be executed. Compute the ration of a program execution time without the cache to program execution time with the cache. This ratio is usually defined as the speedup factor resulting from the presence of the cache.
5. 5.If the size of a cache is double, assume that the probability of not finding a requested instruction there is cut in half. Repeat question 4 for a double cache.
No comments:
Post a Comment