It's UWAweek 47

help2002

This forum is provided to promote discussion amongst students enrolled in CITS2002 Systems Programming.
Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.
10 articles posted by this person
Showing 10 of 830 articles.
Currently 1 other person reading this forum.


 UWA week 42 (2nd semester, week 12) ↓
SVG not supported 11:40am Wed 16th Oct, Kristiaan M.

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?


SVG not supported 11:05am Wed 16th Oct, Kristiaan M.

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...


 UWA week 41 (2nd semester, week 11) ↓
SVG not supported 11:39am Tue 8th Oct, Kristiaan M.

before receiving input the project specifications say "We have a computer whose RAM is an array of size 16. It is an array of pointers. There are 8 page frames in the RAM, each consisting of two contiguous locations in the array. Hence, the page size o...


SVG not supported 12:25pm Mon 7th Oct, Kristiaan M.

page process id,page num,time before input RAM pages 0,0,0 , 0,1,0 , 0,2,0 , 0,3,0 , 1,4,0 , 1,5,0 , 1,6,0 , 1,7,0 DISC pages 0,99,0 , 0,99,0 , 0,99,0 , 0,99,0 , 1,99,0 , 1,99,0 , 1,99,0 , 1,99,0 , 2,99,0 , 2,99,0 , 2,99,0 , 2,99,0 , 3,99,0 , 3...


SVG not supported 10:37am Mon 7th Oct, Kristiaan M.

the way I understand the project is that it starts loaded in with the first 2 processes (page numbers 0-7) but because there are 16 pages in disc there is also a copy of process 0 and 1 in disc so instruction 0 bring in least recently used page into R...


 UWA week 40 (2nd semester, week 10) ↓
SVG not supported 11:05am Thu 3rd Oct, Kristiaan M.

so if the RAM has page numbers 0-7 from processes 0 and 1 all initially time step 0, and the disc has processes 2-3, and we receive the instruction '0' there is nothing to move in from the disc as all of process 0 is in RAM. We need to evict the first...


SVG not supported 11:56am Wed 2nd Oct, Kristiaan M.

yes that's the page table, with corrected indexes it looks like this process 0 0,1,2,3 process 1; 4,5,6,7 process 2 99,99,99,99 process 3 99,99,99,99 process 0 and 1 are loaded into ram with values 0-7 but now there is a new issue with instruction '0' '...


SVG not supported 1:23am Wed 2nd Oct, Kristiaan M.

Ok that makes sense, RAM and DISC are the values of the page table of the currently loaded processes so RAM 0,1,2,3,4,5,6,7 DISK 99,99,99,99,99,99,99,99 instruction 3 RAM 0- 99 (evicting process 1 (value 0) and replacing with process 3 (value 99)),1,2,...


SVG not supported 1:36pm Tue 1st Oct, Kristiaan M.

Hi, if we load the page frames in sorted by page num the memory looks like this process 1 0,1,2,3 process 2 4,5,6,7 process 3 99,99,99,99 process 4 99,99,99,99 RAM 0,1,2,3,4,5,6,7 DISK 99,99,99,99,99,99,99 but if we get the instruction '3' there is no...


 UWA week 39 (2nd semester, week 9) ↓
SVG not supported 8:47am Fri 27th Sep, Kristiaan M.

i'm seeking a 2nd project partner, my email is 24312743

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  8:08AM Aug 25 2024
Privacy policy