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,141–2,150 of 2,811
  1. 2141
  2. 2142
  3. 2143
  4. 2144
  5. 2145
  6. 2146
  7. 2147
  8. 2148
  9. 2149
  10. 2150

Question 2141

Multiple choice Unit 4: Data Collections
Approximately how many midpoint inspections are needed…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 2142

Multiple choice Unit 4: Data Collections
For distinct values, which input gives the maximum shifts in standard insertion sort? I: already in…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 2143

Multiple choice Unit 4: Data Collections
What is closest to the maximum…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 2144

Multiple choice Unit 4: Data Collections
For large n and constant-cost comparisons, order these by average running-time growth: I…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 2145

Multiple choice Unit 4: Data Collections
In a Hi-Lo guessing game, a uniformly selected integer lies in1..100. Each incorrect guess receives truthful higher/lower…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 2146

Multiple choice Unit 4: Data Collections
In the same1..100 game, the computer tests1,2,... and must actually…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 2147

Multiple choice Unit 4: Data Collections
A target is uniformly distributed over1..100. Sequential search submits1,2,...…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 2148

Multiple choice Unit 4: Data Collections
Assume list is an ArrayList<Integer> that has been correctly constructed and populated with the following items. [13, 7, 0, 5, 12, 6, 10] Consider the following…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 2149

Multiple choice Unit 4: Data Collections
Consider the following code segment. ArrayList<String> supernatural = new ArrayList<String>(); supernatural.add("Vampire"); supernatural.add("Werewolf");…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 2150

Multiple choice Unit 4: Data Collections
Suppose that grid has been initialized as n-by-n 2-D array of integers.…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 2,141 of 2,811
Page 215 of 282