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
24 questions
RL Calculus - Area and Volume

Quiz
•
11th - 12th Grade
17 questions
twilight saga

Quiz
•
10th Grade
15 questions
Soal Quis Struktur Data Array

Quiz
•
11th Grade
15 questions
Word - Inserção de texto

Quiz
•
7th - 9th Grade
15 questions
28.02 C sharp

Quiz
•
12th Grade
20 questions
Accountancy

Quiz
•
12th Grade
15 questions
bài tập mảng tiết 1

Quiz
•
11th Grade
21 questions
Java quiz

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
12 questions
Graphing Inequalities on a Number Line

Quiz
•
9th Grade
20 questions
Cell Organelles

Quiz
•
9th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
15 questions
Two Step Equations

Quiz
•
9th Grade