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
21 questions
ИНФО 2-АЙ 3-АПТА КУИЗИЗЗ

Quiz
•
11th Grade
20 questions
AUTOCAD BASICS

Quiz
•
9th - 12th Grade
18 questions
Capitvlvm Secvndvm

Quiz
•
12th Grade
18 questions
Troia, a queda de uma cidade

Quiz
•
9th Grade
25 questions
C Programming

Quiz
•
12th Grade - University
15 questions
Computer Hardware

Quiz
•
11th - 12th Grade
17 questions
Elementele de bază ale limbajului C++

Quiz
•
10th Grade
20 questions
CS LEAGUE QUIZZ 1

Quiz
•
1st - 9th 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 Other
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
10 questions
Impact of 9/11 and the War on Terror

Interactive video
•
10th - 12th Grade
20 questions
Biomolecules

Quiz
•
9th Grade
21 questions
Lab Safety

Quiz
•
10th Grade