Verityprep
Question Bank

AP® Computer Science A Multiple Choice Questions

Work through AP Computer Science A multiple-choice 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 491–500 of 2,811
  1. 491
  2. 492
  3. 493
  4. 494
  5. 495
  6. 496
  7. 497
  8. 498
  9. 499
  10. 500

Question 491

Multiple choice Unit 1: Using Objects and Methods
Which of the following…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 492

Multiple choice Unit 1: Using Objects and Methods
What is printed by the following…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 493

Multiple choice Unit 1: Using Objects and Methods
A programmer wants to swap the values of x and y, using the code below. What…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 494

Multiple choice Unit 1: Using Objects and Methods
A greenhouse program stores the number of trays, a temperature that may have a fractional…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 495

Multiple choice Unit 1: Using Objects and Methods
Each option is considered separately…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 496

Multiple choice Unit 1: Using Objects and Methods
Which statement correctly describes the…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 497

Multiple choice Unit 1: Using Objects and Methods
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 498

Multiple choice Unit 1: Using Objects and Methods
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 499

Multiple choice Unit 1: Using Objects and Methods
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 500

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 491 of 2,811
Page 50 of 282