Team 1
0
Team 2
0
Teams
Name
Score
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Loading
10
×
True of False: An array has a fixed length.
True
Oops!
Check
Okay!
Check
10
×
What is the correct statement that gives the length of the array data?
data.length
Oops!
Check
Okay!
Check
10
×
What is the correct way to declare and initialize an integer array called numbers with 10 elements?
int [ ] numbers = new int[10];
Oops!
Check
Okay!
Check
10
×
What is the term that refers to a collection of related elements used to store the same type of data called?
Array
Oops!
Check
Okay!
Check
10
×
How would you access the fourth element in array nums?
nums[3]
Oops!
Check
Okay!
Check
10
×
Given the following declaration, what are the legal index values for the array ar?
0, 1, 2, 3
Oops!
Check
Okay!
Check
10
×
What is the correct way to create an array called nums with the following three numbers? 12 8 15
int[ ] nums = {12, 8, 15};
Oops!
Check
Okay!
Check
×
eraser
Reset score!
Oops!
×
star
Double points!
Okay!
×
gift
Win 15 points!
Okay!
×
banana
Go to last place!
Oops!
10
×
What does the following code segment print out?
6
Oops!
Check
Okay!
Check
10
×
What value is stored at index 1 in this array?
Dennis
Oops!
Check
Okay!
Check
10
×
What does the following code segment print out?
4
Oops!
Check
Okay!
Check
×
baam
Lose 25 points!
Oops!
×
fairy
Take points!
5
10
15
20
25
×
gift
Win 15 points!
Okay!
×
banana
Go to last place!
Oops!
×
seesaw
Swap points!
Oops!
×
fairy
Take points!
5
10
15
20
25
×
shark
Other team loses 25 points!
Okay!
×
lifesaver
Give 15 points!
Oops!
20
×
Index values of an array range from ___________ to ___________.
0 to length â 1
Oops!
Check
Okay!
Check
×
heart
Other team wins 15 points!
Oops!
×
gift
Win 25 points!
Okay!
×
rocket
Go to first place!
Okay!
×
baam
Lose 20 points!
Oops!
20
×
What value is stored in each of the 5 elements in the following array?
0
Oops!
Check
Okay!
Check
×
Restart
Review
Join for Free
;
Your experience on this site will be improved by allowing cookies.
Allow cookies