Programming- Control Flow- Sequence and Selection Flashcards

1
Q

Function

A

A subroutine that executes the statements and returns a

single value to the program.

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

Procedure

A

A subroutine that executes the statements and returns

control to the program.

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

Selection

A

The pathway through a program is selected by using a

condition to decide on what instructions to execute next.

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

Sequence

A

Set of instructions to be carried out in the order they are

written.

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

Statement

A

A single instruction or step within a program.

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

Subroutine

A

A subset of code within a larger program, which

performs a specific task.

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