Chapter 4: Abstractions and Functions Flashcards
The subparts inside of a program.
Functions
An expression consisting of the function name followed by arguments enclosed in parentheses.
Funciton Call
Provides compiler with certain basic information about the library.
Header File
Delivers information from library to compiler.
Directive
A number that appears to be random, but is really determined by a predictable formula.
Pseudorandom Number
Describes how the function is called.
Function Declaration
Used as a kind of blank or place holder to stand in for the argument when declaring a function.
Formal Parameter
Describes how the function computes the value it returns.
Function Definition
Functions that return a bool value are called
Predicates
A figure of speech intended to convey the image of a physical device that you know hot to use, but whose method of operation is a mystery.
Black Box
Designing a function so that it can be used as a black box is sometimes called
Information Hiding
Writing and using functions as if there were black boxes is also called
Cedural Abstraction
This term is used for all “function-like” sets of instructions (function written so that it can be used like a black box)
Procedural Abstraction
A mixture of C++ and ordinary English is called
Pseudocode
Variables that are declared inside a function are said to be ___ to the function.
Local