APCSA Unit 7

Quiz
•
Computers
•
9th - 12th Grade
•
Medium

Justin Loomis
Used 2+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these declarations will cause an error?
ArrayList<int> list = new ArrayList<>();
ArrayList<Integer> list = new ArrayList<>();
ArrayList<Object> list = new ArrayList<>();
ArrayList<Boolean> list = new ArrayList<>();
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is printed when the code segment executes?
2
13
15
20
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This method is intended to remove all values in list which are equal to n. Which of these describes the functionality of the method.
The method does not function as intended because it skips elements while looping.
The method does not function as intended because it should use == instead of .equals
The method does not function as intended because elements cannot be removed from an ArrayList
The method functions as intended.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the contents of myList after the code segment executes?
["dairy","hay","pesticide"]
["dairy","hay","ranch"]
["poultry","pesticide","ranch"]
["ranch","poultry","pesticide"]
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is printed when the code segment executes?
[1,4,7]
[6,4]
[4,9]
[4,7,9]
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these best describes the list of values returned by this mystery method?
the absolute values of the values in the given array
the frequencies of the values in the given array
the cumulative sums of the values in the given array
the indices of the values int he given array
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What algorithm is implemented by this mystery method?
binary search
linear search
insertion sort
selection sort
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
CS Edexcel 1.2d Bubble and Merge Sort

Quiz
•
9th - 10th Grade
14 questions
Metode Pengurutan dalam Informatika

Quiz
•
10th Grade
10 questions
Understanding Insertion Sort Algorithm

Quiz
•
12th Grade
10 questions
CS Python Fundamentals 8.8 Lesson Quiz

Quiz
•
9th - 12th Grade
12 questions
Search Algorithms

Quiz
•
9th - 11th Grade
12 questions
Sort and Searching Algorithm Assessment

Quiz
•
10th Grade
15 questions
Жанар214

Quiz
•
9th Grade - University
10 questions
Algorithm Complexity Quiz

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade