
2021 Programming Java Finals Review
Authored by Brian Bass
Computers
9th - 12th Grade
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
33 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a correct syntax to output "Hello World" in Java?
System.out.println("Hello World");
Console.WriteLine("Hello World");
print ("Hello World");
echo("Hello World");
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Java is short for "JavaScript".
True
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you insert COMMENTS in Java code?
//This is a comment
/* This is a comment
# This is a comment
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is used to create a variable that should store text?
Txt
string
myString
String
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a variable with the numeric value 5?
float x = 5;
int x = 5;
num x = 5
x = 5;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a variable with the floating number 2.8?
int x = 2.8f;
float x = 2.8f;
x = 2.8f;
byte x = 2.8f
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method can be used to find the length of a string?
getSize()
len()
getLength()
length()
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
37 questions
ôn tập giữa kì 2 lớp 11
Quiz
•
11th Grade - University
30 questions
Empowerment Technology
Quiz
•
11th Grade
28 questions
PowerPoint
Quiz
•
10th Grade
30 questions
Komputer dan Jaringan Dasar
Quiz
•
10th Grade
34 questions
Examen Lección 1-4 E-thinking
Quiz
•
12th Grade
29 questions
Ôn tập đề cương giữa học kì 1tin 10
Quiz
•
9th Grade
30 questions
05_Block Breaker Videos 02-07 Worksheet
Quiz
•
9th - 12th Grade
30 questions
9th_1st quarter Excel Examination
Quiz
•
9th 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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade