| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Lesson 2-5: Flowcharts vs Pseudocode

Page history last edited by Ms. R. Singh 11 years, 6 months ago

FLOWCHARTS vs PSEUDOCODE

 

A Flowchart is a diagrammatic representation of an algorithm.  It is usually used to represent the ‘Body’ portion of an algorithm

 

* Pseudocode is more concise, closely resembles programming language

* Flowcharts gives a good view of the structure and flow of the logic in an program

* Longer, more complex solutions are better represented using pseudocode

* Flowcharts must use special geometrical objects that designate the basic steps of a program:

 

 

 

 

 

PSEUDOCODE  &  FLOWCHART

 

Start

Print ‘Enter three numbers’

Input num1, num2, num3

Set Sum to num1+num2+num3                                    

Set Average to Sum/3

Print ‘The sum is:   ‘,Sum

Print ‘The average is:  ‘, Average

Stop    

 

 

 

Comments (0)

You don't have permission to comment on this page.