It's UWAweek 17 (1st semester, week 8)

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?
36 articles posted by this person
Showing 36 of 103 articles.
Currently 4 other people reading this forum.


 UWA week 17 (1st semester, week 8) ↓
SVG not supported 4:41pm Fri 26th Apr, Andrew G.

ANONYMOUS wrote I am not even sure what you are asking here. What do you mean by "specify the directory ... at the very beginning of every source code"? If you mean declare them all as part of a package, no, that would cause the specified way of invo...


SVG not supported 12:57pm Wed 24th Apr, Andrew G.

The specification does not explicitly require you to write a constructor for every class, and I do not see where in the rubric you would lose marks for not writing a pointless constructor. It definitely wouldn't affect correctness, so the only place y...


SVG not supported 12:52pm Wed 24th Apr, Andrew G.

ANONYMOUS wrote We are getting them marked as quickly as we are able, but there are over 400 students in this class and most of our markers are also students with their own schedules. With luck, I am hoping to get them done by the start of next week, ...


SVG not supported 12:49pm Wed 24th Apr, Andrew G.

While your notes are mostly correct, they do contain a number of errors. I am probably not going to be able to address them all here, but I have already explained the answers in a lecture and a PDF of the answers is available on LMS under the Mid-Sem...


SVG not supported 3:53pm Tue 23rd Apr, Andrew G.

ANONYMOUS wrote The lab worksheet instructs you to implement subclasses of the SetExpression abstract class. This requires you to implement the contains method. The worksheet and the comment on the contains(elem) method also explain that it "Ev...


SVG not supported 3:46pm Tue 23rd Apr, Andrew G.

The assessed lab worksheet provides instructions on how describe() should behave for each different class. It does not ask you to simplify or reformat expressions. To do so would in fact be considered wrong, as it is no longer a description of the ...


SVG not supported 6:53pm Mon 22nd Apr, Andrew G.

ANONYMOUS wrote The describe() method is required to return a String . The worksheet specifies the format of string that a Range object should return. Changing the representation as you are suggesting would not be in compliance with the specific...


SVG not supported 4:29pm Mon 22nd Apr, Andrew G.

ANONYMOUS wrote I will add Please do not print anything. No part of the specification asks for you to print anything, and while doing so would not make your code wrong, and so would likely not cost you marks (except perhaps for style, given it is un...


SVG not supported 4:28pm Mon 22nd Apr, Andrew G.

ANONYMOUS wrote You do not need to use anything that we have not covered in the lectures, previous labs, or this lab sheet. As was said in one of the lectures The purpose of Ov r i e s t x r s o r i t n h t t i e h d s o l v r i e o e f...


SVG not supported 4:19pm Mon 22nd Apr, Andrew G.

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 ...


SVG not supported 4:16pm Mon 22nd Apr, Andrew G.

See the clarifications added to the lab sheet. You do not need to handle errors, as this is not a task given in the specification. If your code behaves as is required of it, that is sufficient. The specification does not impose any requirements on the...


SVG not supported 4:08pm Mon 22nd Apr, Andrew G.

I believe cssubmit will happily support either without issue, but per the instructions I would prefer you submit all the files not in a zip. Submitting a zip will not cost you any marks, but might make marking a little more of a headache as the marke...


SVG not supported 4:06pm Mon 22nd Apr, Andrew G.

ANONYMOUS wrote I tried to choose the wording "communicate intent and reason" carefully. It is not necessary to simply narrate what your code is doing, as the code already says that clearly. Your comments should explain why you have decided to do t...


SVG not supported 4:03pm Mon 22nd Apr, Andrew G.

Correct. The reason it is specified as 11 59 am in the lab sheet is to avoid the common confusion about midday being 12 00 pm.


 UWA week 16 (1st semester, week 7) ↓
SVG not supported 1:09pm Fri 19th Apr, Andrew G.

ANONYMOUS wrote Dependency can have various meanings, and I am not sure how you are using it here. The same goes for the concept of flexibility. As a sweeping generalization, I would say that interfaces are "more flexible" than inheritance. Interfaces...


SVG not supported 12:35pm Fri 19th Apr, Andrew G.

Please be aware the Assessed Lab (https lms.uwa.edu.au webapps blackboard execute content blankPage?cmd view content id 3592271 1 course id 90611 1) has been released on LMS. It is due at 11 59am on Sunday the 28th of April.


SVG not supported 3:45pm Tue 16th Apr, Andrew G.

ANONYMOUS wrote This is an example of method (in this case specifically constructor) overloading. There is no universally accepted definition of polymorphism, but overloading is generally considered an example of "ad hoc polymorphism", where the behav...


SVG not supported 3:20pm Tue 16th Apr, Andrew G.

ANONYMOUS wrote These have now been released on the Mid-Semester Test Info page on LMS.


SVG not supported 3:19pm Tue 16th Apr, Andrew G.

Update 2024-04-16 Answers to the mid-semester test have been made available on the LMS Mid-Semester Test Info page.


SVG not supported 3:17pm Tue 16th Apr, Andrew G.

ANONYMOUS wrote This is a quirk of programming convention that was unfortunately not specified in the question In programming, we often do geometry in "screen coordinates" such that the origin is the top left corner of the screen, with x increasing...


 UWA week 15 (1st semester, week 6) ↓
SVG not supported 1:38pm Fri 12th Apr, Andrew G.

ANONYMOUS wrote The official information we have given is that it may cover any material up to and including week 6. Since, as you say, unit testing was only covered briefly in lecture 12, the test would only be able to include questions on that brie...


SVG not supported 11:23am Wed 10th Apr, Andrew G.

ANONYMOUS wrote You should try to solve the problem yourself without looking at the answers first, so no, there is no need to follow the example answers exactly. It is not entirely clear what you mean by "it does not edit the grid in the intended wa...


 UWA week 13 (1st semester, week 5) ↓
SVG not supported 10:04am Thu 28th Mar, Andrew G.

The mid-semester test for CITS2005 will be held on April 18th at 17 00 in Wilsmore (Surnames A-M) and Tattersall (Surnames N-Z) lecture theatres. Full details are available on LMS in the Mid-semester Test Info (https lms.uwa.edu.au webapps blackbo...


 UWA week 12 (1st semester, week 4) ↓
SVG not supported 11:51am Wed 20th Mar, Andrew G.

You can get either to work, but given that the isPrime method has no reason to depend on any object state, static makes the most sense.


 UWA week 11 (1st semester, week 3) ↓
SVG not supported 10:23am Thu 14th Mar, Andrew G.

Yes, though with at least one minor alteration. Due to venue capacity restrictions we have had to move the midsem to 17 00 on the same day. There should be an entry in your timetables. I am trying to get the unit outline updated currently. For all ass...


SVG not supported 12:38pm Tue 12th Mar, Andrew G.

For context for anyone who is confused, this student emailed the unit email inbox with the above question, and I answered their question and asked them to post their question and the result here for the benefit of other students. So the first message...


SVG not supported 11:07am Mon 11th Mar, Andrew G.

There are a couple of options for how to get input in a Java program that we have covered so far... You can indeed use Scanner . You can construct a Scanner object wherever it makes sense (probably in main , for a little example like this) and use...


 UWA week 10 (1st semester, week 2) ↓
SVG not supported 11:20am Tue 5th Mar, Andrew G.

Please be aware that all Tuesday and Wednesday labs in CSSE 2.03 have been relocated to CSSE 2.05. As these are relatively recent changes, they do not appear in the timetable system. Additionally, shortly before the start of semester we were able to a...


 UWA week 9 (1st semester, week 1) ↓
SVG not supported 3:58pm Thu 29th Feb, Andrew G.

Update I have uploaded the old recording to Echo and it is now processing and should be available shortly. Let me know if there are any further issues.


SVG not supported 1:25pm Thu 29th Feb, Andrew G.

It has come to our attention that an issue with the automated enrollment system may have allowed some students to enrol in CITS2005 without meeting the prerequisites. Please take care to check that you meet all the prerequisites listed in the handbook...


SVG not supported 12:43pm Thu 29th Feb, Andrew G.

Hi all, We are aware of this issue. It seems there was an issue with the lavalier mic pack but not with the hand mic. We are digging up a lecture recording from last year, and will post that ASAP. Cheers, Gozz


SVG not supported 12:40pm Thu 29th Feb, Andrew G.

This unit has a mid-semester test that will be held in week 7 (calendar week 16). Due to capacity limitations of the venues we have been assigned for lectures, we require a different venue for this test. This alternative venue is not available at our...


SVG not supported 6:39pm Tue 27th Feb, Andrew G.

Since in this unit we will only ask you to submit Java code, not compiled bytecode, all that matters is that any code you submit is compliant with the Java 11 specification. So long as you don't use any features introduced in more recent versions, th...


SVG not supported 2:34pm Tue 27th Feb, Andrew G.

Hi Bill, Particularly since one of the selling points of Java is "write once run anywhere", there are no requirements to use a particular system. We will probably use OpenJDK by default when marking, but since we are using Java version 11 in this unit...


SVG not supported 2:28pm Tue 27th Feb, Andrew G.

Monday 04 03 is a public holiday. As a result there will be no lecture that day. instead we have been allocated a replacement lecture Time Friday 08 03 11 00 am Location GGGL G21 Webb Lecture Theatre For those unable to make this new slot, a reco...


SVG not supported 11:29am Fri 23rd Feb, Andrew G.

We have just learned that due to a timetabling error, CAS does not show CITS2005 as having a lecture on Monday 26 02, the first day of semester. This is in error. We will have a lecture from 13 00-14 00 in Wilsmore, as is timetabled for ever subseque...

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