
Java Arrays
Authored by Stephanie Baier
Computers
9th - 12th Grade
Used 198+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Which of the following will create an out of bounds error? (select 2)
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which value is not valid as an index for the following array?
0
5
10
9
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Java array indexes start at 0.
True
False
4.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
What is the value of nums[3]?
(a)
5.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Which is the correct way to declare an array of 10 integers? (select 2)
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the correct way to assign 4 to the 3rd position of the nums1 array?
7.
FILL IN THE BLANKS QUESTION
30 sec • 1 pt
What is the index of the 12 in this array?
(a)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?