Verityprep
Question Bank · Unit 1

AP® Computer Science A Using Objects and Methods Practice Questions

Work through AP Computer Science A practice questions on Using Objects and Methods, 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 591–600 of 776
  1. 591
  2. 592
  3. 593
  4. 594
  5. 595
  6. 596
  7. 597
  8. 598
  9. 599
  10. 600

Question 591

Multiple choice Primitive Types
Which statement correctly describes the…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 592

Multiple choice Primitive Types
The following statements appear inside a method, and total has not been declared elsewhere. What…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 593

Multiple choice Primitive Types
A program saves a measurement before replacing the current measurement. What is…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 594

Multiple choice Primitive Types
A method contains the declaration below. Which additional statement declares an int variable named…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 595

Multiple choice Primitive Types
What value is stored in result?…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 596

Multiple choice Primitive Types
A teacher has 72 tickets and puts 5 tickets in each complete packet. Which pair…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 597

Multiple choice Primitive Types
A sensor takes four readings per minute. Which value for readings makes completeMinutes and preciseMinutes contain the…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 598

Multiple choice Primitive Types
A student expects rate to contain 5.25 after these statements, but it contains 5.0.…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 599

Multiple choice Primitive Types
What is printed by the following code? int first = 27 / 4 * 4;…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 600

Multiple choice Primitive Types
The int variables amount and size satisfy 0 <= amount <= 200 and 1…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 591 of 776
Page 60 of 78