Computer Science, asked by shaistasultana5413, 1 year ago

Define algorithm and flowchart with its 3 constructs

Answers

Answered by alinakincsem
0
Algorithm:             It is a procedure in which problems are solved step by step. In this, problems are solved easily and simply. 

Constructs of an algorithm:

1. Linear sequence:              It is a progression of tasks. The result of one statement is used in other.

2. Conditional:
               
              It is a decision in between two actions whether true or false.3. Loop:
  
            It is a statement which is repeated several times. e.g While and For.
 
Flowchart:  
            
            It includes two words flow and chart.A chart is basically symbols. Flow is processing direction in a program.

Constructs of a flowchart:

                 Oval is used to represent the start and ends in an activity in a flowchart.

Parallelogram represents input or output activity in a flowchart.
 
Rectangle displays the processing step in the flowchart.
Similar questions