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.
2
Q
Procedure
A
A subroutine that executes the statements and returns
control to the program.
3
Q
Selection
A
The pathway through a program is selected by using a
condition to decide on what instructions to execute next.
4
Q
Sequence
A
Set of instructions to be carried out in the order they are
written.
5
Q
Statement
A
A single instruction or step within a program.
6
Q
Subroutine
A
A subset of code within a larger program, which
performs a specific task.