Primitive Types

Quiz
•
Other
•
10th Grade - University
•
Medium
Richard Groeneveld
Used 56+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the resulting value of x?
double x;
x = 2.3
2
2.3
Error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the resulting value of x?
int x;
x = 2.3;
Error
2
2.3
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the resulting value of x?
double x;
x = 7;
Error
7
7.0
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the resulting value of x?
int x;
x = 3/4;
Error
0
0.75
1
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the resulting value of x?
double x;
x = 3/4;
Error
0.0
0.75
1.0
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the resulting value of x?
double x;
x = 3.0 / 4;
Error
0.0
0.75
1.0
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the resulting value of x?
int x;
x = 3.0 / 4;
Error
0
1
0.75
Create a free account and access millions of resources
Similar Resources on Wayground
17 questions
Python Ranges and Operators

Quiz
•
12th Grade
15 questions
Pendapatan Nasional

Quiz
•
12th Grade - University
15 questions
Statistical Analysis Quiz

Quiz
•
12th Grade
18 questions
Correction of Errors

Quiz
•
9th - 10th Grade
20 questions
Week 1 QUIZ

Quiz
•
University
15 questions
Price & Quantity Controls

Quiz
•
11th - 12th Grade
20 questions
Sampling Techniques and Descriptions

Quiz
•
10th - 11th Grade
15 questions
Kuiz Matematik Tingkatan 4

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Other
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
10 questions
Impact of 9/11 and the War on Terror

Interactive video
•
10th - 12th Grade
21 questions
Lab Safety

Quiz
•
10th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
6 questions
Biography

Quiz
•
4th - 12th Grade