Last updated: May 20, 2001



Comments on questions plus some "workings out"

Record no: 187
Question feedback: Yes

"Workings out": No

Q3. Unclear / ambiguous question and thus what the required answer should be.



Q8. The XOR operator, but I can't remember what the symbol is!



Q14. Ambiguous: does the loop include the for statement or not, ie. answer a) or b).

Thus I was unsure which to put.



Q15. One assumes first-time execution?



Q21. No difference between a) and b) (I think!), but what's the difference between

args, argc and argv?



Q24. Unsure as to a) or b) correct. Arbitrary decision.



Q28. ...although memory reclamation is not immediate.



Q29. Surely "two

was entered" would be the output?



Q30 ...because ; starts at 0 (the value of i) and decreases, so cannot ever be greater than 0.

Record no: 188
Question feedback: Yes

"Workings out": No

11. This is not clear as to whether this is a loop lif condition or

statement. As a statement, the program could not compile, other wise C.



19. c) or a)



22. b?. c I presume that this means a string and an int. not string and

string "name" from person class.



8. This is an XOR.

Record no: 189
Question feedback: Yes

"Workings out": Yes

Q21 - Should a),b) be args rather than argv?

(String [] args)



x=12+21

x=33, y=13, z=22

for (i=0; i<num; i++)

21 May 2001 Page 31 of 74

First Previous Next Last

Page 31 .