You are on page 1of 2

COMPUTER SCIENCE

CHAPTER 4
ALGORITHMS AND FLOWCHARTS
[EXERCISE NEW TEXT BOOK]

A. Fill in the blanks:[Answers]


1. Algorithm
2. Flowcharts
3. Flowcharting
4. Finite
5. Decision

B. State True or False[Answers]


1. True
2. False
3. True
4. True
5. True

C. Multiple Choice Questions: [Answers]


1. Flow lines
2. Input /Output box
3. Start / Stop box
4. None of these

D. Draw the flowchart symbols for the following:


Start

Input A,B

Is A > B

Stop

A=A+1

Print A
E. Answer the following:
1. What is an algorithm? Write any three characteristics of an
algorithm.
ANS:
The step-by-step procedure to solve any logical and mathematical
problem is called an Algorithm.
a. An algorithm should be written in English like language.
b. It should be written in a simple and precise manner so that
everyone can understand it.
c. An input is required to write an algorithm.
d. Each step should be written in a sequential manner.

2. Define the term flowchart. Write any two advantages of a flow


chart.
ANS:
A flowchart is a pictorial representation of the steps of an
algorithm, used to solve a particular problem.
a. The pictorial representation of the flowchart provides better
communication. It is easier for the programmer to explain the
logic of a program.
b. It is a very useful technique, as flowchart is a pictorial
representation that helps the programmer to analyse the
problem in detail.

3. What is the use of input/output box?


ANS:
It is used for a accepting inputs or giving output of the program.

4. When do we use the Process box?


ANS:
It is used for writing the processing instructions and doing
calculations.

5. What is the use of Decision box?


ANS:
It is used for checking or applying any condition in the program.

You might also like