PLEASE NOTE: the upgrades to this server, secure.csse.uwa.edu.au, 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

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 34 (2nd semester, week 5) ↓
SVG not supported

Login to reply

👍?
helpful
8:17pm Mon 22nd Aug, Taylah K.

Hi, I have a couple of small questions. 1. Can the values in the two files be separated by any number of white spaces? i.e. will the distance between the month and the day of the week and the command name remain the same? 2. On a similar note just wanted to double-check we don't assume the layout of the comments in the files to be consistent. Thanks


SVG not supported

Login to reply

👍?
helpful
4:19am Tue 23rd Aug, Christopher M.

Hi Taylah, "Taylah Karran" <23*7*0*[email protected]*u*e*t*u*a*e*u*a*> wrote:
> 1. Can the values in the two files be separated by any number of white spaces?
Yes; I've added 'one-or-more whitespace characters....' to the project description.
> 2. On a similar note just wanted to double-check we don't assume the layout of the comments in the files to be consistent.
Once a line is determined to be a comment-line, the whole line is just ignored, so it has no expected layout. Similarly, the columns/words/fields in command-lines don't have to line up - it just makes it easier for (a human) to read. Hope that helps,


SVG not supported

Login to reply

👍?
helpful
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)


SVG not supported

Login to reply

👍?
helpful
11:51am Tue 23rd Aug, Christopher M.

"Christopher McDonald" <ch*i*.*c*o*a*[email protected]*a*e*u*a*> wrote:
> > 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.
Just to clarify this, because someone asked. You may, of course, include the standard C header files in your code: #include etc. There's no need to submit any standard header files for marking, because the marking environments will all have them installed.

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