ENGN132 - Chapter 3 Flashcards

Chapter 3 Key Terms and Theories

1
Q

WHat is Top-DOwn Design?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a Structure Chart?

A

A structure chart is a documentation tool that shows the relationships among the subproblems of a problem

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Define Void Function

A

A function that does not return a value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Define Procedural Abstraction

A

A programming technique in which a main function consists of a sequence of function calls and each function is implemented separately.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Define an Input Argument

A

Arguments used to pass information INTO a function subprogram

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Define Output Arguments

A

Arguments used to return results to the calling function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Define Actual Arguments

A

An expression used inside the parentheses of a function call

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a Formal Parameter?

A

An identifier that represents a corresponding actual argument in a function definition.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a Precondition?

A

A condition assumed to be true before a function call

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a Postcondition?

A

A condition assumed to be true after a function executes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a Driver?

A

A short function written to test another function by defining its arguments, calling it, and displaying its result.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is Text Mode?

A

A display mode in which a C program displays only characters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is Graphics Mode?

A

A display mode in which a C program draws graphics patterns and shapes in an output window.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Define Pixel

A

A pixel is a picture element on a computer screen.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly