Algorithms and Flowcharts
Fill in the blanks with the correct words.
1. A flowchart is a diagrammatic representation of a program.
2. The process box is rectangular in shape.
3. The decision box has two output lines; one for True and other for False.
4. A parallelogram represents input/output in a flowchart.
5. The flowchart symbols are connected by flow lines.
Write T for the true statement and F for the false one. Correct the false statement(s).
1. The decision box is circular in shape. (F) (The decision box is in diamond shape)
2. There should be only one start box in a flowchart. (T)
3. A flowchart must be drawn on a single page. (F) (A flowchart can occupy more than one page)
4. You can use connectors in a flowchart. (T)
5. An algorithm is a pictorial form of a flowchart. (F) (A flowchart is a pictorial form of an algorithm)
Choose the correct option.
1. The symbol of start/stop is a/an
a. Rectangle b. Rhombus c. Parallelogram d. Oval
2. It has one incoming and two outgoing flow lines.
a. Input/Output box b. Process box c. Decision box d. Start box
3. It indicates the flow of information or sequence of events.
a. Input/Output b. Processing c. Decision d. Flow line
4. Which symbol represents Input/Output in a flowchart?
a. Rectangle b. Parallelogram c. Oval d. Decision
5. What is the use of the oval symbol in a flowchart?
a. Used to show the start of a program only
b. Used to show the end of a program only
c. Used to show the starting and ending of a program
d. None of these
Answer the following.
1. What is the difference between an Algorithm and a Flowchart?
An algorithm is a finite set of step-wise instructions that should be followed to perform a specific task like solving a logical or a mathematical problem.
2. What are the rules for flowcharting?
Following are the rules for flowcharting:
a) It is written in an English-like language.
b) It should have an input.
c) The syntax of any language can also be used.
d) It can include variables.
e) It can include mathematical expressions.
f) Each step can have a step number.
g) It should perform some action or produce an output.
3. Explain the different symbols used in a flowchart.
a) Oval is used to begin and end a flowchart.
b) Rectangle is used to indicate processes or actions.
c) Parallelogram is used to indicate input and output of a program.
d) Diamond is used to indicate decision-making.
e) Arrow lines are used to show the flow of logic.
4. What are the two types of connectors in a flowchart? Explain their uses.
Following are the two types of connectors:
a) Off-page connector: They are used for joining the parts of a flowchart on different pages.
b) On-page connector: They are used to join the parts of a flowchart within one page.
5. What are the characteristics of a good algorithm?
Following are the characteristics of a good algorithm:
a) It receives an input.
b) It works on a set of inputs.
c) The steps are precisely defined.
d) The results of each step is uniquely defined.
e) It stops after a finite number of instructions.
f) It produces the desired output.
Comments
Post a Comment
This site is all about helping you kids study smart because for Gen Z, studying "hard" is not enough. If you feel there is any way I could improve my posts or if you have any random suggestion that might help make this more kid friendly, please don't hesitate to drop in a comment!
Be sure to check back for my response if you've asked me a question or requested a clarification through the comment section because I do make every effort to reply to your comments here.