Arrays

Flashcard
•
Computers
•
11th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

5 questions
Show all answers
1.
FLASHCARD QUESTION
Front
In Java, what is the starting index of an array?
Back
0
2.
FLASHCARD QUESTION
Front
What is the main advantage of using arrays over individual variables? Options: 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
Back
Arrays can hold multiple values of the same data type
3.
FLASHCARD QUESTION
Front
What happens to the values in an integer array when it's first created without initialization?
Back
The values in the integer array are set to zero.
4.
FLASHCARD QUESTION
Front
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);
Back
int[] x(4);
5.
FLASHCARD QUESTION
Front
What type of exception will you get if you try to access an array index that doesn't exist?
Back
ArrayIndexOutOfBoundsException
Similar Resources on Wayground
5 questions
Enhanced For Loops

Flashcard
•
10th - 12th Grade
7 questions
Java Basics #2

Flashcard
•
10th - 12th Grade
10 questions
AP CSP Semester Exam Review

Flashcard
•
9th - 12th Grade
10 questions
AP CSP Semester Exam

Flashcard
•
9th - 12th Grade
11 questions
Java ArrayLists

Flashcard
•
10th Grade
5 questions
Intro to Python Project Stem Unit 9 Flashcards

Flashcard
•
9th - 12th Grade
11 questions
Java Boolean Statements

Flashcard
•
11th Grade
5 questions
Arrays

Flashcard
•
11th Grade
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade