Unit 4 Day 8 Opener - C++ Function Concepts

Unit 4 Day 8 Opener - C++ Function Concepts

9th - 12th Grade

8 Qs

quiz-placeholder

Similar activities

BÀI 17

BÀI 17

9th - 12th Grade

10 Qs

IF, OR, AND, Left, Right, and Left

IF, OR, AND, Left, Right, and Left

11th Grade

10 Qs

RAM&HDD/SSD

RAM&HDD/SSD

10th - 12th Grade

13 Qs

EMPTECH L4 Q2

EMPTECH L4 Q2

12th Grade

10 Qs

Pemrograman Dasar

Pemrograman Dasar

10th Grade

10 Qs

PEMOGRAMAN DASAR X KJ 1

PEMOGRAMAN DASAR X KJ 1

10th Grade

10 Qs

Data Engineering y BigQuery V1

Data Engineering y BigQuery V1

12th Grade

10 Qs

Vertex AI Pipelines V1

Vertex AI Pipelines V1

12th Grade

10 Qs

Unit 4 Day 8 Opener - C++ Function Concepts

Unit 4 Day 8 Opener - C++ Function Concepts

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Richard Ghiorse

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?