Verityprep
Question Bank · Unit 1

AP® Computer Science A Using Objects and Methods Multiple Choice Questions

Work through AP Computer Science A multiple-choice 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 71–80 of 681
  1. 71
  2. 72
  3. 73
  4. 74
  5. 75
  6. 76
  7. 77
  8. 78
  9. 79
  10. 80

Question 71

Multiple choice Primitive Types
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 Primitive Types
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 Primitive Types
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 Primitive Types
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 Primitive Types
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 Primitive Types
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 Primitive Types
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 Primitive Types
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 Primitive Types
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 Primitive Types
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 681
Page 8 of 69