
Data Types
Quiz
•
Engineering
•
12th Grade
•
Hard
Khairina Azra
Used 7+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
int x = 10;
System.out.println(x / 3);
3
3.33
3.0
Compilation error
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
double y = 10 / 3;
System.out.println(y);
3.33
3
3.0
Compilation error
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
char letter = 'A' + 1;
System.out.println(letter);
A
B
66
Compilation error
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
boolean result = (5 > 3) && (2 < 1);
System.out.println(result);
true
false
Runtime error
Compilation error
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
float f = 5.5;
System.out.println(f);
5.5
5
Runtime error
Compilation error
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
System.out.println("10" + 5);
105
15
10 + 5
Compilation error
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
long l = 1000 * 1000 * 1000 * 1000;
System.out.println(l);
1 000 000 000 000
Overflow, incorrect result
Runtime error
Compilation error
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
Unit 1 – Introduction Lesson 1b-2
Quiz
•
11th Grade - University
15 questions
Combustion and Turbine Section in Turbofan Engines
Quiz
•
12th Grade - University
10 questions
ET II Core Technologies Unit Vocab Test Week 6
Quiz
•
12th Grade
10 questions
Sistema de Sangrado de Aire en Motores
Quiz
•
12th Grade - University
15 questions
CS II Week 4 Vocab Quiz NEGH
Quiz
•
12th Grade
11 questions
1.1 - OnShape Overview
Quiz
•
10th Grade - University
10 questions
4.1.1 - Open and Closed Loop Systems
Quiz
•
12th Grade
10 questions
Eng Ess EOC Test Review 2
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Engineering
20 questions
Halloween movies trivia
Quiz
•
7th - 12th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
11 questions
Halloween Trivia #2
Quiz
•
12th Grade
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
8 questions
Veterans Day Quiz
Quiz
•
12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
21 questions
Halloween & Math
Quiz
•
8th - 12th Grade
