Will our submissions be manually marked, or will the output.txt be automatically marked against a reference solution?
Under clarification 1 we are allowed to either ignore a process id if all of the pages are in RAM or we can bring in the 0th page. The RAM content output of the simulation will be different.
For in.txt:
1 1 1 1 1 2 0 …..
The RAM content line in out.txt will when ignoring the 5th page of process 1 will be:
… 1, 3, 3; 1, 3, 3; 2, 0, 5; 2, 0, 5; 0, 0, 6; 0, 0, 6; … etc.
But if you were to bring in the 0th page again it would be
… 1, 3, 3; 1, 3, 3; 1, 0, 4; 1, 0, 4; 2, 0, 5; 2, 0, 5; 0, 0, 6; 0, 0, 6; … etc.
Automatic marking would mark one of these incorrectly even though both are correct against the new clarifications.
Note this is assuming that time_stamp increases when you ignore a process_id - not sure if this is a valid assumption??
If you are ignoring the input the time stamp wouldn't increase since you aren't loading it into RAM.
I'm not sure how project 2 will be marked. You would have to ask Amitava to know for certain. Projects are usually automatically marked.