click below
click below
Normal Size Small Size show me how
Logic Chapter 4
Chapter 4
| Question | Answer |
|---|---|
| The four types of selection control structure are: | Simple Selection (IF), Simple Selection (null ELSE), Combined selection (combined IF) and Nested selection (nested IF) |
| Simple Selection contains: | IF, THEN & ELSE |
| A null ELSE contains: | IF & THEN |
| Combined selection contains: | IF, (logic operators AND or OR) & THEN |
| Nested IF statements contain: | Several (but equal number of) IF, THEN & ELSE statements |
| In a linear nested IF statement the ELSE statement 'blank' the IF condition to which it corresponds. | Immediately follows |