Verityprep
Question Bank · Unit 4

AP® Computer Science A Data Collections FRQ

Work through AP Computer Science A free-response 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: Arraylists Clear filter

Questions 11–20 of 52
  1. 11
  2. 12
  3. 13
  4. 14
  5. 15
  6. 16
  7. 17
  8. 18
  9. 19
  10. 20

Question 11

Free response Arraylists
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 12

Free response Arraylists
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 13

Free response Arraylists
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 14

Free response Arraylists
This question involves the process of taking a list of words, called wordList, and producing a formatted string of a specified length. The list wordList…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 15

Free response Arraylists
In an International ballroom dancing competition, competitors are scored by a panel of judges on a scale from 0 to 100. The final score for each couple is…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 16

Free response Arraylists
This question involves the manipulation and analysis of a list of words. The following WordChecker class contains an ArrayList<String> to be analyzed and…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 17

Free response Arraylists
WordList stores strings of letters in myList. Implement both methods while preserving the order of words that remain. public class WordList { private ArrayList…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 18

Free response Arraylists
An appointment scheduler uses TimeInterval.overlapsWith to determine overlap. Appointment exposes its TimeInterval. DailySchedule stores a list of…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 19

Free response Arraylists
StudentAnswerSheet holds one-character answers in question order. A correct answer earns1 point, an incorrect answer loses0.25 point, and "?" earns0.…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 20

Free response Arraylists
Time.minutesUntil(other) returns the signed difference from this time to other in minutes. All flights occur on the same day and are stored in chronological…

Sign up now. It's free!

See the full question with its answer and worked solution.

Question 11 of 52
Page 2 of 6