Common Features of Iteration
Initialization: sets variables or conditions to initial (starting) values, in preparation for repetition.
Movie seat checking example
set seatrow to 0
Titration example
measure pH (the first one)
Name search example
get targetName
found = false
Traffic control example
set time left to 30
Testing of logical condition (loop termination condition) Movie seat checking example
seatrow max row
Titration example
pH is less than 7
Name search example
(not found) and (more names in list)
Traffic control example
time left greater than zero seconds
Updating of variables or conditions involved in the test Movie seat checking example
ask for the seat row
get seat row from the user
Titration example
measure pH (the second one)
Name search example

get next name
set found to true
Traffic control example
subtract one second from time left