Algorithms are easy to understand, implement and modify because they are written in English language.
An algorithm must begin with the word Start.
Characteristics of a good algorithm include input, definiteness, uniqueness, finiteness and output.
In the algorithm to prepare a cup of tea, after adding sugar and tea leaves, you let it boil for 2 minutes.
Each step of an algorithm must be written in a simple and precise manner to ensure clarity.
Choose True or False for the following statements.
In a flowchart, the direction of flow can be either from top to bottom or from left to right. True
Flowcharts serve as efficient tools for program documentation. True
Flowcharts can become complex if the program logic is complicated. True
In a branched flowchart, branching occurs when there are multiple paths of computation based on specific conditions. True
Time to Perform
A Name the following.
The brain of the computer. CPU
Step-by-step instructions to perform a specific task. Algorithm
Two standard symbols used in a flowchart. Start/Stop, Input/Output
Pictorial form of an algorithm. Flowchart
Line indicating the flow of data in a flowchart. Arrows
Symbol used to connect one part of a flowchart to another. Connector
B Fill in the blanks.
An algorithm must begin with Start.
An algorithm must end with Stop.
Symbols are used to draw a flowchart.
Connector joins a flowchart from one page to another.
Branching is a process of following one or two more alternate paths of computation.
D Answer the following questions.
Write an algorithm to make coffee. Step 1: Start Step 2: Gather ingredients and utensils. Step 3: Boil water. Step 4: Add coffee and sugar in a cup. Step 5: Pour hot water into the cup. Step 6: Stir the mixture. Step 7: Server the coffee. Step 8. Stop
Depict a flowchart for dividing two numbers.
What are the advantages and disadvantages of a flowchart? Advantages: a) Offers a better way of communicating the logic. b) Makes it easier to analyze the problem. c) Serves as program documentation. d) Guides in writing programs. Disadvantages a) Becomes complex for complicated logic. b) Difficult to make modifications. c) Only limited as a theoretical tool.
What rules should be followed to write an algorithm? a) Must begin with the word ‘Start’. b) Steps should be numbered. c) Statements should be clear and precise. d) Each statement must be written in a separate line. e) Must end with the word ‘Stop’.
Discuss the standard symbols used in a flowchart. a) Start/Stop symbol marks the beginning and end of the flowchart. b) Input/Output symbol performs input and output operations. c) Arrows represent flow of lines. d) Rectangle represents processing. e) Decision is used to make decisions. f) Connector connects different parts of a flowchart.
Related
2 thoughts on “Algorithms and Flowcharts”
It is very helpful.I am from S.T. Patricks School , Asansol.It is easy for me to study computer with this website.
It is very helpful.I am from S.T. Patricks School , Asansol.It is easy for me to study computer with this website.
Thanks!