Verityprep
Question Bank

AP® Computer Science A Practice Questions

Work through AP Computer Science A practice 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 2,691–2,700 of 3,140
  1. 2691
  2. 2692
  3. 2693
  4. 2694
  5. 2695
  6. 2696
  7. 2697
  8. 2698
  9. 2699
  10. 2700

Question 2691

Multiple choice Unit 4: Data Collections
Which method is used to…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 2692

Multiple choice Unit 4: Data Collections
Which listed operation can throw a checked…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 2693

Multiple choice Unit 4: Data Collections
For an open Scanner reading a completely…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 2694

Multiple choice Unit 4: Data Collections
If a method propagates rather than catches a checked…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 2695

Multiple choice Unit 4: Data Collections
What is printed? String s = "alpha-beta-gamma"; String[] parts =…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 2696

Multiple choice Unit 4: Data Collections
What is printed? String s="CS:AP:Java"; String[]…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 2697

Multiple choice Unit 4: Data Collections
Which prints exactly…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 2698

Multiple choice Unit 4: Data Collections
What is printed? String s="A->B->C->D"; String[]…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 2699

Multiple choice Unit 4: Data Collections
Which string delimiter fills the blank so the code prints Row0:red, Row1:green and Row2:blue on separate lines? String…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 2700

Multiple choice Unit 4: Data Collections
What is printed? String s="id=42;user=alice;role=admin"; String[] kv=s.split(";"); String…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 2,691 of 3,140
Page 270 of 314