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.

Displaying the 4 articles in this topic
Showing 4 of 919 articles.
Currently 3 other people reading this forum.


 UWA week 36 (2nd semester, mid-semester break) ↓
SVG not supported

Login to reply

👍?
helpful
1:09am Thu 8th Sep, ANONYMOUS

Hi Chris, I have read through posts in the help forum but I just want to seek better clarification on some guaranteed info that will be provided. From my understanding Things that we are guaranteed and do not need to report errors on are: - Both estimate and crontab file will consist of at most 20 non comment lines - Each command line will be at most 100 characters and each command name is at most 40 character long - All commands that are in crontab file will exist in estimate file but there may be commands in estimate file that do not exist in crontab file - All command lines in crontab consists of 6 words separated by white space(s) - All command lines in estimate consists of 2 words separated by white space(s) - At most 20 processes will ever be executing at the same time - If a month or day is provided as char and not number it is guaranteed to be 3 characters and lowercase. (mon, tue,….sun) or (jan, feb….dec) - The month given to us in command line argument is correct at all time (so either is 0-11 or jan-dec) Things that we must report errors from: - If a minute value exceed 59 - If an hour value exceed 23 - If day value exceeds the maximum days in its specified month - If a month value exceed 11 or doesn’t match any of the strings in {jan, feb … dec} - If a day of week value exceed 6 or doesn’t match any of the strings in {mon, tue, … sun) - If number of argument is incorrect ( cmd line argument) - If file doesn’t exist or can’t open file. Please let me know if any of my understanding is a mistake. I apologise in advance, my English isn't very good so I just want to triple check the requirements


SVG not supported

Login to reply

👍?
helpful
1:12am Thu 8th Sep, ANONYMOUS

I am so sorry for the long thread as well


SVG not supported

Login to reply

👍?
helpful
3:52am Thu 8th Sep, Christopher M.

ANONYMOUS wrote: All are correct, except:
> - All command lines in crontab consists of 6 words separated by white space(s)
... *at least 6 words* (as written on project sheet)
> - The month given to us in command line argument is correct at all time (so either is 0-11 or jan-dec)
The above is not guaranteed.
> Things that we must report errors from:
Let me turn this list around, rather than identifying every single thing. If you *know* that something is incorrect, or prevents the program running correctly, why wouldn't you issue an error message?


SVG not supported

Login to reply

👍?
helpful
3:53am Thu 8th Sep, Christopher M.

ANONYMOUS wrote:
> I am so sorry for the long thread as well
Nothing wrong with long thread if it's useful :-)

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