C++ Quiz

Quiz
•
Computers
•
University
•
Medium
Ara Assim
Used 253+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Java Method

Quiz
•
University
20 questions
Programming in C(1)

Quiz
•
University
20 questions
Java Quiz 1

Quiz
•
University
16 questions
Quiz #1

Quiz
•
University
20 questions
UNIT 1 PYTHON

Quiz
•
University
20 questions
C Programming Unit-1 Test-2

Quiz
•
University
16 questions
De todo

Quiz
•
1st Grade - Professio...
20 questions
Fianal JAVA OOP

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 Computers
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