Verityprep
Question Bank · Unit 4

AP® Computer Science A Data Collections Multiple Choice Questions

Work through AP Computer Science A multiple-choice 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.

Subtopic: Arrays Clear filter

Questions 61–70 of 300
  1. 61
  2. 62
  3. 63
  4. 64
  5. 65
  6. 66
  7. 67
  8. 68
  9. 69
  10. 70

Question 61

Multiple choice Arrays
Which correctly replaces Carrot and Lettuce with Grape and Blueberry?…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 62

Multiple choice Arrays
How do you initialize an int array…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 63

Multiple choice Arrays
Which initializes a double array…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 64

Multiple choice Arrays
What is the last valid index…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 65

Multiple choice Arrays
What is printed? int x=25 int[] numArray=new int[x] x=100…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 66

Multiple choice Arrays
Which declares myScore from the THIRD scores…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 67

Multiple choice Arrays
What is printed, one number per line?…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 68

Multiple choice Arrays
What occurs? int[]…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 69

Multiple choice Arrays
What is printed? int[]…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 70

Multiple choice Arrays
What is printed? int[]…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 61 of 300
Page 7 of 30