
CodeHS 5.4 & 5.5 ArrayList Stuff
Authored by Aaron Pavao
Computers
9th - 12th Grade
Used 14+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Arrays have a fixed size.
true
false
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ArrayLists have a fixed size.
true
false
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
How do we set up a class to use ArrayLists?
Select all that apply.
import java.util.*;
import java.lang.*;
import java.lang.ArrayList;
import java.ArrayList.*;
import java.util.ArrayList;
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Write a line of code to add the value 23 to the end of ArrayList foo.
5.
FILL IN THE BLANK QUESTION
0 sec • 1 pt
Write a line of code to change the value at index 5 in the ArrayList foo to 42.
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Write a line of code to retrieve the value at index 9 from the ArrayList foo and assign it to the int bar.
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Write a line of code to get the length of ArrayList foo.
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?
Similar Resources on Wayground
10 questions
IT Quiz
Quiz
•
11th - 12th Grade
10 questions
PC1.8 Evaluate computer program
Quiz
•
9th Grade
15 questions
Coding Quiz
Quiz
•
6th - 10th Grade
15 questions
Problem Solving : Design Solution
Quiz
•
12th Grade
10 questions
Python with DataScience
Quiz
•
7th Grade - University
13 questions
Software and Computer Care Quiz
Quiz
•
9th Grade
10 questions
Computer System
Quiz
•
8th - 9th Grade
10 questions
KISI KISI
Quiz
•
10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade