A parameter represents additional information that a function requires to perform its task

Each parameter required by a function is specified in the function header. An argument is

The value supplied in the function call. When the function is called, the argument value is

Passed into the function parameter so that the function can perform its task

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

structures:_________, __________and_________.

Sequence, selection and repetition

Question: The_________selection statement is used to execute one action when a

condition is true or a different action when that condition is false.

if…else

Question: Repeating a set of instructions a specific number of times is

called_________repetition

Counter-controlled or definite

Question: When it is not known in advance how many times a set of statements will be

repeated, a(n)_________value can be used to terminate the repetition


Понравилась статья? Добавь ее в закладку (CTRL+D) и не забудь поделиться с друзьями:  



double arrow
Сейчас читают про: