Unit 4 Day 8 Opener - C++ Function Concepts
Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Richard Ghiorse
Used 5+ times
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the most appropriate type of function for calculating the circumference of a circle?
int
double
void
bool
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the most appropriate type of function for displaying the instructions to a program?
int
double
void
bool
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the most appropriate type of function for determining and returning the letter grade (A, B, C, etc.) associated with a numerical average?
char
double
void
bool
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select the correct function declaration for the function calculateHypotenuse that takes the two legs of a right triangle and calculates the hypotenuse.
double calculateHypotenuse();
double calculateHypotenuse(double a, double b);
void calculateHypotenuse(double a, double b);
double calculateHypotenuse(double a, b)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the most appropriate function declaration for a function displayProgramInfo that prints out the introduction to a program?
int displayProgramInfo(int x);
void displayProgramInfo(int x);
void displayProgramInfo();
int displayProgramInfo();
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True or False?
A function can have no formal parameters.
True
False
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True or False?
A function must have a return statement.
True
False
Access all questions and much more by creating a free account
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
12 questions
Keyboard Parts
Quiz
•
7th - 9th Grade
10 questions
Quiz TLJ - VoIP
Quiz
•
12th Grade
10 questions
Empowerment Technologies Quiz 2
Quiz
•
11th Grade
10 questions
Unit 4 Advanced AP CSP
Quiz
•
9th - 12th Grade
10 questions
Lesson 01 Unit 1 Excel 2019/365 MOAC
Quiz
•
9th - 12th Grade
10 questions
ICT SKILLS
Quiz
•
9th - 10th Grade
10 questions
Les variables sous Python
Quiz
•
10th - 12th Grade
10 questions
Parcial-Dibujo
Quiz
•
12th 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
