CSA Unit 7 Test

Quiz
•
Computers
•
9th Grade
•
Medium
Kevin Kamrath
Used 4+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the proper way to get the number of items in an ArrayList called list?
list.length
list.size
list.length()
list.size()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code print?
Hello
World
list[0]
There will be a compiler error
None of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is wrong with the following code?
It will throw an IndexOutOfBoundsException.
You cannot use int as the type in an ArrayList.
list is a reserved word, so you can’t call the variable that.
You need to define the new ArrayList on a new line of code.
Nothing. The above code is correct.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code print?
0
5
6
9
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code print?
3
coding
in
Java
6.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Consider the following statement:
I
II
III
None
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would the proper initialization and declaration be for an ArrayList myTemps meant to store precise temperature measurements?
ArrayList<double> myTemps = new ArrayList<double>();
ArrayList<Double> myTemps = new ArrayList<Double>();
ArrayList<Integer> myTemps = new ArrayList<Integer>();
ArrayList<double> myTemps = ArrayList<double>();
ArrayList<Double> myTemps = ArrayList<Double>();
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
System Admin Linux Ch 14 Quiz Review

Quiz
•
9th - 12th Grade
15 questions
AP CSP Algorithms & Programming (College Board Style)

Quiz
•
9th - 12th Grade
18 questions
Algorithms Unit 2.1 Review

Quiz
•
8th - 10th Grade
22 questions
Program Development - Python: Lists

Quiz
•
8th - 10th Grade
20 questions
AQA GCSE Computer Science - 3.1.2 Efficiency of algorithms

Quiz
•
8th - 10th Grade
20 questions
Python - lists,loops,basics

Quiz
•
9th - 11th Grade
20 questions
Pemikiran Komputasional untuk Siswa Kelas 9

Quiz
•
9th Grade - University
18 questions
Python: Review

Quiz
•
9th 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
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