C++ Quiz 05/05/2023

Quiz
•
Computers
•
8th Grade
•
Easy
Thanuja V
Used 2+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of a function in C++?
if statement
for loop
switch case
cout statement
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to define a function in C++?
def
fun
void
int
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to switch between different cases in C++?
for loop
while loop
do while loop
switch case
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following loops will execute at least once in C++?
for loop
while loop
do while loop
switch case
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to comment a single line of code in C++?
//comment
/*comment
*/comment
#comment
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to comment multiple lines of code in C++?
//comment
/*comment*/
*/comment*/
#comment
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to declare a variable in C++?
var
val
const
int
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Programming Quiz

Quiz
•
1st - 10th Grade
18 questions
Robotics Coding

Quiz
•
6th - 8th Grade
15 questions
Algorithms

Quiz
•
8th - 10th Grade
20 questions
Python Functions Quiz

Quiz
•
8th Grade
19 questions
AQA GCSE Computer Science - 3.1.1 Representing Algorithms

Quiz
•
8th - 10th Grade
25 questions
Introduction to Python

Quiz
•
KG - University
20 questions
CPU & LMC

Quiz
•
7th - 11th Grade
25 questions
NEW Coding 2 Performance Final

Quiz
•
6th - 8th Grade
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
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
15 questions
Computer Components Video

Interactive video
•
8th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade