Thank you for your reply, I'd like to ask why there'd be 2 14 secondary page tables instead of the size of secondary page table being 2 14.
As I understand, primary page table will hold the address to a single secondary page table. Perhaps I'm mistak...
Hello, I am reposting my question as it seems my question has been missed. Could someone please clarify or help with my understanding please? The question is below
Hi all I'm currently on Past Exam 2021 Question 5. I'm wondering if for
"""
A computer ...
Hello, I am reposting my question as it seems my question has been missed. Could someone please clarify or help with my understanding please? The question is below
Hi all I'm currently on Past Exam 2021 Question 5. I'm wondering if for
"""
A computer ...
Hi all I'm currently on Past Exam 2021 Question 5. I'm wondering if for
"""
A computer system employing 32-bit addresses implements virtual memory
using a two-level page table.
The right-most 10 bits of each virtual address are used to specify the requ...
ANONYMOUS wrote
From my understanding, file descriptors are low-level system calls USUALLY handled by the operating system that returns a single int which represents the currently opened file. Remember that C is a program that is used to contact dir...
ANONYMOUS wrote
Email Amitava "ami a a d t a u a e u a " a e l w l v l s s e a l S A L a d e y t e o e a i g s s e h t r t r s a s n l n h c e r s n s t e c r e t y o e e i e e e b r t a s a p o r m t a s u e o c n a t d r...
ANONYMOUS wrote
I'd assume in questions like those where it can be either or. It is important to state our assumption when the question is ambiguous. Amitava doesn't want specific correct answers where it is as precise as possible but rather want us ...
As stated on StudentConenct "1 x double-sided A4 page of notes - handwritten only"
No Code WRITING will be asked but coding questions are still asked where code is given where we need to debug explain.
Similar to above, shouldn't require anymore than ...
ANONYMOUS wrote
"Involving code" means the code will be given and we'll have to either debug explain the code given to us. NO CODE WRITING is necessary. (Look at literally any last 4 lectures and you can find Amitava stating this over and over)
That i...
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
ANONYMOUS wrote
It is incorrect, the first 1 will be loaded at time 4 (for both ignore and not) while the second 1 will be loaded at time 7 if you ignore and 9 if you don't.
ANONYMOUS wrote
These are correct. C
Clarification for if anyone else looks at this. OP has decided to ignore calls if all has been loaded. It would look different if you chose to load it again.
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