
AP CS ArrayLists
Authored by Christina Perry
Computers
12th Grade
Used 24+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
17 questions
Show all answers
1.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
How do I find the number of items in an array named colors?
(a)
2.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
How do I find the number of items in an ArrayList named schools?
(a)
3.
DROPDOWN QUESTION
1 min • 1 pt
How do I create an ArrayList of integers?
ArrayList <Interger> num = (a) ArrayList<Integer>();
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code print?
"Richland"
"Bombers"
There will be a compiler error
None of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code print out?
12
0
14
9
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will print out with the following code?
cuddler
a
dog
my
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What can I write in the /* Missing Code */ so that the following statement works as intended?
ArrayList<String> newList = /* Missing Code */
I only
III Only
I and III
II and III
Access all questions and much more by creating a free account
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
Already have an account?