CHAPTER 5 of Other Stuff.
CHAPTER 5 of Other Stuff.
CHAPTER 5: FLOWCHARTING
PROGRAM
• What is a program?
• A program is a set of step-by-step instructions that tells or directs the computer what to do.
• Terminal/Terminator
• Represents the start and end of the program
start end
SYMBOLS USED IN FLOWCHARTING
• Preparation/Initialization
• Represents memory for repetition of action
Int a;
Int b;
Int c;
SYMBOLS USED IN FLOWCHARTING
• Input/Output
• Represents the steps where information are entered by the user.
• Process
• Represents an instruction or steps
A=x+y
SYMBOLS USED IN FLOWCHARTING
• Decision
• Represents logical test which is answerable by yes or no / true or false
If
Gender
==
“male”
SYMBOLS USED IN FLOWCHARTING
• Flowlines
• Represents the flow or direction of the program
SYMBOLS USED IN FLOWCHARTING
• Connector
• Connects the flowchart to another part or page
Int a; c=a+b
Int b;
Int c;
Input second
number: (b) Stop