Which of the following is an example of a function in C++?
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
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 Quizizz
20 questions
Scratch Year 7 End of Unit Quiz

Quiz
•
7th - 8th Grade
20 questions
Javascript Basics Test

Quiz
•
7th - 12th Grade
18 questions
Code.org Express Course Vocab

Quiz
•
6th - 8th Grade
19 questions
Coding Vocabulary

Quiz
•
7th - 8th Grade
15 questions
Code combat

Quiz
•
8th Grade
16 questions
Year 9 Python Programming Quiz

Quiz
•
8th Grade
20 questions
TechSmart 1.1 & 1.2 Vocab Practice

Quiz
•
8th Grade
15 questions
Speed Typing Test with Coding Vocabulary

Quiz
•
3rd - 8th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary

Quiz
•
8th Grade
17 questions
guess the logo

Quiz
•
8th Grade
16 questions
Function or Non-Function?

Quiz
•
8th - 10th Grade
15 questions
Sentence Fragments and Run-ons

Quiz
•
8th Grade