It's UWAweek 9 (1st semester, week 1)


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

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

Login to reply


Also, another problem there might be with the implemention of READ and WRITE. So if the division would return a float (say 33.3 recurring), it obviously needs to be converted to an integer as the system time is fully based around integers. Now I believe the most logical thing to do would be to use the ceiling of it (so 34), as at 33 the read/write obviously hasn't finished. However, I believe the sample just performs integer division (which in itself is fine, as it can be done using integer division, but you would need to check whether it divided perfectly, and if not, add 1 to it).

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  5:07AM Sep 06 2023
Privacy policy