
CPP2
Quiz
•
Other
•
University
•
Practice Problem
•
Easy
Fidaa Abed
Used 12+ times
FREE Resource
Enhance your content in a minute
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is not a floating point data type in C++?
float
double
long double
long float
2.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
If you want to use the string data type you need to write the following
#include <______>
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
bool x = true;
cout<<x;
//the output will be
true
false
1
0
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
cout<<sizeof(double);
the output will be
4
8
10
2
5.
FILL IN THE BLANK QUESTION
20 sec • 1 pt
Define a variable of type int and name x and give it an initial value 5.
6.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
cout<< 7%3;
the output is
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
cout<<3/2;
the output will be
1
1.5
1 1/2
Error
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?
Similar Resources on Wayground
12 questions
possessive adjectives
Quiz
•
University
12 questions
About EU, Georgia
Quiz
•
University
10 questions
Anime Quiz
Quiz
•
KG - Professional Dev...
13 questions
TOPIC 5: ARTICLE
Quiz
•
University
11 questions
Types of Mass Media
Quiz
•
10th Grade - Professi...
10 questions
Meet & Mingle emoji
Quiz
•
University
10 questions
Leaders of The World
Quiz
•
KG - University
11 questions
Principles of Economics(2)
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Other
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University
