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 71–80 of 2,811
  1. 71
  2. 72
  3. 73
  4. 74
  5. 75
  6. 76
  7. 77
  8. 78
  9. 79
  10. 80

Question 71

Multiple choice Unit 1: Using Objects and Methods
Given the following, what will be printed out? int a = 2; int b =…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 72

Multiple choice Unit 1: Using Objects and Methods
The following code is intended to print 8. int x = 23; double y…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 73

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

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 74

Multiple choice Unit 1: Using Objects and Methods
What will this code segment output?…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 75

Multiple choice Unit 1: Using Objects and Methods
Which code segment will print…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 76

Multiple choice Unit 1: Using Objects and Methods
What will this code segment output? public class Printing { public static void main(String[] args) {…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 77

Multiple choice Unit 1: Using Objects and Methods
What is the correct syntax for…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 78

Multiple choice Unit 1: Using Objects and Methods
Which of the following is a proper way to…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 79

Multiple choice Unit 1: Using Objects and Methods
What are the memory values associated with the variables x, y, and z after the code…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 80

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

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 71 of 2,811
Page 8 of 282