Java Array

Quiz
•
10th Grade
•
Medium
Nishat Khimani
Used 862+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ar
, given the following declaration:int[] ar = {2, 4, 6, 8 }
0, 1, 2, 3
1, 2, 3, 4
0, 2, 4, 6
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the first index of an array?
1
0
2
3
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
For the array:
int stats[3];
What is the range of the index?
0 to 3
0 to 2
1 to 3
0 to 4
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int [] nums = {2, 3, 5, 8, 9, 11};
How would you access the fourth element in nums?
nums[4]
nums[3]
nums(4)
nums(3)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Arrays

Quiz
•
10th - 12th Grade
20 questions
Arrays

Quiz
•
9th - 12th Grade
14 questions
Exploring Computer Science

Quiz
•
10th - 12th Grade
15 questions
2D Arrays

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

Quiz
•
10th Grade
15 questions
Microbit (python)

Quiz
•
8th - 10th Grade
12 questions
Unit 7 - ArrayList - Test Review

Quiz
•
9th - 12th Grade
10 questions
Programming

Quiz
•
1st - 10th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade