It's UWAweek 44 (2nd semester, 1st exam week)

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 selected article
Showing 1 of 820 articles.
Currently 7 other people reading this forum.


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

Login to reply

👍?
helpful
8:03pm 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;
There is a specific format. Pretty much the one I provided. Except for the empty sections of the RAM because it isn't specified in the spec what should be printed if RAM is empty. Amitava would have to clarify.

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