What is printing to the screen?
Java Array Review Quiz

Quiz
•
Computers
•
12th Grade
•
Hard
Nichole Niebur
Used 10+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Three
Two
One
Blast off!
Blast off!
Three
Two
One
Blast off!
One
Two
Three
Three
Blast off!
One
Two
Nothing, the program will not compile as written
Answer explanation
Notice the loop is starting at the length (4) minus 1, so index 3 and then moving backwards through the array each time.
2.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What will print to the screen?
3 3 6 4 8 13 6 7 9 7 4 12 12
6 7 12
4 9 12
3 3 12 12
Answer explanation
The loop asks u to print when the number matches the index location, and we start counting array indexes at 0, not 1.
3.
FILL IN THE BLANK QUESTION
5 mins • 2 pts
What are the values of the array after the loop fully executes. If the array goes Out Of Bounds, please write OOBound.
4.
FILL IN THE BLANK QUESTION
5 mins • 2 pts
What are the values of the array after the loop fully executes. If the array goes Out Of Bounds, please write OOBound.
5.
FILL IN THE BLANK QUESTION
5 mins • 2 pts
What are the values of the array after the loop fully executes. If the array goes Out Of Bounds, please write OOBound.
6.
FILL IN THE BLANK QUESTION
5 mins • 2 pts
What are the values of the array after the loop fully executes. If the array goes Out Of Bounds, please write OOBound.
7.
FILL IN THE BLANK QUESTION
5 mins • 2 pts
What are the values of the array after the loop fully executes. If the array goes Out Of Bounds, please write OOBound.
8.
OPEN ENDED QUESTION
5 mins • 2 pts
What prints to the screen after this code segment executes?
Evaluate responses using AI:
OFF
9.
OPEN ENDED QUESTION
15 mins • 4 pts
Write a Java program that will join all elements of the following array into a string with exclamation points between each element (!) then, print the string to the screen.
You can write your code in BlueJ and upload a screenshot as your answer.
Evaluate responses using AI:
OFF
Similar Resources on Quizizz
10 questions
Moringa JavaScript Arrays

Quiz
•
5th Grade - Professio...
10 questions
Quiz Javascript Basic Pertemuan 3

Quiz
•
9th - 12th Grade
11 questions
Understanding Linear Search Algorithm

Quiz
•
12th Grade
10 questions
Unit 6

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

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

Quiz
•
10th - 12th Grade
13 questions
Control Structures in Python

Quiz
•
11th - 12th Grade
10 questions
Week 3 Arduino Basics Quiz

Quiz
•
7th - 12th Grade
Popular Resources on Quizizz
20 questions
math review

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
10 questions
Human Body Systems and Functions

Interactive video
•
6th - 8th Grade
19 questions
Math Review

Quiz
•
3rd Grade
45 questions
7th Grade Math EOG Review

Quiz
•
7th Grade
Discover more resources for Computers
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
20 questions
Investing

Quiz
•
9th - 12th Grade
20 questions
Insurance

Quiz
•
9th - 12th Grade
20 questions
Paying for College

Quiz
•
9th - 12th Grade
20 questions
Banking

Quiz
•
9th - 12th Grade
20 questions
Managing Credit

Quiz
•
9th - 12th Grade
20 questions
-AR -ER -IR present tense

Quiz
•
10th - 12th Grade