CMPSCI 121
"Introduction to Problem Solving with Computers" using Java

Department of Computer Science
University of Massachusetts Amherst

Home
Resources
Grading
Weekly Schedule
Syllabus
Homework
Exams

Bulletin Board
Staff

Programming Assignment #5

Due in OWL, 9:00am, Tuesday March 1, 2005.
Extra credit of 5 points if handed in before 11:59pm, Monday February 28, 2005.

Important notes:

  • This programming assignment contains one problem, and can earn a total of 50 points as described below.
  • Extra credit described below accumulates points into an overall extra credit count that may be used at the end of the semester to determine letter grade border cases at the end of the semester.
  • File, class and method names should be exactly as described below. You may, however, if needed add additional helper variables and methods.
  • Each method's return type, as well as the number, order, and types of parameters must be as specified. Parameter names don't have to be the same.

Problem 1: Sensible Bouncing Ball (50 points)
[Collaboration allowed; may be started in Lab]

Incomplete Draft Description. Revist bouncing ball code from previous lab. Add assertions to make sure ball begins and stays above floor and below ceiling, that it has positive radius, etc.