2.16.1: Basic Java Review
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Medium
Mark Freeman
Used 6+ times
FREE Resource
Enhance your content in a minute
32 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the name of the method to print out text in Java?
System.out.println()
System.out.printline()
System.output()
System.out.PRINTLN()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following lines? int x = 24; System.out.println("The total is " + x + x);
The total is 24
The total is 2424
The total is 48
The total is x + x
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a primitive type?
int
double
String
boolean
char
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of x after this code? int x = 5; x = 10; x = 4;
5
10
4
true
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the proper syntax to initialize a double called temperature to have the value 70.4?
int temperature = 70.4;
double temperature = 70.4;
temperature = 70.4;
float temperature = 70.4;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of this expression? 5 + 2 / 3 + 1
5
6
6.67
0
7.
OPEN ENDED QUESTION
3 mins • 1 pt
Which expression returns the 1’s place of an integer x?
Evaluate responses using AI:
OFF
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
35 questions
Excel 2016 Introduction
Quiz
•
10th - 12th Grade
34 questions
TIN 9 ÔN TẬP GIỮA KỲ 2
Quiz
•
8th Grade - University
36 questions
Computer Hardware and Networking Quiz
Quiz
•
10th Grade
28 questions
MAWD 1.01 B
Quiz
•
KG - University
35 questions
PTS Ganjil_TJKT
Quiz
•
10th Grade
30 questions
G10 2nd quarter 2nd Summative Back Panel
Quiz
•
10th Grade
27 questions
Microsoft Word Quiz
Quiz
•
6th Grade - University
30 questions
latihan soal UTS
Quiz
•
10th 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
