Beruflich Dokumente
Kultur Dokumente
Chia Chien
LAB #1
NAME _____Larry Ballard_____________________________________________________
Assignment #1 (due by the end of this lab class)
Turn in LAB REPORT for all WRITE exercises (TYPED and properly formatted see back
page)
*Format
Exercises
Notes
do
do
1.1 1.8
DEMO
1.9
do
1.10
1.11 1.12
Project
figures
1.13 1.14
house
1.15
1.16
COMPILE after EACH time code is changed, then execute and TEST
1.17
Add the line of code stated + 6 lines of code to the draw method
Also add 1 line of code to each of the setColor and setBlackAndWhite
methods Dont forget to test it
1.18
Set the original sun by adding 1 line of code to the draw method using
slowMoveVertical
1.19
DEMO
1.20
Declare a new field person where the other field declarations are
then create a new person object with new and position the person
using MoveVertical and MoveHorizontal within the draw method
finally in the sunset method, use makeVisible and slowMoveHorizontal
to show the person and make the person walk up to the house
do
1.21 1.29
WRITE
1.30
1.31
1.32
1.33
ONLY the send method header with a String parameter & no return
1.34
ONLY the average header with 2 int parameters & an int return value
1.35
1.36
*Format
do complete the exercises and learn the concept, but nothing needs to be turned in
DEMO complete the exercise correctly and show me each result as you complete it DURING lab
WRITE write the exercise # and the answer (including code) in your lab report
Page 1 of 3
labclasses
Chia Chien
LAB #1
CODE complete the coding (compiled and tested) required in your project to turn in
FLASH copy the entire BlueJ project directory with completed CODE exercises onto your flash to turn in
(project should compile without errors and execute correctly)
PRINT print out ALL the .java code files directly from the BlueJ code editor (print 2 pages per sheet)
Larry Ballard
IOOP(Sec. 3) - Lab 1
9/10/15
1.30
byte:
short:
int:
long:
float:
double:
boolean:
char:
1.31
answers
1.32
answers
1.33
answers
1.34
answers
1.35
answers
1.36
answers
:
:
:
Page 2 of 3
Chia Chien
LAB #1
1.9
1.20
FORMAT