Chapter 4: void Functions

¡Supera tus tareas y exámenes ahora con Quizwiz!

With _____, the function can modify the argument in the calling part of the program.

passing by reference

With _____, only a copy of the argument's value is passed into the parameter variable.

passing by value

A variable that is declared inside a function is

a local variable

A(n) ____ is a piece of data that is sent to a function

argument

You ____ to execute a function

call the function

To help reduce the duplication of code within a program you use

code reuse

A statement, usually appearing near the top of the program, which declares the existence of a function, but does not define the function is a

function prototype

You should exercise caution when using a ____ variable in a program.

global

A ____ is visible to every function in the program

global variable

The first line of a function definition is known as the

header

A diagram that gives a visual representation of the relationships between functions in a program is a

hierarchy chart

A(n) is a special variable that receives a piece of data when a function is called.

parameter

A special type of variable that acts as an alias for the variable that was passed into a function as an argument is a(n)

reference variable

A variable's ____ is a part of a program in which the variable may be accessed.

scope

A design technique that programmers use to break down an algorithm into functions is

top-down design


Conjuntos de estudio relacionados

Psychology 255- Chapter 1; Section 2

View Set

Spinal Muscles (Origin, Insertion, Function)

View Set

CCSK - DOMAIN 1: CLOUD COMPUTING ARCHITECTURAL FRAMEWORK

View Set

Client Server Technology Practice Quiz

View Set

Math, Chapter 8: Multiply and Divide Signed Rational Numbers.

View Set