2.2 Programming Fundamentals Flashcards
1
Q
What is the definition of sequence?
A
the order in which instructions occur and are processed
2
Q
What is the definition of selection?
A
determines which path a program takes when it is running
3
Q
What is the definition of iteration?
A
he repeated execution of a section of code when a program is running
4
Q
What are the two types of iteration?
A
count-controlled iteration
condition-controlled iteration
5
Q
What is count controlled iteration?
A
repeatedly executes a section of code a fixed number of predetermined times
6
Q
What is condition controlled iteration?
A
repeatedly executes a section of code until a condition is met - or no longer met
7
Q
==
A
equal to
8
Q
!=
A
not equal to