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,931–1,940 of 2,811
  1. 1931
  2. 1932
  3. 1933
  4. 1934
  5. 1935
  6. 1936
  7. 1937
  8. 1938
  9. 1939
  10. 1940

Question 1931

Multiple choice Unit 4: Data Collections
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.

Question 1932

Multiple choice Unit 4: Data Collections
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.

Question 1933

Multiple choice Unit 4: Data Collections
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.

Question 1934

Multiple choice Unit 4: Data Collections
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.

Question 1935

Multiple choice Unit 4: Data Collections
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.

Question 1936

Multiple choice Unit 4: Data Collections
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.

Question 1937

Multiple choice Unit 4: Data Collections
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.

Question 1938

Multiple choice Unit 4: Data Collections
Consider the following code segment: String[][] word = {{"DOE", "A", "DEER"}, {"A", "FEMALE", "DEER"}, {"RAY", "A", "DROP"}, {"OF", "GOLDEN", "SUN"}}; int…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 1939

Multiple choice Unit 4: Data Collections
Consider the following code segment: int[][] arr = {{10, 9, 8}, {7, 6, 5}, {4, 3, 2}}; for (int row = 0;row < arr.length;row++) { for (int…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 1940

Multiple choice Unit 4: Data Collections
Consider the following method, sumTo10, that traverses a 2D array checking to see if the sum of all integers in each array are equal to 10. The method will…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 1,931 of 2,811
Page 194 of 282