It's UWAweek 47

help2002

This forum is provided to promote discussion amongst students enrolled in CITS2002 .
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 1189 articles.
Currently -1 other people reading this forum.


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

Login to reply

👍?
helpful
5:31pm Sun 30th Aug, Christopher M.

"Benjamin Lopas" <19*2*9*1@s*u*e*t*u*a*e*u*a*> wrote:
> And, as expected it prints "hello world" 4 times on seperate lines; However, > the solutions to the mid-semester test state that 'D' is the right answer. Which > says "The form of the output cannot be determined from the above code", is this > because a different operating system may give a different result, or is this > a typo in the solutions?
What actually happens depends on the interleaving/scheduling of the 4 running processes, whether they buffer their output (and maybe some external factors, but that would be too pedantic to ask about). In short, from the short bit of code, we can't tell what may happen.

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