Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need help with the following questions 3) Which of the following are arguments

ID: 3797941 • Letter: I

Question

I need help with the following questions

3) Which of the following are arguments for the locality principle as it pertains to caching? (select all correct answers)

a. If a piece of data has just been accessed it is likely to be accessed again soon.

b. The larger the cache, the longer the cache lookup times

c. An algorithm heavily utilizes branch instructions

d. It is just as expensive to read in 1 byte into cache as it is to read in 4 bytes

e. My loop accesses one more byte than the size of my cache

6) Which of the following are arguments for having a variable number of tracks per sector? (select all correct answers)

a.The disk would be able to hold more data

b. Data from the inner tracks could potentially be read more quickly

c. Data from the outer tracks could potentially be read more quickly

d. The algorithm for determining the cylinder, track and sector would be simplified

e.It reduces fragmentation

Please help this assignment is due soon

Explanation / Answer

3) Correct answer is a

It is called temporal locality, it means a resource that is accessed once is referenced again soon afterwards.

6) Correct answer is d

In this case data from outer tracks could potentially be read more quickly