InClassExercise02

InClassExercise02 - (Do a save frequently so you dont...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
CS112: In-class Exercise 2 Name: __________________________ 1. Login to any departmental Dell PC with your given personal account. (If you don’t have one yet, then use the username student and leaving the password field blank.) If the login fails, make sure the “ Log on to ” text field is set to MATHCS (click “ options ” if this text field is not visible). 2. On the desktop you should see an icon named “Public”, which represents a public folder on the server. Double-click to open, then go through the folders Yuen(CS) \ cs112BlueJ \ projects \ . Open chapter01 , and copy the pictures folder to your local PC by dragging-and-dropping onto your desktop. 3 . Start up BlueJ and open the picture project from your desktop. In BlueJ, select the Project menu, Open Project …, click Desktop, select picture , and click open. 4 . Do Exercises 1.10 to 1.16 from the book. If appropriate, write a sentence about each exercise. Exercises 1.15 and 1.16 are tougher and will require more thought. For 1.14 to 1.16, copy-paste your code additions to a Word document, and save. Save the picture too. Print out this document file when done.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: (Do a save frequently so you dont accidentally lose your work. Use the following checklist. 1.10 __________________________________________________________________ 1.11___________________________________________________________________ 1.12___________________________________________________________________ 1.13___________________________________________________________________ 1.14 [save portion of source code and picture to Word document] 1.14 additional: As an extension to exercise 1.14, draw a simple car to the right of the house (just draw a car body and 2 wheels). Do this by writing Java code in the Picture class to create the necessary objects, *not* by right-clicking on the Square and Circle classes and creating instances. Compile, create an instance of the Picture class, invoke the draw method, and make sure it draws both the house and the car. [save portion of source code and picture to Word document] 1.15 [save portion of source code and picture to Word document] 1.16 [save portion of source code and picture to Word document]...
View Full Document

This lab report was uploaded on 04/08/2008 for the course CSCI 112 taught by Professor Yuen during the Fall '07 term at Lake Forest.

Ask a homework question - tutors are online