This document defines key terms related to algorithms and flowcharts. It explains that a flowchart uses graphical representations like boxes and lines to depict the steps of an algorithm to solve a problem. An algorithm is a set of precise, sequential steps in plain language. The document also describes the purposes of different flowchart boxes like input/output, process, and decision boxes. It concludes by comparing flowcharts and algorithms, noting flowcharts use symbols while algorithms use text, and flowcharts are harder to debug than algorithms.
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
39 views
Chapter 8-Algorithm and Flowchart
This document defines key terms related to algorithms and flowcharts. It explains that a flowchart uses graphical representations like boxes and lines to depict the steps of an algorithm to solve a problem. An algorithm is a set of precise, sequential steps in plain language. The document also describes the purposes of different flowchart boxes like input/output, process, and decision boxes. It concludes by comparing flowcharts and algorithms, noting flowcharts use symbols while algorithms use text, and flowcharts are harder to debug than algorithms.
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3
Chapter 8 – Algorithm and Flowcharts
E. Answer the following:
Q1: Define the term Flowchart. Ans: Flowchart is a pictorial representation of steps of an algorithm used for solving a particular problem. To create flowchart, different boxes such as Start/Stop box, Input/Output box, Processing box etc. are used which are connected to each other with the help of flow lines. Q2: What is an algorithm? Ans: Algorithm is a set of sequential steps to solve any logical or mathematical problem. Algorithm is written in simple language and precise manner so that anyone can understand the steps. Q3: What is the use of Input/Output box? Ans: To create flowchart we use different boxes, Input/Output box is one of them. It is used for accepting input or giving output of the program. Q4: When do we use the process box? Ans: To create flowchart we use different boxes; Process box or Processing box is one of them. It is used for writing the processing instructions and doing calculations. Q5: What is the use of decision box? Ans: To create flowchart we use different boxes; Decision box or Condition box is one of them. It is used for checking or applying any condition in the program. Q6: Write the difference between a Flowchart and an Algorithm. Ans: Flowchart Algorithm 1. Definition: Flowchart is a Definition: Algorithm is a pictorial representation of a step-by-step procedure to process. solve the problem. 2. In Flowchart symbols/shapes Plain text is used in are used. algorithm. 3. Solution is displayed in Solution is displayed in non- graphical format. computer language like English. 4. In flowchart it is difficult to In algorithm it is easy to debug errors. debug errors.