It's UWAweek 47

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 selected article
Showing 1 of 1934 articles.
Currently no other people reading this forum.


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

Login to reply

👍?
helpful
4:56pm Fri 6th Sep, Christopher M.

OK, I've been waiting to hear back from another staff member's thoughts on this and the 'decision' is that the question should have been better worded. Fair enough. The reason that answer D is (remains) the correct answer, and 42 students did get it correct, is that the fork() system call doesn't receive a parameter, so any code calling fork() with a parameter will not compile and, hence, couldn't be a reason for fork() failing because it would never run. Of the other 3 possible answers, A and B are definitely valid reasons for fork() failing but, as has been clearly discussed in this thread, fork() returning -1 is an outcome of a failure, not a reason. OK, so what to do about it? 42 students got the question right, so ignoring the question entirely would wrongly penalise those students (including some lucky few who may have guessed it!). And for all other students, we don't know if they chose the wrong answer because they were confused by the question's wording or otherwise. So, at the slight risk of offending those who genuinely got it right, I'll give all other students (with A, B, and C) the extra mark. It'll require a bit of effort, but I'll get to it sometime over the weekend (so much AFL and cricket to enjoy). Sorry for the stuff up!

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  8:08AM Aug 25 2024
Privacy policy