
C++ Data Types Quiz
Authored by Enes Kekec
Computers
9th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following data types can store fractional numbers with up to 15 decimal digits in C++?
int
float
double
char
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True or False: The 'unsigned short int' data type can store negative values in C++.
True
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type in C++ is used to store whole numbers?
bool
float
int
char
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True or False: The 'bool' data type stores whole numbers in C++.
True
False
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type in C++ has a greater positive range?
unsigned long long int
long long int
float
double
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True or False: 'int' and 'unsigned int' have the same range of values in C++.
True
False
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type in C++ can store both whole numbers and fractional numbers?
int
float
char
bool
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?