
Java Array
Authored by Samantha Hendrix
Computers
12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
38 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is output by the code below? int[] array = {33,14,37,11,27}; out.println(array[0]);
27
11
33
There is no output due to a syntax error.
There is no output due to a runtime exception.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is output by the code below? int[] array = {33,14,37,11,27}; out.println(array[array.length-1]);
27
11
33
There is no output due to a syntax error.
There is no output due to a runtime exception.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is output by the code below? int[] array = {33,14,37,11,27}; out.println(array[array.length]);
14
11
33
There is no output due to a runtime exception.
There is no output due to a syntax error.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is output by the code below? int[] array = {33,14,37,11,27,4,6,2,6}; out.println(array.length);
10
9
11
5
8
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is output by the code below? int[] array = {7,8,10,11,4,3}; array[array[0]/2]=15; array[array[4]+1]=9; array[array.length/2-1]=5; array[1]=array[0]+4; out.println(array[2]);
7
11
5
15
9
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is output by the code below? int[] array = {7,8,10,11,4,3}; array[array[0]/2]=15; array[array[4]+1]=9; array[array.length/2-1]=5; array[1]=array[0]+4; out.println(array[0]);
7
11
5
15
9
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is output by the code below? int[] array = {7,8,10,11,4,3}; array[array[0]/2]=15; array[array[4]+1]=9; array[array.length/2-1]=5; array[1]=array[0]+4; out.println(array[5]);
7
11
5
15
9
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
40 questions
Soal Pemograman Dasar
Quiz
•
12th Grade - University
33 questions
APCSP Unit 3 Vocabulary
Quiz
•
10th - 12th Grade
40 questions
Susulan Quizz PAT Pilihan Ganda Semester Genap Kelas XII
Quiz
•
12th Grade - University
35 questions
Photoshop ACA
Quiz
•
9th - 12th Grade
40 questions
FBLA Exploring Computer Science
Quiz
•
6th - 12th Grade
40 questions
C Programming Midterm Review
Quiz
•
11th - 12th Grade
35 questions
Python - 6.கட்டுப்பாட்டுக் கட்டமைப்புகள்
Quiz
•
12th Grade
40 questions
year 3 QUIZ 3 2nd term
Quiz
•
3rd Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade