Assume memory access is 10 units of time and disk access is10000 units of time. How much time is required to access thedata?
in case a) the data is found in the memory
in case b) the data isn’t found in the memory
Answer
a) Since the data is found in memory, the access time is 10units of time.
b) In order to determine if data is present in memory, firstmemory is accessed in 10 units of time. In case absent, disc accesstakes 10000 units of time. Hence. total time is 10010 units oftime.