Class 8 Algorithms and Flowcharts

A Fill in the blanks with the correct words.

1. The start and stop symbols are oval in shape.
2. The parallelogram symbol is used for input/output in flowchart.
3. The decision symbol has two outputs for true and false conditions.
4. It is a good practice to write algorithm first and then write the code of a program.
5. A flowchart should flow from top to bottom and from left to right.

B Write T for the true statement and F for the false one. Correct the false statement(s).

1. There can be more than one start symbol in a flowchart. (F - because there can only be one start symbol in a flowchart)
2. You cannot draw a flowchart in more than one page. (F - because we can draw a flowchart in more than one page by using the off-page connectors)
3. The arrow lines show the flow of steps. (T)
4. The order of instructions in an algorithm is not important. (F - the order of instructions in an algorithm is important)
5. You can use the parallelogram symbol for calculations in a flowchart. (F - we use the rectangle symbol for calculations in a flowchart)

C Choose the correct option.

1. In a flowchart, how are the symbols connected?
a. Solid line
b. Dashed line
c. Arrow line
d. Circle
2. In a flowchart, a calculation is represented by
a. Parallelogram
b. Rectangle
c. Rhombus
d. Circle
3. What is an algorithm?
a. Flowchart
b. Decision
c. Step-by-step instructions to solve a problem
d. None of these
4. This symbol in a flowchart has two output lines.
a. Rhombus
b. Rectangle
c. Oval
d. Parallelogram
5. Which symbol represents process flow in a flowchart?
a. Circle
b. Oval
c. Arrow
d. Rectangle

D Answer the following.

1. What is an algorithm?
An algorithm is a finite sequence of step-wise instructions to perform a specific task like solving a logical or a mathematical problem.

2. Write the characteristics of a good algorithm.
Following are the characteristics of a good algorithm:
a) Should be able to receive inputs.
b) Should work on different set of inputs.
c) Should have precisely defined steps.
d) Each step should depend on the previous step.
e) Should stop after a finite number of instructions.
f) Should produce the desired output.

3. What is a flowchart? What important roles does it play in computer programming?
A flowchart is a diagrammatic representation of an algorithm. It plays an important role in computer programming. It helps in understanding and designing the logic of the program.

4. Write the set of symbols that are used in drawing a flowchart.
The different symbols used in flowchart are oval (start/stop), rectangle (processing), parallelogram (input/output), diamond (decision-making), and flow lines (connecting various symbols).

5. What are the two types of connectors? Draw their symbols.
The two types of connectors are on-page connector and off-page connector.


Comments

Popular posts from this blog

Encrypt Program ISC Specimen 2023 Theory

No Repeat Program ISC Computer Science 2022 Semester 2 Theory

Bank Inheritance Program ISC Specimen 2023 Theory