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]
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
20 questions
2.3.1 Graph Traversal & Path Finding Algorithms
Quiz
•
12th Grade - University
20 questions
Контрольная работа
Quiz
•
9th Grade
20 questions
9-Класс ТЕСТ 30-34
Quiz
•
9th Grade
21 questions
DDL dan DML
Quiz
•
12th Grade
20 questions
Python test 2
Quiz
•
6th - 10th Grade
22 questions
одномерные массивы
Quiz
•
10th Grade
20 questions
ภาษาซีif
Quiz
•
11th Grade
20 questions
ÔN TẬP HỌC KÌ 1
Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
