A block of code that performs a ____ purpose is known as a function
Functions in C++

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Robert B.A
Used 5+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Specific
General
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
XX functionName (parameter1, parameter2,...) { // function body } what does XX represents?
function type
function call
return type
function
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
void greet() {
cout << "Hello World";
}
From the above code, what is the function name?
void
greet
cout
greet() { cout << "Hello World"; }
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
void greet() {
cout << "Hello World";
}
From the given block of code, what is the return type of this function?
void
greet
greet()
No return type
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int main() {
greet();
}
What does the given block of codes represents
function definition
return type
function call
Just a function
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are two types of functions in C++?
User-defined and Built in
User defined and Function definition
Built-in function and function prototype
function with return and int function
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
function is executed when it is
defined
called
declared
prototyped
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
ELEMENTE DE BAZA ALE LIMBAJULUI C++

Quiz
•
10th Grade
10 questions
C++ vs Python: A Quiz Introduction

Quiz
•
11th Grade - University
15 questions
Control statements in C++

Quiz
•
9th - 12th Grade
15 questions
STM20263 Topic 5 - User Defined Function

Quiz
•
9th Grade
15 questions
User Defined Method - 01

Quiz
•
10th Grade
8 questions
Functii quiz

Quiz
•
9th - 12th Grade
12 questions
C++ References

Quiz
•
6th - 12th Grade
12 questions
Divide et Impera

Quiz
•
11th Grade - University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade