It's UWAweek 48

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.
Showing 20 of 834 articles
Showing page 7 of 42⬅ older  |  newer ⮕
Currently no other people reading this forum.


 UWA week 42 (2nd semester, week 12) ↓
SVG not supported 7:35pm Wed 16th Oct, ANONYMOUS

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


SVG not supported 7:33pm Wed 16th Oct, ANONYMOUS

Read your emails.


SVG not supported 7:00pm Wed 16th Oct, ANONYMOUS

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?


SVG not supported 4:41pm Wed 16th Oct, ANONYMOUS

sorry I was mistakenly looking at another tread and just thought to post new one cause i thought missed the question in first one


SVG not supported 4:37pm Wed 16th Oct, ANONYMOUS

I meant this sorry 0 2 4 6 8 14 99 99 99 99 10 99 99 99 12 99


SVG not supported 4:35pm Wed 16th Oct, ANONYMOUS

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?


SVG not supported 4:30pm Wed 16th Oct, ANONYMOUS

If we do it with a partner only one of us need to submit right?


SVG not supported 4:18pm Wed 16th Oct, ANONYMOUS

Are we allowed to submit an assumptions.txt along with our code for this project? Thanks.


SVG not supported 4:01pm Wed 16th Oct, Harrison L.

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


SVG not supported 4:00pm Wed 16th Oct, Harrison L.

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


SVG not supported 1:32pm Wed 16th Oct, ANONYMOUS

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.


SVG not supported 1:20pm Wed 16th Oct, ANONYMOUS

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


SVG not supported 1:16pm Wed 16th Oct, ANONYMOUS

Are you assuming time stamp increases when you ignore a page? Our output is 0, 1, 2, 3 4, 7, 99, 99 99, 99, 5, 99 99, 99, 6, 99 0,0,0; 0,0,0; 0,1,1; 0,1,1; 0,2,2; 0,2,2; 0,3,3; 0,3,3; 1,0,4; 1,0,4; 2,2,11; 2,2,11; 3,2,10; 3,2,10; 1,1,7; 1,1,7; Cheers


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:12am Wed 16th Oct, Joshua N.

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


SVG not supported 11:06am Wed 16th Oct, Joshua N.

Since the size of the RAM, page table and Virtual memory is static, you can use static arrays.


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


SVG not supported 10:29am Wed 16th Oct, Shuai S.

Thanks Also one more question, should we must use the dynamic memory to solve project2? As I used static arrays to do it


SVG not supported 10:21am Wed 16th Oct, Joshua N.

Yes.


SVG not supported 10:02am Wed 16th Oct, ANONYMOUS

Hi, just to confirm, we only submit one file which is the simulation.c file and not the compiled executable? Thanks

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