Answer the following statements true (T) or false (F)
1. The principle of locality reflects the observation that memory references by the processor tend to cluster for instructions but not for data.
2. One of the assertions that locality is based on is that during any interval of time, a program references memory locations non-uniformly.
3. Locality is based on the assertion that the correlation between immediate past and immediate future memory reference patterns is low, and increases as the time interval increases.
4. Intuitively, the principle of locality makes sense.
1. F
2. T
3. F
4. T
You might also like to view...
What is the output of the following code?
int list[5] = {4, 7, 5, 3, 0}; int x = 3; list[x] = list[2 * x – 4]; list[x+1] += 6; list[x-1] = list[x-2]; cout << list[1] << list[2] << list[3] << list[4];
Given the statement outFile.open("yourAnswers.txt”); and the output file yourAnswers.txt already exist …
A. The file object is placed into the fail state. B. A warning message will be printed and any output sent to the file will overwrite the existing information in the file, C. No warning or error message is printed and any output sent to the file will overwrite the existing information in the file. D. Any information sent to the file will be appended to the existing information in the file.