Verityprep
Question Bank

AP® Computer Science A FRQ Practice: Free-Response Questions with Solutions

Work through AP Computer Science A free-response 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 211–220 of 329
  1. 211
  2. 212
  3. 213
  4. 214
  5. 215
  6. 216
  7. 217
  8. 218
  9. 219
  10. 220

Question 211

Free response Unit 4: Data Collections
This question involves a two-dimensional array of integers that represents a collection of randomly generated data. A partial declaration of the Data class is…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 212

Free response Unit 4: Data Collections
Consider a system for processing names and addresses from a mailing list. A Recipients class will be used as part of this system. The lines in the mailing list…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 213

Free response Unit 4: Data Collections
A puzzle-solving competition is held in a large hall with a two-dimensional arrangement of contestants. Each rectangle below represents one contestant. A…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 214

Free response Unit 4: Data Collections
Consider a note keeper object that is designed to store and manipulate a list of short notes. Here are some typical notes: pick up drycleaning special dog chow…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 215

Free response Unit 4: Data Collections
Consider the problem of keeping track of the available seats in a theater. Theater seats can be represented with a two-dimensional array of integers, where a…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 216

Free response Unit 4: Data Collections
A text-editing program uses a Sentence class that manipulates a single sentence. A sentence contains letters, blanks, and punctuation. The first character in a…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 217

Free response Unit 4: Data Collections
This question manipulates a two-dimensional array. In parts (a) and (b) you will write two methods of a Matrix class. In doing so, you will use the reverseArray…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 218

Free response Unit 4: Data Collections
Determine if the rate is increasing. If a stock price is increasing, that means the value of it is going up. If the rate that the stock price is increasing is…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 219

Free response Unit 4: Data Collections
Free-Response Practice: Modifying a 2D array Write a method that takes a 2D array as a parameter and returns a new 2D array. The even rows of the new array…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 220

Free response Unit 4: Data Collections
Free-Response Practice: Filling a 2D array Write a method that will fill in a 2D boolean array with a checkerboard pattern of alternating true and false. The…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 211 of 329
Page 22 of 33