It doesn't matter. As long as the point comes across, write it in your assumptions since most of these are just formatting. As long as it is clear what is what, you'll be fine
is the example output on the project description the correct output for the example in.txt? is
0,0,5; 0,0,5; 2,0,1; 2,0,1; etc. (16 entries)
the correct for the input
0 2 1 3 3 2 2 0 2 1 0 2 3 0?
ANONYMOUS wrote
shouldn't the page table here be
0 2 4 6
8 14 99 99
10 99 99 99
12 99 99 99
because of each page taking up to spaces in RAM, or am I being dumb?
I actually have already implemented it so as that the command-line arguments will be the files taken from written to- is this okay? I assume that it is, as in.txt and out.txt are always passed when calling . simulation
Hi
In the project brief, RAM is printed as
0,0,0; 0,0,0; 1,0,1; 1,0,1; EMPTY,EMPTY,EMPTY; ...
However in many help forum posts, it is listed as
0, 0, 0; 0, 0, 0; 1, 0, 1; 1, 0, 1; EMPTY, EMPTY, EMPTY; ...
In the first, commas do not have a ...
ANONYMOUS wrote
You are correct on that, yes. By not incrementing the time that is the expected output - you should list that as one of your assumptions though, just in case.
Does time stamp increase when you ignore a page? I have seen some conflicting answers on the forum, and would like to confirm before submitting.
For example, if you don't increase time when ignoring a page, output for
0 0 0 0 1 0 0 2 3 1 0 2 3 3 2
wou...
Would this be with using the memory management tools like malloc to create arrays in heap instead of stack and caching variables that get used repeatedly?
With this type of question, you would define and explain the Principle of Referential Locality, then create two scenarios (or examples) that demonstrate how it works and how the OS can use it to improve performance.
Ultimately the question is testing ...
Hi,
as I understand the principle of referential locality it means that memory references are typically close together.
The question asks "With reference to two distinct examples, explain The Principle of Referential Locality, and explain how an operat...