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 1,901–1,910 of 2,811
  1. 1901
  2. 1902
  3. 1903
  4. 1904
  5. 1905
  6. 1906
  7. 1907
  8. 1908
  9. 1909
  10. 1910

Question 1901

Multiple choice Unit 4: Data Collections
What does the segment print? int[]…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 1902

Multiple choice Unit 4: Data Collections
What value is printed? int[]…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 1903

Multiple choice Unit 4: Data Collections
What does the segment test for? int[]…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 1904

Multiple choice Unit 4: Data Collections
What is printed? String[]…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 1905

Multiple choice Unit 4: Data Collections
How do you obtain the number…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 1906

Multiple choice Unit 4: Data Collections
What is printed? int[] numbers={1,2,3,4,5}…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 1907

Multiple choice Unit 4: Data Collections
What happens? ArrayList list=new ArrayList ()…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 1908

Multiple choice Unit 4: Data Collections
What is wrong with this code? ArrayList list=new…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 1909

Multiple choice Unit 4: Data Collections
What is printed? ArrayList list=new ArrayList () list.add(0); list.add(1);…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 1910

Multiple choice Unit 4: Data Collections
What is printed? ArrayList list=new ArrayList () list.add("I"); list.add("love");…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 1,901 of 2,811
Page 191 of 282