AP CS ArrayLists

Flashcard
•
Computers
•
12th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

14 questions
Show all answers
1.
FLASHCARD QUESTION
Front
How do I find the number of items in an array named colors?
Back
colors.length
2.
FLASHCARD QUESTION
Front
How do I find the number of items in an ArrayList named schools?
Back
schools.size()
3.
FLASHCARD QUESTION
Front
What will the following code print? Options: "Richland", "Bombers", There will be a compiler error, None of the above
Back
"Richland"
4.
FLASHCARD QUESTION
Front
What will the following code print out?
Back
12
5.
FLASHCARD QUESTION
Front
What will print out with the following code? Options: cuddler, a, dog, my
Back
a
6.
FLASHCARD QUESTION
Front
What can I write in the /* Missing Code */ so that the following statement works as intended?
ArrayList<String> newList = /* Missing Code */
Back
II and III
7.
FLASHCARD QUESTION
Front
Which of the following would be the value of nums after the code has been executed? Options: [20, 40, 90, 50], [10, 20, 30, 40, 50], [20, 30, 90, 50], [20, 40, 50, 90]
Back
[20, 30, 90, 50]
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
6.6 Properties of Definite Integrals

Flashcard
•
12th Grade
15 questions
C++ Programming wk 13

Flashcard
•
Professional Development
11 questions
Java Boolean Statements

Flashcard
•
11th Grade
11 questions
HTML & CSS

Flashcard
•
10th - 12th Grade
16 questions
3.6 Debugging and Problem Solving Flashcard

Flashcard
•
12th Grade
13 questions
Purchasing Flashcard 3/26/25

Flashcard
•
KG - University
15 questions
1.1.4 Review

Flashcard
•
12th Grade
15 questions
Understanding Pseudocode Concepts

Flashcard
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade