Subject Code : CSC72003
Assignment Task :

Assignment Q1 (CSC72003)

  • Create a word document and call your document username-A1Q1.docx. For example, mine
  • would be nfrancis10-A1Q1.docx
  • Open the house project from chapter 1 of the book projects.
  • Open the terminal window and tick the record method calls.
  • Create a picture with at least two (2) objects of circle, two (2) objects of square, two (2)
  • objects of triangle, and two (2) objects of person, recording all method calls.

 

Assignment Q2

  • Create a new BlueJ project called username-A1Q2. For example, mine would be nfrancis10- A1Q2.
  • Click on New Class and give the class a name of Book. Make sure "Java" and "class" are selected.
  • Write a description of your new Class in the top comments. Make sure you put in your
  • name as the author and the date as the version you last worked on this exercise.

 

Assignment Q3

  • Create a new BlueJ project called username-A1Q3. For example, mine would be nfrancis10- A1Q3.
  • Create a class called Vehicle, that contains five fields, current speed, power, accelerate, decelerate and top speed, all of which type is int.
  • Make sure you write a description of your new Class in the comments, with your name as author and date as the last date you worked on this exercise.
  • Define a constructor that takes and sets the accelerate, decelerate; sets the power to 20, and top speed to 120. Leave the current speed as 0.

 

Assignment Q4

  • Create a new BlueJ project called your username-A1Q4. For example, mine would be nfrancis10-A1Q4.
  • Before you start to code, make sure to enable the “record method calls” in the BlueJ terminal.
  • Create a class called VeggieBasket, that has one ArrayList field called vegetables, which holds a collection of Strings.
  • Make sure you write a description of your new Class in the comments, with your name as author and give the version as the date you last worked on this exercise.
  • Define a constructor that initialises the ArrayList. Note that you can add any other initialisations that you feel are relevant.

 

This CSC72003: Computer Science Assignment has been solved by our Experts at UniLearnO. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style. Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

Eureka! You've stumped our genius minds (for now)! This exciting new question has our experts buzzing with curiosity. We can't wait to craft a fresh solution just for you!

  • Uploaded By : Grace
  • Posted on : December 01st, 2018

Whatsapp Tap to ChatGet instant assistance