Verityprep
Question Bank · Unit 4

AP® Computer Science A Data Collections Practice Questions

Work through AP Computer Science A practice questions on Data Collections, 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 771–780 of 1,222
  1. 771
  2. 772
  3. 773
  4. 774
  5. 775
  6. 776
  7. 777
  8. 778
  9. 779
  10. 780

Question 771

Multiple choice Using Text Files
What type does…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 772

Multiple choice Using Text Files
If a file contains the word true, which Scanner…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 773

Multiple choice Using Text Files
Which method is used to…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 774

Multiple choice Using Text Files
Which listed operation can throw a checked…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 775

Multiple choice Using Text Files
For an open Scanner reading a completely…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 776

Multiple choice Using Text Files
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 777

Multiple choice Using Text Files
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 778

Multiple choice Using Text Files
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 779

Multiple choice Using Text Files
Which prints exactly…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 780

Multiple choice Using Text Files
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 771 of 1,222
Page 78 of 123