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
Similar Resources on Wayground
15 questions
Function Notation Review

Flashcard
•
7th Grade
15 questions
3.1 Relations and Functions- domain and range

Flashcard
•
7th - 9th Grade
15 questions
functions or not functions

Flashcard
•
7th - 9th Grade
9 questions
Java Flashcard 1

Flashcard
•
6th - 8th Grade
14 questions
Spreadsheet Basics & Formula

Flashcard
•
6th - 8th Grade
15 questions
Unit 6 Review Game

Flashcard
•
6th - 8th Grade
11 questions
Function or Not?

Flashcard
•
8th Grade
15 questions
FUNCTIONS

Flashcard
•
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