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
Latihan Pemrograman

Quiz
•
12th Grade
10 questions
Dasar Pemrograman C++

Quiz
•
10th Grade
14 questions
C ++ For Loop

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

Quiz
•
11th Grade - University
9 questions
Recursivitate

Quiz
•
11th Grade
10 questions
CP1 Assessment

Quiz
•
11th Grade
10 questions
Programming with C++

Quiz
•
9th - 12th Grade
10 questions
Сpp 1_3

Quiz
•
9th - 12th 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
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

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

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

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

Quiz
•
KG - University