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


 UWA week 38 (2nd semester, week 8) ↓
SVG not supported

Login to reply

👍?
helpful
5:24pm Wed 18th Sep, Joshua N.

ANONYMOUS wrote:
> 9. a function must have been defined before it is called in an expression > > Is this saying that if we call a function like printsum(x,y) that the printsum function is defined before it is called
Possibly, but it is a bit ambiguous you could probably have an assumption in your assumption doc about it.
> Or is the dotpoint saying that if you call printsum there HAS to be a function called printsum that exists (i.e. you cant just call a random function that hasnt been declared)
This definitely has to be true. I believe the point 9 is stating that in the ml file the function definition has to come before the function call. However, you can assume otherwise since it is a bit ambiguous.

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