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
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
13 questions
Q2.1 Piecewise Functions (QZ)
Flashcard
•
12th Grade
10 questions
Accounting Cycle
Flashcard
•
University
8 questions
Civil Liberties
Flashcard
•
11th Grade
15 questions
2A: Astronomy Fall Final (2024)
Flashcard
•
12th Grade
15 questions
NY Regents Protein synthesis
Flashcard
•
12th Grade
15 questions
Gene mutations
Flashcard
•
12th Grade
15 questions
Levels of Organization/Biomes Flashcard
Flashcard
•
12th Grade
10 questions
Tugas Pertemuan 3 - Fintech
Flashcard
•
University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade