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 39 tagged articles
Showing 39 of 112 articles.
Currently no other people reading this forum.


 UWA week 18 (1st semester, week 9) ↓
SVG not supported 6:21pm Mon 29th Apr, ANONYMOUS

The specification clearly says "You should submit your solutions via cssubmit (see the link in the LMS menu). Submission is due at 15 00 (3 00 pm) Tuesday the 30th of April. You must submit exactly the following Java source code files - Empty.jav...


SVG not supported 3:39pm Mon 29th Apr, ANONYMOUS

SetExpression.java SetExpressionTests.java Should these files be submitted along the .java files because in SetExpressionTests , testCustom method need our own tests is this function only for testing purposes.


SVG not supported 1:13pm Mon 29th Apr, Tin CP.

ANONYMOUS wrote From the lab sheet You should display it as ( U ) , there's no need to evaluate the expression. For instance, the example given evaluates to 7 but we ask you to display ( U 7 ) instead.


SVG not supported 10:50am Mon 29th Apr, Andrew G.

Due to a large number of students getting confused by the time of the deadline, I have decided to grant everyone an extension for the Assessed Lab. The new submission deadline is 15 00 (3 00 pm) this Tuesday, April 30th. The new deadline has been chose...


 UWA week 17 (1st semester, week 8) ↓
SVG not supported 10:51am Sun 28th Apr, Zhaoyang L.

Thank you for your clarification.


SVG not supported 10:15am Sun 28th Apr, Abdul M.

Yes, you can use "int". You can check the Changelog at the Assessed Lab for this error handling possibilities.


SVG not supported 4:12am Sun 28th Apr, Zhaoyang L.

In the lab description, you said "Range Constructor takes two integers, the lower and upper bounds." Does it mean the data type of lower and upper bound is necessarily "int" in Java. Is it possible that you ask for a range of 0..100 000 000 000 . (...


SVG not supported 5:09pm Sat 27th Apr, ANONYMOUS

Hello Max and Goz, Mathematically when we use union on two empty sets, the result is an empty test. I'm really confused on how the result should be displayed. Do you want the expected answer to be or ( U . Thank you for your time.


SVG not supported 11:51am Sat 27th Apr, ANONYMOUS

Someone already asked this here https secure.csse.uwa.edu.au run help2005?p np opt U51


SVG not supported 8:15pm Fri 26th Apr, ANONYMOUS

I would like to know for the assessed lab, I need to submit 6 java files separately? Is it correct?


SVG not supported 6:29pm Wed 24th Apr, Abdul M.

ANONYMOUS wrote Hi. If you think that the comment is repetitive, you can omit it on the other classes. However, I suggest you commented some of the algorithms that you implement by your own . For example how to check whether an Union or In...


SVG not supported 4:57pm Wed 24th Apr, ANONYMOUS

I have used comments to describe which method in the superclass I am overriding and the purpose of using the Ov r i e a n t t o , b t I m n t s r f i s n c s a y t e p r p a i g t i n e e y f l o a h s b l s . W u d t i e c n i e e x...


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 10:32am Wed 24th Apr, Jacob R.

While this has been asked indirectly previously, is the constructor for the Empty class strictly necessary, as it's redundant due to the implicit constructor already allocating required memory and no variables needing to be initialised with specific ...


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 1:57pm Tue 23rd Apr, ANONYMOUS

None of the subclasses we are required to write ask us to make use of this abstract method. Are we just supposed to ignore it? What is its purpose?


SVG not supported 10:22pm Mon 22nd Apr, ANONYMOUS

Thank you This helps.


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:45pm Mon 22nd Apr, ANONYMOUS

Hello If upper lower, should describe return a singleton or a range where the upper and lower are just the same number ( x..x )?


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.


SVG not supported 1:20pm Mon 22nd Apr, Abdul M.

As we can see in the abstract class SetExpression , the signature of the describe() function is public abstract String describe() . It means that it must RETURN a string. Because the Empty class doesn't have any properties, there...


SVG not supported 1:08pm Mon 22nd Apr, Abdul M.

My suggestion is that you still need to include comments even though the code is self-explanatory. Your code may seems self-explanatory to you, but it may not to others. As every class has different properties, it is a good idea to include comments to...


SVG not supported 12:46pm Mon 22nd Apr, ANONYMOUS

Should describe() print a string or returning a string when called? The constructor for empty class requires no arguments, however does it require anything within the to form an object in that class? ie) writing "public Empty " on it's own won't ac...


SVG not supported 12:17pm Mon 22nd Apr, Tin CP.

Annotations like Ov r i e o ' e l y c a g h o e i e e b r c r e t y h y j s r v d n o m t o o t e c m i e o r o a c i g If a child method is intended to override a parent method, you should ALWAYS use Ov r i e o t e c ...


SVG not supported 2:40am Mon 22nd Apr, ANONYMOUS

Hi, This can be seen as a general question or a question related to the assessed lab, but I was wondering about the appropriate uses of the Ov r i e a n t t o . t o s i t n e o o e r d a e t m t o , y u s o l L A S u e O ...


 UWA week 16 (1st semester, week 7) ↓
SVG not supported 2:19pm Sun 21st Apr, ANONYMOUS

According to the Assessed Lab folder it says "You should submit your solutions via cssubmit (see the link in the LMS menu). Submission is due at 11 59 am Sunday the 28th of April. You must submit exactly the following Java source code files Empty.jav...


SVG not supported 11:29am Sun 21st Apr, Yiming S.

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


SVG not supported 9:26pm Sat 20th Apr, Pranav R.

When considering edge cases (via custom tests) for the assessed lab, should I consider that the object references provided (for Union or Intersection classes, for example) as arguments when testing them could be null, or is that outside the scope of ...


SVG not supported 8:37pm Sat 20th Apr, Zhengyuan Z.

Hi there Should we submit a zip file containing all the required .java files or should we submit them separately? Thanks


SVG not supported 12:12pm Sat 20th Apr, ANONYMOUS

The Style section of the rubric for the assessed lab says we need to use "comments to communicate intent and reason". What sort of comments are required to obtain this mark, and do we need to include comments even if the code is self explanatory?


SVG not supported 11:38am Sat 20th Apr, Hugo S.

Hi Max and Goz, can I just clarify that the lab is due on Sunday the 28th at midday, not midnight? Thanks in advance


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.

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