C++ Quiz
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Ara Assim
Used 288+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of this code?
int x = 8;
// x = 3;
cout<<x<<endl;
3
8
error
x
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the type of the temp variable?
var temp = 14.55;
Double
Boolean
Integer
String
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the alternative for x = x + 5?
x += 5;
x -= 4;
x = y + 5;
x=+5
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is void?
A statement that returns a value
A statement that doesn't return a value
A function that return a value
A function that doesn't return a value
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
iostream
Displays output from the screen and input from the keyboard
Has all the math equations
Counts the time
Checks if the code has a function
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Switch Statement
Is a statement with a set of conditions called cases
Is a case
Is a condition with no cases
Is a boolean statement
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Loops in C Language are implemented using.?
While
For
Do While
All the above
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
15 questions
ADVACOMT-Quiz No.1 (final term)
Quiz
•
University
18 questions
Lenguaje de Definición de Datos
Quiz
•
University
15 questions
Firewall and Network Security
Quiz
•
University
18 questions
PBO Inheritance Episode 2
Quiz
•
University
15 questions
DBC CHAPTER 3 - REVISION
Quiz
•
University
15 questions
4.6.4 Logic Gates
Quiz
•
10th Grade - Professi...
20 questions
Information Management - QUIZ
Quiz
•
University
15 questions
GAME QUIZ!!
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
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
