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 751–760 of 2,811
  1. 751
  2. 752
  3. 753
  4. 754
  5. 755
  6. 756
  7. 757
  8. 758
  9. 759
  10. 760

Question 751

Multiple choice Unit 2: Selection and Iteration
What does this Java…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 752

Multiple choice Unit 2: Selection and Iteration
Consider the code snippet below. String name = "Karel"; String checkName = new String("Karel"); boolean nameMatches = name == checkName; Note that we forced…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 753

Multiple choice Unit 2: Selection and Iteration
What is the…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 754

Multiple choice Unit 2: Selection and Iteration
Which of the following…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 755

Multiple choice Unit 2: Selection and Iteration
Why do we use if…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 756

Multiple choice Unit 2: Selection and Iteration
Which if statement…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 757

Multiple choice Unit 2: Selection and Iteration
What is the output of this program? int phLevel = 9; if(phLevel < 7) { System.out.println("It is acidic!"); }…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 758

Multiple choice Unit 2: Selection and Iteration
What is the output of this program? int numTreeRings = 50; System.out.println("How old is the tree?"); if(numTreeRings < 20) {…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 759

Multiple choice Unit 2: Selection and Iteration
Consider the following code snippet if (x == y) { // Statement A } else…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 760

Multiple choice Unit 2: Selection and Iteration
Consider the following code snippet if (x == y) { // Statement A } else…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 751 of 2,811
Page 76 of 282