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,861–1,870 of 2,811
  1. 1861
  2. 1862
  3. 1863
  4. 1864
  5. 1865
  6. 1866
  7. 1867
  8. 1868
  9. 1869
  10. 1870

Question 1861

Multiple choice Unit 4: Data Collections
How many element comparisons does…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 1862

Multiple choice Unit 4: Data Collections
How does ascending…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 1863

Multiple choice Unit 4: Data Collections
When is standard insertion sort…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 1864

Multiple choice Unit 4: Data Collections
Which of the following…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 1865

Multiple choice Unit 4: Data Collections
Which of the following are valid arrays? I. int[] coolArray = {1, 2, 3}; II.…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 1866

Multiple choice Unit 4: Data Collections
What is the output of the following program? public class SayHello { public void run() { String stringArray[] =…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 1867

Multiple choice Unit 4: Data Collections
You are working at the frozen yogurt shop in the mall. Your boss asks you to count how many flavors have the word chocolate in their name. You begin going…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 1868

Multiple choice Unit 4: Data Collections
What value does mysteryNumber hold afterward? int mysteryNumber = 0…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 1869

Multiple choice Unit 4: Data Collections
What does gameBoard contain afterward? int WIDTH=3, HEIGHT=3…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 1870

Multiple choice Unit 4: Data Collections
What is arr [4] afterward? int[]…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 1,861 of 2,811
Page 187 of 282