Thursday, 26 April 2018
CLASS: SS2 TOPIC: FLOW CHART WEEK 6
CONTENT
A flow chart helps in showing the sequence of different approaches in solving a problem. Flow chart is very concise in nature. It identifies steps needed in solving a problem and shows these steps with connecting lines and arrows to indicate the order in which the steps are performed.
FLOWCHARTING SYMBOLS
INPUT/OUTPUT
FLOW LINES
HARD DISK
PROCESSING SYMBOL
DECISION BOX
FLOPPY DISK
FOW CHART CONNECTOR
MERGE
COLLATE
EXTRACT
TERMINA SYMBOL
SORT
DISPLAY
DESCRIPTION OF EACH SYMBOLS
Input symbol means the feeding of data and output symbol means print out of the data or display on computer screen.
Note: we can print the value of ‘a’ after feeding the values of ‘b’ and ‘c’
FLOW LINES: Flow lines are used to connect various symbols i.e. it shows the flow of logics.
PROCESSING SYMBOL: Represents the processing of data
DECISION BOX: False(No)
IS A1 > A2 True(Yes)
Here A1 represent area of a rectangle and A2 represent area of a square. The decision symbol defines logical operation with the result of decision (with true / false or Yes/ No).
CONNECTOR SYMBOL
Connector symbol is used for the purpose of junction. Sometimes the flow chart can’t be completed on a single page and it requires two or more pages, then the connector symbol is used to indicate another page.
PREPARE/ INITIALISE
These symbols are used to initialize constants and variables that will be used by the program. A flowchart always starts with START and ends with STOP as shown in examples below.
Flowchart to calculate and print 60% of 450 Naira
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment