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.

Subtopic: Using Text Files Clear filter

Questions 1–10 of 181
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10

Question 1

Multiple choice Using Text Files
Which class is commonly used…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 2

Multiple choice Using Text Files
Which import statement is…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 3

Multiple choice Using Text Files
Which Scanner method…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 4

Multiple choice Using Text Files
What does…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 5

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 6

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 7

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 8

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 9

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 10

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 1 of 181
Page 1 of 19