What is the resulting value of x?
double x;
x = 2.3
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
18 questions
Correction of Errors
Quiz
•
9th - 10th Grade
15 questions
VPT 2 Fundamental Concepts
Quiz
•
University
15 questions
Music Symbols
Quiz
•
6th - 12th Grade
25 questions
C Programming
Quiz
•
12th Grade - University
15 questions
2D Arrays
Quiz
•
9th - 12th Grade
17 questions
Elementele de bază ale limbajului C++
Quiz
•
10th Grade
15 questions
Chess quiz
Quiz
•
7th - 12th Grade
20 questions
CODE CRAFT
Quiz
•
University
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression
Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing
Quiz
•
9th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University