Verityprep
Question Bank

AP® Computer Science A Practice Questions

Work through AP Computer Science A practice 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 601–610 of 3,140
  1. 601
  2. 602
  3. 603
  4. 604
  5. 605
  6. 606
  7. 607
  8. 608
  9. 609
  10. 610

Question 601

Multiple choice Unit 1: Using Objects and Methods
What value is stored in result?…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 602

Multiple choice Unit 1: Using Objects and Methods
A payment is stored as 875 cents. Which expression should replace the comment…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 603

Multiple choice Unit 1: Using Objects and Methods
What value is stored in…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 604

Multiple choice Unit 1: Using Objects and Methods
Two measurements are 7.7 and 2.7. A program must compute their arithmetic mean and then discard only the fractional…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 605

Multiple choice Unit 1: Using Objects and Methods
What is printed by the following code? double value =…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 606

Multiple choice Unit 1: Using Objects and Methods
A hiking app displays the measured distance 14.62 rounded to the nearest whole kilometer. Two candidate calculations are…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 607

Multiple choice Unit 1: Using Objects and Methods
A rectangular image is 50,000 pixels wide and 50,000 pixels high. Its area, 2,500,000,000, exceeds Integer.MAX_VALUE (2,147,483,647). Which expression should…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 608

Multiple choice Unit 1: Using Objects and Methods
A school store records every price as a whole number of cents. All running totals stay…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 609

Multiple choice Unit 1: Using Objects and Methods
Integer.MAX_VALUE is the largest value that can be stored in an int. Which statement…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 610

Multiple choice Unit 1: Using Objects and Methods
What value is stored in stock after these…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 601 of 3,140
Page 61 of 314