It's UWAweek 18 (1st semester, week 9)

help2005

This forum is provided to promote discussion amongst students enrolled in CITS2005 Object Oriented 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.

How do I ask a good question?
Displaying selected article
Showing 1 of 112 articles.
Currently 2 other people reading this forum.


 UWA week 17 (1st semester, week 8) ↓
SVG not supported

Login to reply

👍?
helpful
4:19pm Mon 22nd Apr, Andrew G.

"Yiming Song" [email protected] wrote:

Dear Max and Gozz,

For the assessed lab, are we expected to catch the error for the hidden test? (e.g. if the argument for creating a new object is a floating point number or a string instead of an integer, do we need to catch the error? ) Thanks!

See the clarifications added to the lab sheet. In summary: You are not expected to handle errors outside the specification.

For the particular example you give, I will point out that if our tests attempted to pass a float to a constructor expecting an int parameter, the code would not compile, so this is not even a class of error you would be able to catch.

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  5:07AM Sep 06 2023
Privacy policy