ENGN132 - Chapter 3 Flashcards
Chapter 3 Key Terms and Theories
WHat is Top-DOwn Design?
A problem solving method in which the programmer first breaks a problem up into its major subproblems and then solve the subproblems to derive the solution to the original problem.
What is a Structure Chart?
A structure chart is a documentation tool that shows the relationships among the subproblems of a problem
Define Void Function
A function that does not return a value
Define Procedural Abstraction
A programming technique in which a main function consists of a sequence of function calls and each function is implemented separately.
Define an Input Argument
Arguments used to pass information INTO a function subprogram
Define Output Arguments
Arguments used to return results to the calling function
Define Actual Arguments
An expression used inside the parentheses of a function call
What is a Formal Parameter?
An identifier that represents a corresponding actual argument in a function definition.
What is a Precondition?
A condition assumed to be true before a function call
What is a Postcondition?
A condition assumed to be true after a function executes.
What is a Driver?
A short function written to test another function by defining its arguments, calling it, and displaying its result.
What is Text Mode?
A display mode in which a C program displays only characters
What is Graphics Mode?
A display mode in which a C program draws graphics patterns and shapes in an output window.
Define Pixel
A pixel is a picture element on a computer screen.