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
10 questions
Technology Terms programming

Quiz
•
3rd - 8th Grade
12 questions
Intro to Scratch 2

Quiz
•
KG - University
10 questions
Programming

Quiz
•
1st - 10th Grade
10 questions
Variables and Data Types

Quiz
•
3rd - 10th Grade
8 questions
Robotics Quiz

Quiz
•
1st - 12th Grade
13 questions
Coding Vocabulary

Quiz
•
4th - 6th Grade
10 questions
Python Basics

Quiz
•
4th - 7th Grade
15 questions
Intro to Small Basic

Quiz
•
KG - 7th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
math review

Quiz
•
4th Grade
20 questions
Parts of Speech

Quiz
•
3rd - 6th Grade
20 questions
Fun Trivia

Quiz
•
2nd - 4th Grade
20 questions
Basic multiplication facts

Quiz
•
4th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
20 questions
Math Review

Quiz
•
4th Grade
12 questions
Story Elements

Quiz
•
4th Grade