ArrayList<Integer>Stuff = new ArrayList<Integer>();
out.print(Stuff);
1st Period Feb 22, 2024 - Virtual AP CompSci AP
Quiz
•
Computers
•
9th - 12th Grade
•
Easy
Scotty Johnson
Used 5+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ArrayList<Integer>Stuff = new ArrayList<Integer>();
out.print(Stuff);
0
[0]
[]
null
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ArrayList<Integer>Stuff = new ArrayList<Integer>();
out.print(Stuff.size());
0
[0]
[]
null
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ArrayList<Integer>Stuff = new ArrayList<Integer>();
Assume Stuff = [3, 6, 12, 5];
out.print(Stuff.get(2));
3
6
12
5
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ArrayList<Integer>Stuff = new ArrayList<Integer>();
Assume Stuff = [3, 6, 12, 5];
out.print(Stuff.size());
3
[3]
4
[4]
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ArrayList<Integer>Stuff = new ArrayList<Integer>();
Stuff.add(7);
Stuff.add(2);
Stuff.add(5);
out.print(Stuff);
[2, 5 ,7]
[5, 2 ,7]
[7, 5, 2]
[7, 2, 5]
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ArrayList<Integer>Stuff = new ArrayList<Integer>();
Assume Stuff = [3, 6, 12, 5];
Collections.sort(Stuff);
out.print(Stuff);
[3, 6, 12, 5]
[12, 6, 5, 3]
[3]
[3, 5, 6, 12]
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ArrayList<Integer>Stuff = new ArrayList<Integer>();
Assume Stuff = [3, 6, 12, 5];
Stuff.remove(0);
out.print(Stuff);
[6, 12, 5]
[3]
[6]
[3, 6, 12]
22 questions
одномерные массивы
Quiz
•
10th Grade
20 questions
Javascript
Quiz
•
11th Grade
20 questions
Array
Quiz
•
10th - 12th Grade
20 questions
Bài 11: KIỂU MẢNG MỘT CHỀU
Quiz
•
1st - 10th Grade
20 questions
CSA Unit 7 Test
Quiz
•
9th Grade
20 questions
AP CS PRINCIPLES GENERAL
Quiz
•
11th Grade
20 questions
C++
Quiz
•
11th Grade
20 questions
Python - lists,loops,basics
Quiz
•
9th - 11th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression
Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing
Quiz
•
9th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University