It's UWAweek 48


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 3 other people reading this forum.

 UWA week 35 (2nd semester, week 6) ↓
SVG not supported

Login to reply

12:56pm Mon 29th Aug, Christopher M.

Hello Juliana, "Juliana Salazar Franco" <23*6*4*[email protected]*u*e*t*u*a*e*u*a*> wrote:
> 1. considering the days of the week in cron syntax can be numbered (1-7) or abrivitations (mon-sun), should we choose either or do we have to assign each int value to the char value?
I got a bit lost by the last part of your question, but the 3-letter abbreviations have a clear mapping to an integer representation - 0=sun...6=sat - so why not use an integer to hold the weekday number?
> > 2. does the cron syntax account for capital letters in the task description section? > for example: > 30 13 31 1 * REMINDER_renew_course_enrollment-execute
Lowercase only for weekdays and names of months, but command names can consist of any characters (except whitespace).
> 3. from the project specifications: > "7. At most 20 processes will ever be executing at the same time (during the same minute), and multiple instances of the same command may run at the same time." > ^^^ does this mean that the answer to one of the three values that are going to be printed at the end of the program will always be 20?
Not always 20, because it says *At most 20*, telling you what the maximum (possible) will be. Try it on the sample solution.

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