Arrays

Interactive Video
•
Computers
•
11th Grade
•
Easy
Myra Deister
Used 4+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Java, what is the starting index of an array?
Depends on the array size
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main advantage of using arrays over individual variables?
Arrays take up less memory
Arrays can store multiple data types
Arrays are faster to process
Arrays can hold multiple values of the same data type
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens to the values in an integer array when it's first created without initialization?
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a valid way to declare and initialize an array in Java?
int[] x = new int[4];
int x[];
x = new int[4];
int[] x = {5, 10, 15, 20};
int[] x(4);
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of exception will you get if you try to access an array index that doesn't exist?
NullPointerException
ArrayIndexOutOfBoundsException
IllegalArgumentException
RuntimeException
Similar Resources on Wayground
10 questions
Arrays Javascript (CodeCademy)

Quiz
•
9th - 12th Grade
6 questions
Topic 4.3 Video 1

Quiz
•
11th Grade
10 questions
Bubble Sort

Quiz
•
11th Grade
10 questions
CSP 1.3.4 1.3.5 Branching and Input/Strings

Quiz
•
10th - 12th Grade
10 questions
Praktik Lintas Bidang (C++)

Quiz
•
11th Grade
10 questions
Prova Programação Back end

Quiz
•
3rd Grade - University
6 questions
Java array

Quiz
•
11th Grade - University
10 questions
Python Testing

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade