full-color sample runs - stanford computer sciencefull-color sample runs exercise 5, page 173 target...

Post on 30-Sep-2020

4 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Full-Color Sample Runs

Chapter 2. Programming by Example

GRectExample, page 45

GRectExample

GRectExample, page 47

GRectExample

The Art and Science of Java – 2 –Full-color sample runs

GRectPlusGOval, page 48

GRectPlusGOval

Exercise 5, page 54

RobotFace

Exercise 6, page 55

Target

Exercise 7, page 55

OlympicRings

The Art and Science of Java – 3 –Full-color sample runs

Exercise 8, page 55

OlympicRings

Exercise 9, page 56

Rainbow

Chapter 3. Expressions

GRectPlusGOval, page 85

GRectPlusGOval

The Art and Science of Java – 4 –Full-color sample runs

Chapter 4. Statement Forms

Exercise 14, page 130

Checkers

Chapter 5. Methods

DrawStoplight, page 144

DrawStoplight

DrawTrain, page 160

DrawTrain

The Art and Science of Java – 5 –Full-color sample runs

Exercise 5, page 173

Target

Chapter 6. Objects and Classes

FrenchFlag, page 130

FrenchFlag

Chapter 9. Object-oriented Graphics

EarthImage, page 318

EarthImage

Courtesy NASA/JPL-Caltech

The Art and Science of Java – 6 –Full-color sample runs

EarthImage, page 320

EarthImage

Courtesy NASA/JPL-Caltech

StopSign, page 324

StopSign

STOP

DrawTrain, page 332

DrawTrain

Exercise 5, page 341

HalloweenPumpkin

The Art and Science of Java – 7 –Full-color sample runs

Exercise 6, page 341

PumpkinPie

Exercise 8, page 342

DrawHeart

Exercise 11, page 344

PatchworkQuilt

ILoveJava

ILoveJava

ILoveJava

ILoveJava

ILoveJava

Exercise 12, page 345

PacMan

The Art and Science of Java – 8 –Full-color sample runs

Exercise 14, page 346-347Bar.gif Bell.gif Cherry.gif

Lemon.gif Orange.gif Plum.gif

SlotMachine

Click to play.You now have $51.You win $2.

Chapter 10. Interactive Programs

HitchhikerButton, page 367

HitchhikerButtonPlease do not press this button again.

The Art and Science of Java – 9 –Full-color sample runs

DrawStarMap, page 374

Clear Small Large Red

DrawStarMap

Exercise 9, page 406-407

The Art and Science of Java – 10 –Full-color sample runs

Chapter 11. Arrays and ArrayLists

YarnPattern, page 417

YarnPattern

Exercise 10, page 456-457

Nim

Nim

Nim

The Art and Science of Java – 11 –Full-color sample runs

Exercise 12, page 459

Exercise 14, page 460

ClipImage

Exercise 15, page 460

The Art and Science of Java – 12 –Full-color sample runs

Chapter 14. Looking Ahead

HousePoints, page 575

Points 312, 352, 426, 472 Graph

HousePoints

HousePoints, page 576

Points 482, 352, 426, 472 Graph

HousePoints

top related