PLEASE NOTE: the upgrades to this server,, have not yet been completed.
Hopefully the changes will be completed on THURSDAY 8th December.
Web-based programs, such as csmarks, cssubmit, and the help fora, will be unavailable at some time on Thursday 8th.
  It's UWAweek 49


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 919 articles.
Currently 5 other people reading this forum.

 UWA week 34 (2nd semester, week 5) ↓
SVG not supported

Login to reply

5:19am Tue 23rd Aug, Christopher M.

Someone sent these questions by email - please post here, rather than emailing them to me.
> 1. Can we assume that all line in crontab-file that doesn't start up with the comment sign '#' will all have a format like '* * * * * command', or do we need to expect invalid/illegal command lines in the test case? > 2. And similar to crontab-file, are all lines gonna look like 'command number' style and lines with #. Or do we need to expect invalid/illegal estimation lines in the test case? > 3. Besides, you mentioned in the project script that these estimated numbers are from the previous month's performance so Can I Assume That ALL Numbers Are Positive integers? > 4. So can we take everything that is mentioned in 'Project requirements and fine-print' (lines 3, 5, 7) as a precondition or they are all something we need to check on?
You should assume that the 2 input files are created/typed-in by humans, and humans often make mistakes. You should report as an error any non-comment line that has an incorrect number of columns/words, or has non-sensical values. Specifications such as 'max command names: 20' and 'max processes: 20' are given so that this project doesn't require dynamic memory allocation.
> 5. I want to ask if we can use a header file?
No; for this 1st project you're asked to submit just a single C source-code file (understood, not desirable). We'll certainly employ multiple header- and source-code files in the 2nd project. (though do whatever you like while developing your project; just submit it to meet the requirements)

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  1:17AM Sep 14 2022
Privacy policy