Sunday, November 17, 2019

Day 5

Python Flowcharts

Flowchart is a diagrammatic representation of an algorithm. Flowchart are very helpful in writing program and explaining program to others.

Symbols Used In Flowchart

Different symbols are used for different states in flowchart, For example: Input/Output and decision making has different symbols. The table below describes all the symbols that are used in making flowchart

Examples of flowcharts in programming

Draw a flowchart to add two numbers entered by user.
SymbolPurposeDescription
Flowline symbol in flowchart of programmingFlow lineUsed to indicate the flow of logic by connecting symbols.
Terminal symbol in flowchart of programmingTerminal(Stop/Start)Used to represent start and end of flowchart.
Input/Output symbol in flowchart of programmingInput/OutputUsed for input and output operation.
Processing symbol in flowchart of programmingProcessingUsed for airthmetic operations and data-manipulations.
Decision making symbol in flowchart of programmingDesicionUsed to represent the operation in which there are two alternatives, true and false.
On-page connector symbol in flowchart of programmingOn-page ConnectorUsed to join different flowline
Off-page connector symbol in flowchart of programmingOff-page ConnectorUsed to connect flowchart portion on different page.
Predefined process symbol in flowchart of programmingPredefined Process/FunctionUsed to represent a group of statements performing one processing task.

Examples of flowcharts in programming

Draw a flowchart to add two numbers entered by user.
Flowchart to add two numbers in programming

No comments:

Post a Comment

HTML 2 nd Day Lessons Different Between HTML & HTML 5 Basis of Difference HTML HTML 5.0 Running of JavaScript Allows J...