
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
27 questions
Number Systems in Computer Science
Quiz
•
11th Grade
29 questions
Unreal Engine 4 - Widget Blueprints
Quiz
•
9th Grade - University
35 questions
Mid Tes HTML Quiz
Quiz
•
11th Grade
30 questions
8 ci sinif ümumiləşdirici test
Quiz
•
6th Grade - University
35 questions
PLTW CSIM Lesson 1 Assessment
Quiz
•
5th - 9th Grade
27 questions
A.I project cycle
Quiz
•
9th Grade
29 questions
Próbny EE.09
Quiz
•
10th Grade
27 questions
variables , if … else, while and loop for_HKICO_Python
Quiz
•
12th Grade
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Computers
10 questions
Navigating Digital Citizenship and Online Safety
Interactive video
•
6th - 10th Grade
20 questions
Computer / Internet Companies
Quiz
•
9th Grade
10 questions
Exploring the Basics of Google Sheets
Interactive video
•
9th Grade
10 questions
Exponent Rules
Quiz
•
9th - 12th Grade
20 questions
JavaScript - Karel
Quiz
•
9th - 10th Grade