It's UWAweek 42 (2nd semester, week 12)

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.
18 articles posted by this ANONYMOUS person
Showing 18 of 674 articles.
Currently 9 other people reading this forum.


 UWA week 38 (2nd semester, week 8) ↓
SVG not supported 2:01pm Tue 17th Sep, ANONYMOUS

Is it correct that the syntax assumptions in the report do not have to align with the advice given on this help forum? Such as if global variables, variable reassignment and parameter checking have already been implemented, they can be listed as assum...


 UWA week 37 (2nd semester, week 7) ↓
SVG not supported 12:33am Sat 14th Sep, ANONYMOUS

This is a repost of a previous question https secure.csse.uwa.edu.au run help2002?p np opt U224 , is the following code permitted? function add a b return a b function two return 2 print add(1, two())


SVG not supported 10:43pm Fri 13th Sep, ANONYMOUS

https secure.csse.uwa.edu.au run help2002?p np opt B388 year 2024 do we instead follow this and not allow any duplicate names of variable reassignment now??


SVG not supported 10:38pm Fri 13th Sep, ANONYMOUS

This assumption was based off 'you cannot introduce a new function if its name is already used as a variable's name, or introduce a new variable if its name is already used as a function's name.' from https secure.csse.uwa.edu.au run help2002?p np ...


SVG not supported 10:19pm Fri 13th Sep, ANONYMOUS

In the submission requirements it says the following Submit only a single C11 source-code file named runml.c Do not submit any header-files, documentation, instructions Is this going to be changed so a report can also be submitted? If so, would...


SVG not supported 11:29pm Thu 12th Sep, ANONYMOUS

Thank you so much for clarifying I unfortunately only just noticed the arrow typo, apologies. I will wait for Amitava to clarify regarding the global variables query, thanks again


SVG not supported 5:56pm Thu 12th Sep, ANONYMOUS

also ignore the line starting with , it is meant to be a , apologies


SVG not supported 5:20pm Thu 12th Sep, ANONYMOUS

adding 1st project tag


SVG not supported 5:19pm Thu 12th Sep, ANONYMOUS

Hi, would the following code as a .ml file be syntactically valid? Additionally, can comments be indented with a ' t' outside of a function or will this cause an error? Chris has said randomly indented lines outside of a function is not permitted, bu...


SVG not supported 4:14pm Thu 12th Sep, ANONYMOUS

Since the same identifier name can't be reused its a local variable being called outside of its scope shouldn't this cause an error?


SVG not supported 6:45pm Wed 11th Sep, ANONYMOUS

I apologise for repeatedly asking, but I still need a more specific clarification regarding this case. The line 'Whitespace can only appear at the beginning of a line if it is a tab under a function definition' is said to be true but whitespace and t...


 UWA week 36 (2nd semester, mid-semester break) ↓
SVG not supported 1:49am Thu 5th Sep, ANONYMOUS

Adding to this, should we accept a number formatted as 1. or should we only accept 1 (no decimal if it is a whole number) or 1.0, 1.00, etc


SVG not supported 1:37am Thu 5th Sep, ANONYMOUS

How can we determine when a function body should end if not every function requires a return statement? The sample code with no return in the function body happens to end with a print statement, is this the only alternative to a return statement for ...


SVG not supported 1:22am Thu 5th Sep, ANONYMOUS

Hi, Does this mean whitespace is only significant when it is at the beginning of a line but still insignificant anywhere else (except when 1 whitespace minimum is necessary)? Therefore, any line beginning with a whitespace would cause an error (inclu...


 UWA week 35 (2nd semester, week 6) ↓
SVG not supported 3:52pm Sun 1st Sep, ANONYMOUS

Is it correct to assume that return can only be used within a function and every function must have a return statement (so a return statement will always denote the end of a function body)?


SVG not supported 3:48pm Sun 1st Sep, ANONYMOUS

following on with this question 1. In the cases where 1 whitespace minimum is required (such as after function, return, print, between the function identifier and its parameters), can more whitespace be added without causing any error? 2. Can whitespa...


SVG not supported 8:22pm Tue 27th Aug, ANONYMOUS

Thank you so much


 UWA week 34 (2nd semester, week 5) ↓
SVG not supported 3:42pm Sun 25th Aug, ANONYMOUS

Hi, I was wondering roughly what size input we should expect to process in the text files; would it be appropriate to use BUFSIZ in fgets as shown below? (example from lecture 7) FILE dict; char line BUFSIZ ; dict fopen( ..... ); while...

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