Thinking Logically
Thinking Logically :
- Identify points where decisions must be taken - e.g. boolean conditions in sequence, selection or iteration
(e.g. Does … need to be shown/output)
Thinking Logically - Determine how decisions affect the flow through a program
Determine how decisions affect the flow through a program :
- Allows you to tackle programs effectively and determine which parts can be tackled simultaneously
Allows to develop Good algorithm which has :
- Clear precisely stated steps that produce correct output for inputs.
- Doesn’t allow invalid inputs.
- Must terminate eventually.
- Execute efficiently in as few steps as possible.