Arrays

Quiz
•
Other
•
9th - 12th Grade
•
Medium
Brianna Kane
Used 69+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Which of the following is FALSE about arrays on Java
A java array is always an object
Length of array can be changed after creation of array
Arrays in Java are always allocated on heap
2.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What is the length of the following array: byte[] data = { 12, 34, 9, 0, -62, 88 };
1
5
6
12
3.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
4.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What are the legal indexes for the array ar, given the following declaration:
int[] ar = {2, 4, 6, 8 };
0, 1, 2, 3
1, 2, 3, 4
2, 4, 6, 8
0, 2, 4, 6
5.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
System.out.println("Number: " + numArray[2]);
6.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
System.out.println("Number: " + numArray[0]);
7.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
System.out.println("Number: " + numArray[numArray.length - 1]);
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Data Analyst - Pretest

Quiz
•
12th Grade
25 questions
PEMROGRAMAN DASAR

Quiz
•
10th Grade
20 questions
SAINS KOMPUTER T4

Quiz
•
12th Grade
20 questions
Accountancy

Quiz
•
12th Grade
15 questions
28.02 C sharp

Quiz
•
12th Grade
17 questions
JavaScript and Graphics

Quiz
•
12th Grade
20 questions
Season 5 #Spaic Python Weekly Quiz

Quiz
•
KG - Professional Dev...
23 questions
APCS A Java Arrays vs ArrayLists

Quiz
•
10th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Other
50 questions
Trivia 7/25

Quiz
•
12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
6 questions
RL.10.1 Cite Evidence

Quiz
•
10th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
14 questions
Algebra 1 SOL Review #1

Quiz
•
9th Grade