1.5 What Kinds of Instructions Can Be Written in a Programming Language? | 17Figure 1.9 Basic Control Structures of Programming Languages
.........SEQUENCESELECTION(also calledbranchhordecisionn))
IF condition THEN statement1 ELSE statement 2LOOP(also calledrepetitionnoriterationn))SUBPROGRAM(also calledprocedure, function, method,orsubroutineASYNCHRONOUSStatement Statement StatementConditionStatement 2Statement 1
Tr u eTr u eFalseseConditionStatement 1FalseSUBPROGRAM 1EVENTueSUBPROGRAM 1
a meaningful collection
of any of the aboveEVENTHANDLER
a subprogram executed
when an event occurs