ALGORITHM AND FLOWCHART 1 - MEANING, CHARACTERISTICS AND FUNCTIONS
ALGORITHM AND FLOWCHART 1 -
MEANING, CHARACTERISTICS AND FUNCTIONS
MEANING OF ALGORITHM
Algorithm can be defined as a set of rules and sequential steps that define how a particular problem can be solved in finite and ordered sequences. An algorithm is a procedure used for solving a problem or performing a computation. Algorithms act as an exact list of instructions that conduct specified actions step by step in either hardware- or software-based routines. Algorithms are widely used throughout all areas of IT.
CHARACTERISTICS OF ALGORITHM
1. They are written in sequence.
2. They are written in English like statements.
3. Finite, it must have a beginning and an end.
4. An Algorithm should be effective Because each instruction in an algorithm affects the overall process,
it should be adequate.
5. It must be unambiguous (clear, precise) and consistent.
6. Input : An algorithm requires some input values. An algorithm can be given a value other than 0 as input.
7. Output : At the end of an algorithm, you will have one or more outcomes.
8. Definiteness : Each step must be clear, well-defined and precise. There should be no any ambiguity.
Class Activities
1. What are algorithms
2. State any four (4) characteristics of an algorithm.
3. Write an algorithm to to find the average of four numbers.
4. Write an algorithm to withdraw cash from ATM machine.
5. Write an algorithm to set up a desktop computer.
6. Write an algorithm to be the overall best in a subject
MEANING OF FLOWCHART
This is the diagrammatic representation of an algorithm. It shows the steps involved in solving a particular task. It is also known as a pictorial representation in which symbols are used to show the various operation and decisions to be followed in solving a problem.
FLOWCHART SYMBOLS
CHARACTERISTICS OF A FLOWCHART
1. Different flowchart symbols are used for different operations.
2. Flow line are used to connect the flowcharting symbols.
3. Flowcharts are read and drawn from top to bottom or from left to right.
4. The start symbols indicates the beginning of a program.
5. The end symbol signifies the end of a program.
Comments
Post a Comment