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 2,441–2,450 of 2,811
  1. 2441
  2. 2442
  3. 2443
  4. 2444
  5. 2445
  6. 2446
  7. 2447
  8. 2448
  9. 2449
  10. 2450

Question 2441

Multiple choice Unit 4: Data Collections
Which statement about…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 2442

Multiple choice Unit 4: Data Collections
If you call nextInt() but the…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 2443

Multiple choice Unit 4: Data Collections
File contains: true false true What will the loop below print? while…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 2444

Multiple choice Unit 4: Data Collections
Which of these…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 2445

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

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 2446

Multiple choice Unit 4: Data Collections
What happens if you…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 2447

Multiple choice Unit 4: Data Collections
What does this code print for input file: Hello World…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 2448

Multiple choice Unit 4: Data Collections
Which is NOT a…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 2449

Multiple choice Unit 4: Data Collections
With Locale.US, input tokens are3.5,notANumber,7.2. What does the loop…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 2450

Multiple choice Unit 4: Data Collections
What does this code output for file: A-B C-D while (scan.hasNext()) { String[] parts =…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 2,441 of 2,811
Page 245 of 282