West Ranch High School

Skip to main content
Main Menu Toggle

AP Comp Sci A 2017-2018-Period 5

Connect To: Google ClassroomGoogle Classroom
Dan Doggett
Practical Arts

Upcoming Assignments See all


HW: Read Textbook Chapter 4. Answer Multiple Choice Questions 4.1-4.10 on pp244-247


Chapter 4 Programming Projects

Programming Project 4.3: Write an application that rolls a die and displays the result. Let the user pick the number of sides on the die. Use the Die class from the common folder to represent the die in your program.

Programming Project 4.4: Design and implement a class called PairOfDice, with two six sided Die objects. Create a driver class called BoxCars with a main method that rolls a PairOfDice 1000 times, counting the number of box cars (two sixes) that occur.