What is the data type used to store whole numbers in C++?
C++ Fundamentals

Quiz
•
Computers
•
4th Grade
•
Medium
DHANJIT SARMA
Used 8+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
float
int
double
char
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
String name = 'Charlie', is it a correct string variable initialization?
Yes
No, we don't have to store value during initialization
No, the '=' is not needed.
No, the name Charlie should be written within double quotation marks
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which control structure is used to execute a block of code repeatedly as long as a specified condition is true?
if statement
for loop
switch case
while loop
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the syntax to output a variable's value in C++?
cout << variableName;
print(variableName)
output(variableName)
display(variableName)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the data type used to store decimal numbers in C++?
bool
float or double
char
int
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of 10 / 3?
3.3
3.0
3.33
3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used to compare two values in C++?
+
=
==
||
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Python Series

Quiz
•
1st - 5th Grade
12 questions
Grade 5 Coding Quiz

Quiz
•
4th Grade
13 questions
Unit 1 Revision Grade 4 microcontroller

Quiz
•
4th Grade
10 questions
BWOCD #1

Quiz
•
1st - 5th Grade
13 questions
Code Combat JavaScript Quiz

Quiz
•
4th - 8th Grade
14 questions
Python-basics

Quiz
•
1st - 4th Grade
15 questions
Grasshopper App Quiz

Quiz
•
4th - 6th Grade
10 questions
Pascal Assessment

Quiz
•
3rd - 4th Grade
Popular Resources on Quizizz
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
Discover more resources for Computers
15 questions
Character Analysis

Quiz
•
4th Grade
10 questions
Identifying equations

Quiz
•
KG - University
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Addition and Subtraction

Quiz
•
4th Grade
20 questions
Multiplication Facts

Quiz
•
4th Grade
35 questions
Science Mania Quizizz

Quiz
•
4th - 5th Grade
11 questions
Flag Day

Quiz
•
4th Grade
16 questions
Chapter 8 - Getting Along with your Supervisor

Quiz
•
3rd Grade - Professio...