Adding to this to show how it'd look if you chose to ignore it instead of pushing
99, 1, 2, 3
99, 99, 4, 5
99, 99, 6, 7
99, 0, 99, 99
3,1,10; 3,1,10; 0,1,1; 0,1,1; 0,2,2; 0,2,2; 0,3,3; 0,3,3; 1,2,13; 1,2,13; 1,3,14; 1,3,14; 2,2,11; 2,2,11; 2,3,12; 2,3,12...
You can write is as an assumption that it will always be named that. This is a simple project so I doubt they'd check it. But a good practice is to not hard code it but instead let it work with any names. Hope this helps
ANONYMOUS wrote
As Amitava said in his clarification email "(1) What happens if all the pages of a process are already in memory and the process id appears again in the input. You can handle this one of two ways, either you can ignore it, or 'bring' ...
I have emailed Amitava this and he says it doesn't matter how you put it (99, 99, 0 or Empty, Empty, 0 or Empty, Empty, Empty) just put it under your assumptions as comments at the very top of your code
His exact response is "Yes, you can choose your ...
I don't think it matters, as long as it is obvious that it is page table RAM content. Also you should clarify for your project, you chose to load the process to RAM again instead of ignoring it. Below is how it'll look like if it was ignored
in.txt
0...
Amitava has already mentioned multiple times during multiple lectures that there will be no code writing questions. At most he will give a code snipet and we will have to explain it. Please watch his lectures, it is actually useful
I see So when we remove it from RAM we just remove the pointer to it in the RAM while the pointer in the Virtual Memory never changes?
And yes, I was asking if they were separate arrays. Thanks for the help Joshua
Hi there Just a few questions to clarify if I'm understanding correctly
1.
From an earlier forum question it is stated that
https secure.csse.uwa.edu.au run help2002?p np opt U557
in.txt
0 1 2 3 0 1 2 3 0 1 2 3
out.txt
99, 4, 0, 99
99, 5, 1, 99
99, 6, 2, ...
Hi there Just wanted to make sure what the method of submitting the project will be for the second project. If it is done in groups of 2, will only one of the members need to submit it ? Thanks
In one of the other help questions it was stated that
HI am a little confused as to why it'll be arg0, arg1, ... as in the project "The goal of this project is to implement a C11 program, named runml, which accepts a single command-line argument provi...
Not sure if I am correct but the reason why B (int x 2 10;;) is because it would take the second semicolon as an empty statement so it'll be read as
int x 2 10;
;
which would not affect the program itself but will just look weird and isn't good ...
Not OP but would it be because it depends on the bits (i.e. 32-bit or 64-bit) where 32-bit is 4 bytes per integer but something like 16-bit will give 2 bits so it'll be value of 200.
That's why the answer is B. Because the value byte of each object i...
I just watched the lecture today and heard the mention of mid-sem exam with 20MCQ. I'd just like to ask what topics it will cover. Will it only be lectures or will it include workshops and labs (I saw one of the other help questions where it was ment...
Hi I was watching the workshop recording for today and about the 9minute mark, the audio cut off. I was wondering if anyone else is experiencing this and if there is any backup recording for this? Thanks