
CPP2

Quiz
•
Other
•
University
•
Easy
Fidaa Abed
Used 7+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
PF Chapter 3 (Part 1)

Quiz
•
University
15 questions
National Income & Related Aggregates

Quiz
•
11th Grade - University
16 questions
Short-run and Long-run: Theory of Production I

Quiz
•
7th Grade - University
16 questions
CE-424-QUIZ#1

Quiz
•
University
10 questions
Windows 10

Quiz
•
8th Grade - University
15 questions
Introduction to economy

Quiz
•
University
15 questions
Coding Golf Event 2

Quiz
•
University
12 questions
C++ Programming Language

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Other
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University