C++ Functions
Quiz
•
Science, Computers
•
6th - 8th Grade
•
Practice Problem
•
Medium
Natalia Fumero
Used 641+ times
FREE Resource
Enhance your content in a minute
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A function can have _____ inside the parenthesis
loops
Arguments/Parameters
Braces
Types
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A function that has no return type starts with:
int
void
Arguments
Braces
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A function that returns a whole number starts with the word
int
void
string
{ }
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Fill in the blank to have this function work properly
_____ function ( ) {
int a = 4;
int b = 5;
cout<<a*b;
}
string
int
void
variable
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Fill in the blank to have this function work properly
_____ function ( ) {
string greeting = "Welcome to my game";
return greeting;
}
string
void
int
variable
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Fill in the blank to have this function work properly
_____ function ( ) {
int a;
cin >> a;
cout<<"You chose " << a <<endl;
}
string
void
int
variable
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
True or False. We can call functions inside of other functions.
True
False
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
ÔN TẬP HKII-02
Quiz
•
8th Grade
13 questions
Electric circuit
Quiz
•
6th Grade
12 questions
Основные понятия языка программирования PYTHON
Quiz
•
7th Grade
15 questions
photosynthesis
Quiz
•
5th - 6th Grade
10 questions
KELAS VIII BAB 6
Quiz
•
8th Grade
15 questions
MUSCULOSKELETAL SYSTEM
Quiz
•
6th Grade
15 questions
Work & Simple Machine
Quiz
•
6th - 9th Grade
10 questions
EST QUIZ
Quiz
•
6th - 8th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Science
20 questions
Physical and Chemical Changes
Quiz
•
8th Grade
20 questions
Photosynthesis and Cellular Respiration
Quiz
•
7th Grade
18 questions
Interpreting Distance/Time Graphs
Quiz
•
6th Grade
10 questions
Exploring Newton's Laws of Motion
Interactive video
•
6th - 10th Grade
20 questions
Energy Transformations Quiz
Quiz
•
6th Grade
22 questions
Thermal Energy : Conduction, Convection and Radiation ZMS
Quiz
•
6th Grade
20 questions
Balanced and Unbalanced Forces
Quiz
•
6th - 8th Grade
20 questions
Galaxies
Quiz
•
8th Grade
