Algorithm
* Algorithm is a detailed step by step solution to a problem. Characteristics- must be precise (exact)
- must be effective (successful)
- must have a finite number of instructions
- execution must always
Programming Tools
Tools used to convert algorithms into computer programs: Pseudo code: An informal highlevel description of the operating principle of a computer program. It uses the structural conventions of a programming language, but is intended for human reading rather than machine reading. Flowcharts: Graphically depict the logical steps to carry out a task and show how the steps relate to each other.Flowcharting
- A flowchart is a pictorial representation of an algorithm or logical steps.
- Each step is represented by a symbol and the arrows indicate the flow and order of the steps.
- The shape of the symbol indicates the type of operation that is to occur.
Flow control is the order in which statements are executed. There are three control structures.
• sequence Control Selection : Control Flow Control Structures. FLOW control is the order in which statements are executed. There are three control structures.
No comments:
Post a Comment