C++ Functions
Flashcard
•
Science, Computers
•
6th - 8th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

15 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What keyword is used to define a function that returns a whole number in C++?
Back
int
2.
FLASHCARD QUESTION
Front
What must a non-void function include to return a value?
Back
Return statement
3.
FLASHCARD QUESTION
Front
What keyword is used to define a function that does not return any value?
Back
void
4.
FLASHCARD QUESTION
Front
What is the correct way to start a function that does not return a value?
Back
void functionName() {
5.
FLASHCARD QUESTION
Front
What is the return type of a function that returns a double value?
Back
double
6.
FLASHCARD QUESTION
Front
What is the purpose of a return statement in a function?
Back
To send a value back to the caller of the function.
7.
FLASHCARD QUESTION
Front
What does the keyword 'void' indicate in a function definition?
Back
The function does not return a value.
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
Sadlier Unit 4, Set B vocabulary words
Flashcard
•
7th Grade
15 questions
Functions
Flashcard
•
7th - 9th Grade
16 questions
Function tables and graphs
Flashcard
•
7th - 8th Grade
15 questions
Exponential Growth and Decay
Flashcard
•
8th Grade
15 questions
Function or Not?
Flashcard
•
8th Grade
15 questions
pseudocode
Flashcard
•
7th Grade
15 questions
Circulatory or Cardiovascular System
Flashcard
•
6th - 8th Grade
15 questions
Is it a Function
Flashcard
•
7th - 9th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Science
20 questions
Physical and Chemical Changes
Quiz
•
8th Grade
22 questions
Newton's Laws of Motion
Lesson
•
8th Grade
20 questions
Distance Time Graphs
Quiz
•
6th - 8th Grade
26 questions
7.6E Rate of Dissolution
Quiz
•
7th Grade
21 questions
Balanced and Unbalanced Forces
Quiz
•
8th Grade
17 questions
Energy Transformations
Quiz
•
6th - 8th Grade
10 questions
Exploring Newton's Laws of Motion
Interactive video
•
6th - 10th Grade
17 questions
Thermal Energy Transfer
Lesson
•
6th - 8th Grade