C++ Functions

Quiz
•
Science, Computers
•
6th - 8th Grade
•
Medium
Natalia Fumero
Used 634+ times
FREE Resource
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
Similar Resources on Wayground
10 questions
Типы данных

Quiz
•
7th Grade
10 questions
Python-Code Right or Wrong

Quiz
•
7th - 8th Grade
7 questions
untitled

Quiz
•
6th - 8th Grade
11 questions
Python L3 Data Types

Quiz
•
6th - 8th Grade
10 questions
Программирование C#

Quiz
•
1st - 10th Grade
16 questions
Hour_of_Code

Quiz
•
5th - 12th Grade
10 questions
Тармақталған алгоритм

Quiz
•
7th Grade
10 questions
Excel Formulas and Functions

Quiz
•
7th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Science
20 questions
Scientific method and variables

Quiz
•
8th Grade
20 questions
Chemical and Physical Changes

Quiz
•
7th Grade
20 questions
Physical and Chemical Changes

Quiz
•
8th Grade
10 questions
Scientific Method and Variables

Quiz
•
6th Grade
20 questions
Elements, Compounds and Mixtures

Quiz
•
8th Grade
23 questions
7.6C Aqueous Solutions

Quiz
•
7th Grade
20 questions
Law of Conservation of Mass

Quiz
•
6th - 8th Grade
20 questions
Metals, Non-metals, and Metalloids

Quiz
•
6th Grade