Java Array Review Quiz
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
Nichole Niebur
Used 11+ times
FREE Resource
Enhance your content in a minute
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What is printing to the screen?
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.
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
10 questions
Word basics
Quiz
•
8th - 12th Grade
10 questions
Aspek Legal TIK
Quiz
•
12th Grade
14 questions
TRENDS IN ICT
Quiz
•
12th Grade
10 questions
Logic Gates
Quiz
•
9th - 12th Grade
14 questions
Computing figures
Quiz
•
4th - 12th Grade
10 questions
Working around Adobe Photoshop
Quiz
•
12th Grade
10 questions
Keyboarding Terms
Quiz
•
9th - 12th Grade
10 questions
Tree
Quiz
•
12th Grade
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
