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
13 questions
Week 8

Quiz
•
12th Grade
10 questions
Computer Quiz(Java)(16-10-2020)

Quiz
•
9th Grade
10 questions
QUIZ TIK - KELAS 12

Quiz
•
12th Grade
10 questions
Operators in C

Quiz
•
9th - 12th Grade
5 questions
Sains Komputer T4 : 1.6.4

Quiz
•
10th - 11th Grade
10 questions
C# lesson10

Quiz
•
1st - 10th Grade
10 questions
C++ vs Python: A Quiz Introduction

Quiz
•
11th Grade - University
10 questions
AP CSA Unit 1 & 2 Review

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade