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 191–200 of 1,222
  1. 191
  2. 192
  3. 193
  4. 194
  5. 195
  6. 196
  7. 197
  8. 198
  9. 199
  10. 200

Question 191

Multiple choice Sorting And Searching
A list is alphabetically sorted. To sort it in reverse alphabetical order, which…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 192

Multiple choice Sorting And Searching
An account list is already sorted by account value. One new account must be…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 193

Multiple choice Arraylists
Which inputs demonstrate that this attempted even-number removal is incorrect?…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 194

Multiple choice Arraylists
What happens? ArrayList list=new ArrayList () list.add(5);…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 195

Multiple choice 2D Arrays
What would be a correct way to…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 196

Multiple choice 2D Arrays
Which is the correct way to construct and assign a 2D…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 197

Multiple choice 2D Arrays
We want to create a 2D double array with 6 rows and 7…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 198

Multiple choice 2D Arrays
Given the following: double[][] something = { {2.5, 6.8, 8.3, 2.3, 0.0}, {6.1, 10.2,…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 199

Multiple choice 2D Arrays
Given the following: double[][] something = { {2.5, 6.8, 8.3, 2.3, 0.0}, {6.1, 10.2,…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 200

Multiple choice 2D Arrays
Given the following: double[][] something = { {2.5, 6.8, 8.3, 2.3, 0.0}, {6.1, 10.2,…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 191 of 1,222
Page 20 of 123