
39W Final Exam PLTW
Authored by Tony Banning
Other
9th - 12th Grade
15 Questions
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an array in Java?
A collection of objects of the same type
A collection of objects of different types
A collection of primitive data types
A collection of different sized objects
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you declare an array in Java?
int[] numbers = {1, 2, 3};
int numbers[] = {1, 2, 3};
int[] numbers = new int[3];
All of these
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default value of an array element of type int in Java?
0
1
Null
Nan
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax to access the third element of an array named "numbers" in Java?
numbers[2\
numbers[2]
numbers[3]
numbers(3)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which loop is commonly used for iterating over an array in Java?
if-else loop
fruit loop
for loop
while loop
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code snippet?
int[] numbers = {1, 2, 3, 4, 5};
for (int i = 0; i < numbers.length; i++) {
System.out.print(numbers[i] + " ");
}
5 4 3 2 1
123
12
1 2 3 4 5
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code snippet?
int[] numbers = new int[5];
for (int i = 0; i < numbers.length; i++) {
System.out.print(numbers[i] + " ");
}
0 0 0 0 0
5 4 3
3 2 1
0 0 0
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
K11 - Bài 14: Phần 3, 4
Quiz
•
11th Grade
16 questions
Caption Text Quiz
Quiz
•
12th Grade
10 questions
AB Calculus Applications of Integrals
Quiz
•
11th - 12th Grade
10 questions
ATEEZ #1 - True Atiny Test (مبتدئين)
Quiz
•
KG - Professional Dev...
16 questions
Quality control
Quiz
•
10th Grade
11 questions
At My Workplace
Quiz
•
12th Grade
15 questions
e newsletters in Business Communication
Quiz
•
11th - 12th Grade
20 questions
Employee Rights
Quiz
•
9th - 12th 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
Discover more resources for Other
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
10 questions
Exploring Christmas Traditions Through Cartoons
Interactive video
•
6th - 10th Grade
55 questions
CHS Holiday Trivia
Quiz
•
12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade