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
20 questions
Pengujian Hipotesis 1

Quiz
•
University
21 questions
VICIOS DE DICCIÓN

Quiz
•
12th Grade
15 questions
Accounting Final exam review quiz

Quiz
•
10th Grade
25 questions
C Programming

Quiz
•
12th Grade - University
25 questions
Excel

Quiz
•
University
20 questions
Csec information Technology

Quiz
•
10th - 11th Grade
20 questions
Day 1

Quiz
•
University
15 questions
Bank Reconciliation Statement

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
10 questions
Exploring Newton's Laws of Motion

Interactive video
•
6th - 10th Grade
20 questions
Cell organelles and functions

Quiz
•
10th Grade
10 questions
Colonial Grievances Against the King Quiz

Quiz
•
10th Grade