0% found this document useful (0 votes)
31 views5 pages

Computer L5

Chapter 5 covers the basics of algorithms and flowcharts, defining an algorithm as a step-by-step procedure for problem-solving and a flowchart as a diagrammatic representation of an algorithm. It outlines features of algorithms, rules for drawing flowcharts, and provides a table of flowchart symbols along with their purposes. Additionally, it includes an example algorithm for calculating the sum and product of two numbers and activities for matching symbols and true/false statements regarding the content.

Uploaded by

ashvat.biju
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views5 pages

Computer L5

Chapter 5 covers the basics of algorithms and flowcharts, defining an algorithm as a step-by-step procedure for problem-solving and a flowchart as a diagrammatic representation of an algorithm. It outlines features of algorithms, rules for drawing flowcharts, and provides a table of flowchart symbols along with their purposes. Additionally, it includes an example algorithm for calculating the sum and product of two numbers and activities for matching symbols and true/false statements regarding the content.

Uploaded by

ashvat.biju
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Chapter 5

Basics of Algorithm and Flow chart


Answer the following.
1. Define an Algorithm?
Ans – An Algorithm is a step-by- step procedure to be followed, to
solve any problem.
2. What is a Flow Chart?
Ans- A Flowchart is a pictorial or diagrammatic representation of an
algorithm used in solving a particular problem.
3. List the features of an Algorithm.
 It is written using simple English statements.
 Each step in an algorithm should have a step number
 The steps should be written in a sequential manner.
4. List the basic rules for drawing a flowchart?
Ans- The basic rules for drawing a flowchart are:
 Flowchart should be simple and clear.
 The flow procedure should be from top to bottom and left
to right.
 Flow lines should not cross one another.
 Only one flow line should enter the decision box. But two
or three flow lines can come out of the decision box.
5. What is a Program?
Ans - A program is a set of instruction written in a programming
language for the computer to understand and execute
them. Algorithm & flowchart are the basic tools for
developing a program.
II. Draw a table to show the different symbols used in flowchart
& explain its action.

Symbol Symbol name Purpose Action


Used in the
Terminator Start/ Stop box beginning &
the ending of
the flow chart.
Input/ Output Takes inputs &
Parallelogram box prints outputs.

Process box Process the


Rectangle instructions &
calculations

Decision/ Checks the


Diamond Conditions box condition.

Flow lines Indicate the


Arrows direction of
the flow of the
program by
connecting
boxes.
Connect the
Circle Connector parts of the
flowchart.
III. Write an Algorithm to find Sum & Product of two numbers.
Step 1: Start
Step 2: Input first number (A)
Step 3: Input second number (B)
Step 4: Sum =A +B
Step 5: Product =A*B
Step 6: Print Sum & Product
Step 7: Stop
IV. Draw a flowchart to add two numbers.

Ans – Start

Input number A

Input number B

Sum = A+B

Print sum

Stop
A. Match the following

1. a. Input/Output

2. b. Decision –making

3. c. Connector

4. d. Start/stop

B. State true ( T) or False ( F)


1. The word Algorithm is a combination of Latin and Greek words -T
2. Flowcharts can be drawn using the step numbers -F
3. Flow lines should not cross one another -T
4. Algorithm helps in program development -T
Activity Corner
(Who am I – Reasoning Ability?)
Identify the symbol names of the flowchart based on the clues given
below.
 I am busy with processing.- Rectangle
 I am the decision maker -Diamond
 I show the direction for the program to move. - Arrows
 I am the start and end part in a program -Terminator

You might also like