Creado por Andrew Lewis
hace casi 4 años
|
||
A group of statements that exist within a program for the purpose of performing a specific task is a _____.
A benefit of using modules that helps to reduce the duplication of code within a program is _____.
The first line of a module definition is known as the _____.
You _____ the module to execute it.
A _____ is the memory address of the location in the program that the computer will return to when a module ends.
A design technique that programmers use to break down an algorithm into modules is known as _____.
A _____ is a diagram that gives a visual representation of the relationships between modules in a program.
A ______ is a variable that is declared inside a module and cannot be accessed by statements that are outside the module .
A _____ is the part of a program in which a variable may be accessed.
An _____ is a piece of data that is sent into a module.
A _____ is a special variable that receives a piece of data when a module is called.
When passing an argument by _____, only a copy of the variable's value is passed into the parameter variable.
When passing an argument by _____, the module can modify the argument in the calling part of the program.
A variable that is visible to every module in the program is a _____.
When possible, you should avoid using _____ variables in a program.
A benefit of modules that makes a program's code simpler and easier to understand is _____.
A benefit of modules that makes testing and debugging simpler is known as _____.
A benefit of modules that makes maintenance easier do is known as _____.
The modification made to correct logic errors, improve performance, and provide a better experience for the user is known as _____.
The benefit of modules that can be written for the commonly needed tasks, and be incorporated into each program that needs them is known as _____.
The benefit of modules that allows different programmers to be assigned the job of writing different modules of a program to make writing easier is known as _____.
The part of the module definition that is a list of statements that belong to the module is called the _____.
To create a module you write its _____.
The _____ is the program's starting point, and it generally calls other modules. When the end is reached, the program stops executing
When a program calls a module, programmers say that the _____ of the program transfers to that module.
Describe the main steps involved in the top-down design process.
True/False: You can have two or more variables with the exact same name as long as they aren't in the same module.
True/False: A parameter variable can be accessed outside of the module that declared it.
Multiple parameters written within the parentheses of the module header is known as a _____.
Many programming languages provide two different ways to pass arguments: by _____ and by _____.
True/False: In an actual program you should never use variable names like x, y, and z.
True/False: Normally, only variables may be passed by reference. If you attempt to pass a non-variable argument (Example: 5) into a reference variable parameter, an error will result.
_____ is improving (or "cleaning up") the design of an existing program without changing the behavior of the program.
Does it usually matter whether an argument's data type is different from the data type of the parameter that it is being passed to?
A _____ is a named constant that is available to every module in the program. Because its value cannot be changed during the program's execution, you don't have to worry about many of the potential hazards that are associated with the use of global variables.
Why should you not use global variables in a program?