The COMP1400 exam is this Thursday (Nov 3) at 8:45am in Leighton Hall of Scientia (but make sure you confirm this on myUNSW). It is a 2 hour exam. It will consist of: 20 multiple choice questions testing your understanding of various aspects of Java 5 short-answer question on general programming concepts 2 questions which […]
Ass 3 Unit Testing
October 11th, 2011 · No Comments · Assignments
It turns out that testing the play() method on your classes is tricker than I had anticipated when I set assignment 3. To test this method properly, you need to set up a game in a known situation, forcing one of the players to play the card you are testing and then check that it […]
Tags:
Prac Exam FAQs
October 11th, 2011 · No Comments · Uncategorized
FAQs about the Prac Exam: Can I bring my laptop? No. You must use the lab computers. Can I bring my own files on a USB stick? Yes. Will I have access to the web? Yes, but we will be monitoring your web access to make sure you are not communicating with other students.
Tags:
Assignment solutions: ass1 & ass2
October 11th, 2011 · No Comments · Assignments
My solutions to assignment 1 and assignment 2 are now available for you to download.
Tags:
Sample Prac Exam
October 10th, 2011 · No Comments · Lab
The Prac Exam for COMP1400 will take place in labs in Week 13. Please make sure you turn up to your designated lab time. You will not be allowed to sit the exam at another time. The exam will be open book, so you will have access to the web and any texts you care […]
Tags:
Assignment 3 – Uno
September 25th, 2011 · No Comments · Assignments
Due Date: Sunday week 12 (23:59:59 16 October 2011) Your final assignment is to complete an implementation of the game of Uno. The focus of the assignment is on using inheritance. You will also be required to write unit tests for you code to demonstrate its correctness.
Tags:
Tut 10
September 25th, 2011 · No Comments · Lab
The following exercises are taken from chapter 8 of the textbook. Exercise 8.4 Open the project dome-v2. This project contains a version of the DoME application rewritten to use inheritance, as described above. Note that the class diagram displays the inheritance relationship. Open the source code of the DVD class and remove the ‘extends Item‘ […]
Tags:
Tutorial 9
September 15th, 2011 · No Comments · Lab
JUnit Testing For the exercises this week, download the diary-testing-junit-v2 project. These examples and exercises are based on chapter 6 of the textbook. Using the diary-testing-junit-v2 project, create a method in DayTest to check that findSpace returns the value of 10 for a one-hour appointment if a day already has a single one-hour appointment at […]
Tags:
Lab 7
September 11th, 2011 · No Comments · Uncategorized
This week’s tutorial is taken from the textbook, exercises 5.25 – 30 on page 149. They are reproduced below. The task is to implement a simple phone book where numbers are associated with names, both represented as strings. Your phone book should be able to add a new name/number pair and you should be able […]
Tags:
Ass 1 collection
September 5th, 2011 · No Comments · Uncategorized
Assignment 1 should now be available for collection. To collect your assignment: Go to the give webage. Enter COMP1400 as the subject code. Select ‘ass1’ from the list and click ‘Collect my assignment’
Tags: