Term
| A ____ is a group of statements that exist within a program for the purpose of performing a specific task. |
|
Definition
|
|
Term
| ____and ____ is when a large task is divided into several smaller tasks that are easily performed. |
|
Definition
|
|
Term
| Modules are commonly called ____, ____, ____, ____, and ____. |
|
Definition
| procedures subroutines subprograms methods functions |
|
|
Term
| ____: writing code to perform a task once and then reusing it each time you need to perform the task. |
|
Definition
|
|
Term
| To create a module you write its ____. |
|
Definition
|
|
Term
| In most languages, a module definition has two parts: a ____ and a ____. |
|
Definition
|
|
Term
| The ____ indicates the starting point of the module. |
|
Definition
|
|
Term
| The ____ is a list of statements that belong to the module. |
|
Definition
|
|
Term
| Many programming languages require that programs have a ____. |
|
Definition
|
|
Term
| ____ is when a computer saves the memory address of the location that it should return to immediately after the module call. |
|
Definition
|
|
Term
| When a program calls a module, programs commonly say that the ____ of the programs transfers to that module. |
|
Definition
|
|
Term
| Many languages, including Java, C, and C++, require that the main module actually be named ____. |
|
Definition
|
|
Term
| Programmers commonly use a technique known as ____-____ ____ to break down an algorithm into modules. |
|
Definition
|
|
Term
| The top-down design process is sometimes called ____. |
|
Definition
|
|
Term
| A ____ shows boxes that represent each module in a program. |
|
Definition
|
|
Term
| A hierarchy chary is also known as a ____. |
|
Definition
|
|
Term
| In most programming languages, a variable that is declared inside a module is called a ____. |
|
Definition
|
|
Term
| The term ____ is meant to indicate that the variable can be used only locally, within the module in which it is declared. |
|
Definition
|
|
Term
| Programmers commonly use the term ____ to describe the part of a program in which a variable may be accessed. |
|
Definition
|
|
Term
| All variable that exist within the same scope must have ____ names. |
|
Definition
|
|
Term
| Pieces of data that are sent into a module are known as ____. |
|
Definition
|
|
Term
| A ____, often simply called a ____, is a special variable that receives an argument when a module is called. |
|
Definition
| parameter variable parameter |
|
|
Term
| ____ is the list of parameter variables inside the parenthesis of a module header. |
|
Definition
|
|
Term
| Many programming languages provide two different ways to pass arguments: by ____ and by ____. |
|
Definition
|
|
Term
| Passing as argument by ____ means that only a copy of the argument's value is passed into the parameter variable. |
|
Definition
|
|
Term
| Passing an argument by reference means that the argument is passed into a special type of parameter known as a ____. |
|
Definition
|
|
Term
| In an actual program you should never use variable names like ____, ____, and ____. |
|
Definition
|
|
Term
| Normally, only ____ may be passed by reference. |
|
Definition
|
|
Term
| If you attempt to pass a ____-____ argument into a reference variable parameter, an error will result. |
|
Definition
|
|
Term
| A ____ is a variable that is visible to every module in the program. |
|
Definition
|
|
Term
| Global variables make ____ difficult. |
|
Definition
|
|
Term
| Modules that use ____ are usually dependent on those variables. |
|
Definition
|
|
Term
| ____ make a program hard to understand. |
|
Definition
|
|
Term
| A ____ is a named constant that is available to every module in the program. |
|
Definition
|
|
Term
| A program's code tends to be simpler and easier to understand when it is ____. |
|
Definition
|
|
Term
| The code for a module is known as ____ |
|
Definition
|
|
Term
| ____ the statements in the body of a module is not usually required, but it makes your code much easier to read. |
|
Definition
|
|
Term
| In a flowchart, modules are represented by a ____ with ____ bars. |
|
Definition
|
|
Term
| When drawing a flowchart for a module, the starting terminal symbol usually shows the ____ of the ____. |
|
Definition
|
|
Term
| The ending terminal symbol in the main module reads ____ because it marks the end of the program's execution. |
|
Definition
|
|
Term
| Different modules can have ____ with the same names because the modules cannot see each other. |
|
Definition
|
|