
Unit 1 Primitive Types Review 2024
Authored by Donna Panter
Computers
9th - 12th Grade
Used 14+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
32 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the output of the following code?
System.out.println(8 + "" + 49);
57
8 49
849
No output due to a compile error
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the output of the code below?
System.out.println("Hello ");
System.out.print("people ");
Hello
Hello
Hello people
Hello
Hellopeople
Hello
people
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the output of the code below?
System.out.println( 3 + 3 );
6
9
3
0
-3
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the output of the code below?
System.out.println(4 + " " + 3);
7
4 3
7 7
4" "3
43
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the output of the code below?
double y = 9.0;
int x = y;
System.out.println(x);
9.0
9
There is no output due to a compile error
There is no output due to a runtime error
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the output of the following code?
System.out.println(""+3+4+5);
345
39
75
12
No output due to a compile error
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the output of the code below?
System.out.print("Hello ");
System.out.println("people ");
System.out.println("everywhere ");
Hello
people
everywhere
Hello people
everywhere
Hellopeople
everywhere
Hello
people everywhere
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
PTS Ganjil_TJKT
Quiz
•
10th Grade
27 questions
Bài 1-3 ( tin gk 2 11 )
Quiz
•
11th Grade
35 questions
Ôn tập học kì II - Tin học 9
Quiz
•
9th Grade
30 questions
latihan soal UTS
Quiz
•
10th Grade
36 questions
Computer Hardware and Networking Quiz
Quiz
•
10th Grade
34 questions
MS Publisher 2nd Quarter Summative Test
Quiz
•
9th Grade
30 questions
Lógica de Programaçao
Quiz
•
1st - 12th Grade
36 questions
sql basics vaishali
Quiz
•
11th - 12th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade