ArrayList Quiz Review

Quiz
•
Mathematics
•
10th - 12th Grade
•
Medium
Standards-aligned
David Guy
Used 24+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which index is the last element in an ArrayList called nums at?
nums.length
nums.length-1
nums.size()
nums.size()-1
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
nums[0]
nums[1]
nums.first()
nums.get(0)
nums.get(1)
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
nums[1] = 5;
nums[2] = 5;
nums.set(1, 5);
nums.set(5,1);
nums.set(2, 5);
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
nums.remove(3);
nums.remove(1);
nums.remove(0);
nums.remove(2);
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
nums.add(2, 0);
nums.add(2, 1);
nums.add(0, 2);
nums.add(1, 2);
nums.add(2, 2);
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will print when the following code executes?
[2,3]
[1,2,3]
[1,2]
[1,3]
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will print when the following code executes?
["Sarah", "Destini", "Layla", "Sharrie"]
["Sarah", "Destini", "Anaya", "Layla", "Sharrie"]
["Sarah", "Layla", "Sharrie"]
["Destini", "Layla", "Sharrie", "Sarah"]
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
Lingkaran dan Persamaan Garis Singgung

Quiz
•
10th - 12th Grade
10 questions
XI. Transformasi Geometri 3 - Rotasi

Quiz
•
11th Grade
10 questions
Ôn tập chương 1: Mệnh đề - Tập hợp

Quiz
•
10th Grade
10 questions
Min and Max

Quiz
•
11th - 12th Grade
10 questions
Trigonometri sudut istimewa

Quiz
•
11th Grade
12 questions
Quadratics: Factored Form

Quiz
•
10th - 11th Grade
10 questions
PENCERMINAN (REFLEKSI)

Quiz
•
11th Grade
10 questions
Decimāldaļu reizināšana

Quiz
•
KG - University
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
Discover more resources for Mathematics
10 questions
Decoding New Vocabulary Through Context Clues

Interactive video
•
6th - 10th Grade
20 questions
Parallel lines and transversals

Quiz
•
9th - 12th Grade
9 questions
Geometry and Trigonometry Concepts

Interactive video
•
9th - 12th Grade
31 questions
2.1.3 Angle relationships

Quiz
•
10th - 11th Grade
23 questions
Geometry - Conditional Statements

Quiz
•
9th - 10th Grade
10 questions
Angle Relationships with Parallel Lines and a Transversal

Quiz
•
9th - 12th Grade
17 questions
Parallel lines cut by a transversal

Quiz
•
10th Grade
10 questions
Simplifying Radicals

Quiz
•
10th Grade