C++ Functions
Quiz
•
Science, Computers
•
6th - 8th Grade
•
Practice Problem
•
Medium
Natalia Fumero
Used 642+ 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
Already have an account?
Similar Resources on Wayground
16 questions
Hillcrest Middle School-The Respiratory System
Quiz
•
7th Grade
10 questions
Repetition in shapes (year 4)
Quiz
•
6th Grade
10 questions
Transport in Plants 2
Quiz
•
6th - 8th Grade
12 questions
Creating Webpages
Quiz
•
6th - 8th Grade
10 questions
L3 Models and Simulations
Quiz
•
7th Grade
15 questions
Занятие 10 (Python)
Quiz
•
6th - 8th Grade
10 questions
Selection Control Structure Quiz
Quiz
•
6th Grade - University
10 questions
JavaScript Vocabulary Sheet (CodeHS – Karel the Dog)
Quiz
•
8th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Science
20 questions
Name That Tune Christmas Edition
Quiz
•
6th - 9th Grade
22 questions
Water Cycle
Quiz
•
6th Grade
18 questions
Christmas Science
Quiz
•
6th - 8th Grade
37 questions
8.10B Weather Patterns
Quiz
•
8th Grade
10 questions
Exploring Plate Tectonics and Their Boundaries
Interactive video
•
6th - 10th Grade
23 questions
Water Cycle
Quiz
•
5th - 6th Grade
20 questions
disney movies
Quiz
•
6th Grade
22 questions
Amplify - Traits and Reproduction
Quiz
•
8th Grade
