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,941–1,950 of 2,811
  1. 1941
  2. 1942
  3. 1943
  4. 1944
  5. 1945
  6. 1946
  7. 1947
  8. 1948
  9. 1949
  10. 1950

Question 1941

Multiple choice Unit 4: Data Collections
Which of the following traversals would print all of the…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 1942

Multiple choice Unit 4: Data Collections
Which of the following traversals would print all of the…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 1943

Multiple choice Unit 4: Data Collections
Consider the following code segment: int[][] nums = {{1, 2, 3}, {100, 200, 300}, {4, 6, 5}, {7, 8, 6}}; int sum = 0; for (int row = 0;row < nums.length /…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 1944

Multiple choice Unit 4: Data Collections
Consider the following code segment: int[][] mystery = new int[3][3]; int counter = 0; while (counter < mystery.length) { for (int col = 0;col <…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 1945

Multiple choice Unit 4: Data Collections
What is the proper syntax to…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 1946

Multiple choice Unit 4: Data Collections
int[][] grid = new int[5][3];…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 1947

Multiple choice Unit 4: Data Collections
A 2D array is initialized: int [][] array = {{1, 2, 3}, {4, 5,…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 1948

Multiple choice Unit 4: Data Collections
A 2D double array is declared and initialized to track the terrain of a city park. Each value in the 2D array represents the height of a particular latitude and…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 1949

Multiple choice Unit 4: Data Collections
A 2D double array terrainMap is declared and initialized to track the terrain of a city park. Each value in the 2D array represents the height of a particular…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 1950

Multiple choice Unit 4: Data Collections
A 2D double array terrainMap is declared and initialized to track the terrain of a city park. Each value in the 2D array represents the height of a particular…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 1,941 of 2,811
Page 195 of 282