APCS A - Array 6.1,6.2,6.3,6.

Quiz
•
Computers
•
9th - 12th Grade
•
Easy
Wayground Content
Used 6+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true about arrays in Java? They are fixed in size, They are dynamic, They can grow automatically, You can add/remove elements, No index-based access
They are fixed in size
They are dynamic
They can grow automatically
You can add/remove elements
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default value of an int array element in Java?
-1
0
null
undefined
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Can you store null in an object array?
Yes
No
Only in certain programming languages
Only if the array is initialized
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How are arrays stored in memory in Java?
Stack
Heap
Register
Cache
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which exception is thrown for accessing an array index out of bounds?
IndexOutOfRangeException
OutOfMemoryError
ArrayIndexOutOfBoundsException
IllegalArgumentException
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you loop through an array?
for (int i : arr)
for (i = 0; i < arr.length; i++)
foreach (int i in arr)
for (int i = 0; i < arr.size(); i++)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you reverse an array in Java?
Using the reverse() method
Custom code or loop
Using the sort() method
Using the shuffle() method
Create a free account and access millions of resources
Similar Resources on Wayground
24 questions
Основы C#

Quiz
•
1st - 12th Grade
20 questions
array

Quiz
•
10th Grade
15 questions
Java Fundamentals

Quiz
•
12th Grade
23 questions
Linear Search Algorithm

Quiz
•
11th Grade
15 questions
JavaScript Basics

Quiz
•
12th Grade - University
15 questions
EX 23: Java Arrays

Quiz
•
12th Grade
25 questions
Java Dasturlash Quiz

Quiz
•
11th Grade
15 questions
Java Arrays Prt 1Quiz

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