It's UWAweek 42 (2nd semester, week 12)

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.
Displaying the 2 articles in this topic
Showing 2 of 688 articles.
Currently 2 other people reading this forum.


 UWA week 40 (2nd semester, week 10) ↓
SVG not supported

Login to reply

👍?
helpful
8:05pm Tue 1st Oct, Joshua N.

ANONYMOUS wrote:
> Hi, if there are only 5 integers in the in.txt, should I set my last 6 entries in out.txt to something like Empty? Also, is the format of out.txt defined? Or can I stylize it anyway I want? > > Eg > > in.txt: > 0 1 2 3 0 > out.txt: > > Process 0: 0, 4, 99, 99 > Process 1: 1, 99, 99, 99 > Process 2: 2, 99, 99, 99 > Process 3: 3, 99, 99, 99 > RAM Contents: > 0,0,0; 0,0,0; 1,0,1; 1,0,1; 2,0,2; 2,0,2; 3,0,3; 3,0,3; 0,1,4; 0,1,4; Empty; Empty; Empty; Empty; Empty; Empty;
Also, I should mention the contents of RAM I did was incorrect. The first digit should represent the process and the second should represent the page but I accidently did it the wrong way around.


SVG not supported

Login to reply

👍?
helpful
8:15pm Wed 2nd Oct, Joshua N.

I'll just change the output to avoid confusion. Shame there is no edit option on the forum: 0 99 99 99 1 99 99 99 2 99 99 99 3 99 99 99 0,0,0;0,0,0;1,0,1;1,0,1;2,0,2;2,0,2;3,0,3;3,0,3;Empty;Empty;Empty;Empty;Empty;Empty;Empty;Empty;

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