C How to Program Chapter 3

Ace your homework & exams now with Quizwiz!

A(n)_____ is a graphical representation of an algorithm

Flowchart

A synonym for procedure is

algorithm

In a flowchart, the order in which the steps should be performed is indicated by _______ symbols.

arrow

The termination symbol indicates the ______ and ______ of every algorithm

beginning, end

The item written inside a decision symbol is called a(n) ______

condition

The ______ selection statement is used to execute one action when a condition is true and another action when that condition is false

if...else

Setting certain variables to specific values at the beginning of a program is called

initialization

The solution to any problem involves performing a series of actions in a specific

order

Rectangle symbols correspond to calculations that are normally performed by statements and input/output operations that are normally performed by calls to the ________ and ______ Standard Library functions

printf, scanf

)A special value used to indicate "end of data entry" is called a(n)_____ , a(n)____ , a(n)_____ or a(n)______ value.

sentinel value, dummy value, signal value, flag value

A variable that accumulates the sum of several numbers is a(n)

total

The _____ repetition statement specifies that a statement or group of statements is to be executed repeatedly while some condition remains true

while

A procedure for solving a problem in terms of the actions to be executed and the order in which the actions should be executed is called a(n)

Algorithm

Several statements grouped together in braces ({ and }) are called a(n)

Compound statement

Repetition of a set of instructions a specific number of times is called _____ repetition.

Counter-controlled

Specifying the execution order of statements by the computer is called

Program control

When it's not known in advance how many times a set of statements will be repeated, a(n) ________ value can be used to terminate the repetition.

Sentinel

All programs can be written in terms of three types of control statements:

Sequence, selection, repetition


Related study sets

Personal Finance 5-3 Chapter Test

View Set

PrepU Chapter 31 Skin Integrity and Wound Care

View Set

**Final - Chapter 19 Mixed Quizzes

View Set

Concept Physics mid term study test

View Set

Combo with "Completing the Sentence Unit 12 Vocab" and 1 other

View Set