What is the most appropriate type of function for calculating the circumference of a circle?
Unit 4 Day 8 Opener - C++ Function Concepts

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Richard Ghiorse
Used 5+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
8.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Complete the following statement.
The C++ main function has a return type of
Similar Resources on Quizizz
10 questions
Operators in C

Quiz
•
9th - 12th Grade
7 questions
Computer Applications

Quiz
•
10th Grade
10 questions
Logic Building in Java Part 1

Quiz
•
6th - 9th Grade
10 questions
Programming Basics

Quiz
•
11th - 12th Grade
10 questions
Programming

Quiz
•
1st - 10th Grade
10 questions
10 ԹԳՀԳ 2-րդ կիսամյակ ամփոփիչ գրավոր աշխատանք/ֆունկցիաներ/

Quiz
•
10th Grade
9 questions
عناوين العمليات بلغة جافا

Quiz
•
10th Grade - University
10 questions
Informatik - Objekt vs. Klasse

Quiz
•
10th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University