Search Header Logo

C++ Chapter 6 Review - Functions

Computers

10th Grade - University

Used 157+ times

C++ Chapter 6 Review - Functions
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If a functions doesn't return a value, the word ___ will appear at its return type

int
void
static
global

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Values that are sent into a function are called ____

argurments
parameters
reference
constant

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Special variables that hold copies of functions arguments are called _____

static
default
reference
paramters

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When only a copy of an argument is passed to a function, it is said to be passed by ___

value
local
constant
reference

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A(n) ___ eliminates the need to place a function definition before all calls to the function

local 
prototype
return
static

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A(n) _____variables are defined outside all functions and is not accessible outside the function

argument
global
local
static

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

____ variables are defined outside all functions and are access to any function within their scope

local
last
constant
global

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?