Verityprep
Question Bank

AP® Computer Science A FRQ Practice: Free-Response Questions with Solutions

Work through AP Computer Science A free-response questions unit by unit, 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 151–160 of 329
  1. 151
  2. 152
  3. 153
  4. 154
  5. 155
  6. 156
  7. 157
  8. 158
  9. 159
  10. 160

Question 151

Free response Unit 3: Class Creation
Complex Numbers In mathematics, a complex number is a number that is composed of both a real component and an imaginary component. Complex numbers can be…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 152

Free response Unit 3: Class Creation
A quadratic function is a polynomial of degree 2, which can be written in the form y = ax2 + bx + c, where a, b, and c represent real numbers and a ≠ 0. The…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 153

Free response Unit 3: Class Creation
Free-Response Practice: Dream Vacation Class Everyone fantasizes about taking a dream vacation. Write a full DreamVacation class that contains the following: An…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 154

Free response Unit 3: Class Creation
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 155

Free response Unit 3: Class Creation
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 156

Free response Unit 3: Class Creation
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 157

Free response Unit 3: Class Creation
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 158

Free response Unit 3: Class Creation
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 159

Free response Unit 3: Class Creation
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 160

Free response Unit 3: Class Creation
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 151 of 329
Page 16 of 33