Array and ArrayLists in Java
Quiz
•
Computers
•
10th - 12th Grade
•
Hard
Thomas Martinez
FREE Resource
Enhance your content in a minute
29 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What are the legal indexes for the array ar, given the following declaration:int[] ar = {2, 4, 6, 8 }
0, 1, 2, 31, 2, 3, 40, 2, 4, 62.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the first index of an array?
1
0
2
3
3.
MULTIPLE CHOICE QUESTION
1 min • 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)
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following statements outputs the fifth value in the quizzes array?
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Create an array of 12 strings called months.
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Given the following method, what would test return if
a = {0, 2, 3, 4} and v = 1?
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What value is at index 1 in this array? String[] names = {"Mack", "Dennis", "Dee", "Charlie"};
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?
Similar Resources on Wayground
25 questions
TDP111 - Introduction to PHP
Quiz
•
7th - 10th Grade
24 questions
Tercer Parcial Info III
Quiz
•
12th Grade
25 questions
Basic HTML 2
Quiz
•
7th - 12th Grade
25 questions
Quiz Analisis Data
Quiz
•
10th Grade
25 questions
TIK SMP
Quiz
•
7th - 12th Grade
24 questions
10-Quiz Sistem Operasi dan Komputer
Quiz
•
10th Grade
30 questions
Ulangan Informatika
Quiz
•
10th Grade
25 questions
REMEDIAL ASESMEN FORMATIF - SISTEM KERJA HARDWARE
Quiz
•
11th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
