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.
All 1,222
Multiple choice 1,079
Free response 143
Subtopic: 2D Arrays
Clear filter
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.
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.
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.
Given the following: double[][] something = { {2.5, 6.8, 8.3, 2.3, 0.0}, {6.1, 10.2, 1.3,…
Sign up now. It's free!
See the full question with its answer and worked solution.
Given the following: double[][] something = { {2.5, 6.8, 8.3, 2.3, 0.0}, {6.1, 10.2, 1.3, -…
Sign up now. It's free!
See the full question with its answer and worked solution.
Given the following: double[][] something = { {2.5, 6.8, 8.3, 2.3, 0.0}, {6.1, 10.2, 1.3, - 2.5, - 9.9}, {1.1, 2.3, 5.8, 13.21, 34.55} }; We want to replace the…
Sign up now. It's free!
See the full question with its answer and worked solution.
Given the following: String[][] poem = { {"I", "am", "the", "cookie", "monster."}, {"Would", "you", "like", "a", "cookie?"}, {"COOOOKIE", "OM", "NOM", "NOM",…
Sign up now. It's free!
See the full question with its answer and worked solution.
Consider the following code segment, which is intended to create and initialize the 2D array words where the length of each word corresponds to the product of…
Sign up now. It's free!
See the full question with its answer and worked solution.
Consider the following code segment, which is intended to display the word boards. String[][] twoLetters = {{"ab", "ac", "ad", "ar", "af"}, {"bo", "be", "bi",…
Sign up now. It's free!
See the full question with its answer and worked solution.
Consider the following code segment: int[][] nums = new int[5][5]; for (int i = 0;i< nums.length;i++) { for (int j =…
Sign up now. It's free!
See the full question with its answer and worked solution.
Page 3 of 20
Get your FRQs graded in the Student Portal
In the Verityprep Student Portal, answer the FRQs of AP practice and past exams by typing or uploading a photo. A teacher grades them with that year's official College Board scoring guidelines and gives you an estimated 1–5 score.
Join Verityprep now
AP® and Advanced Placement® are registered trademarks of the College Board, which is not affiliated with, and does not endorse, Verityprep. Names are used for identification purposes only.