C++ Fundamentals
Quiz
•
Computers
•
4th Grade
•
Practice Problem
•
Medium
DHANJIT SARMA
Used 8+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the data type used to store whole numbers in C++?
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++?
+
=
==
||
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
10 questions
Sesión 03
Quiz
•
1st - 12th Grade
10 questions
RESPONSIBLE USE OF ICT
Quiz
•
4th - 6th Grade
10 questions
Bitmap v Vector Images
Quiz
•
KG - University
14 questions
Taylor Chess Quiz
Quiz
•
4th - 12th Grade
14 questions
GSuite Logos Quiz
Quiz
•
3rd Grade - University
12 questions
scratch grade 6 FIS
Quiz
•
4th Grade
11 questions
Excel
Quiz
•
1st - 10th Grade
12 questions
H7.P1&P2.Nova2.Geluid.mhv
Quiz
•
4th - 10th Grade
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
