Verityprep
Question Bank · Unit 3

AP® Computer Science A Class Creation FRQ

Work through AP Computer Science A free-response questions on Class Creation, then check each answer against a worked solution.

Free · no sign-up Open questions need no account. Sign up or log in to open the rest.

Questions 11–20 of 43
  1. 11
  2. 12
  3. 13
  4. 14
  5. 15
  6. 16
  7. 17
  8. 18
  9. 19
  10. 20

Question 11

Free response Writing Classes
Free-Response Practice: The Height Class The purpose of the Height class is to hold a measurement in feet and inches, facilitate additions to that measurement,…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 12

Free response Writing Classes
This question involves keeping track of details for a world cruise, using a Cruise class. A Cruise object is created with two parameters, the number of people…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 13

Free response Writing Classes
This question involves an implementation of a system, represented by the class Car, that tracks a car's fuel usage and average gas mileage. The class Car…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 14

Free response Writing Classes
The College Board gives awards to students who are successful on AP exams: AP Scholar: Received grades of 3 or higher on three or more AP Exams AP Scholar with…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 15

Free response Writing Classes
You can purchase any number of apples at Papas Orchards, but every six purchased are priced as five. For example, if the price of each apple is 69 cents and you…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 16

Free response Writing Classes
This question involves a scoreboard for a game. The game is played between two teams who alternate turns so that at any given time, one team is active and the…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 17

Free response Writing Classes
An APLine is a line defined by the equation ax + by + c = 0, where a is not equal to zero, b is not equal to zero, and a, b, and c are all integers. The slope…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 18

Free response Writing Classes
This question involves tracking player performance during a gaming tournament. The GameTracker class, which you will write, is used to monitor each player's…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 19

Free response Writing Classes
This question involves analyzing scoring trends for a competitive challenge. The TrendTracker class, which you will write, is used to track not only the scores…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 20

Free response Writing Classes
This question involves the implementation of a zombie plant treatment system that is represented by the ZombiePlant class. A ZombiePlant object is created with…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 11 of 43
Page 2 of 5