SlideShare a Scribd company logo
Computer programming:
know how to FLOWCHART?
Presented by:
Angelo G. Tomboc
Jonathan H. Llego
FLOWCHARTING
 Flowchart is one of the processes used
in designing or planning the solution to a
problem.
 It is a graphical representation to the
solution of a problem.
 It uses shapes to show instructions and
arrow lines and heads to display the
flow.
Symbols Used in Flowcharts
Picture Shape Name Action
Represented
Oval Terminal Symbol Represents start
and end of the Program
Parallelogram Input/Output Indicates input
and output
Rectangle Process This represents processing of
action. Example, mathematical
operator
Diamond Decision Since computer only answer the
question yes/no, this is used to
represent logical test for the
program
Hexagon Initialization/
Preparation
This is used to prepare memory
for repetition of an action
Arrow Lines &
Arrow Heads
Direction This shows the flow of the
program
Annotation This is used to
describe action or variables
Circle On page
connector
This is used to show connector or
part of program to another part.
Pentagon Off-page
connector
This is used to connect part of a
program to another part on other
page or paper
Basic Control Structures
at Flowcharting
 I. Sequence – process which is executed from
one to another in a straightforward manner.
Examples:
 1. Design a flowchart that will accept and display a
number. Write its equivalent algorithms.
Start
Print N
Read N
End
Algorithm:
Step 1. Read in the value of N.
Step 2. Print the value of N.
 2. Draw a flowchart that will compute and display
the sum and product of two numbers. Write its
equivalent.
Start
Sum=0
Product=0
Read A, B
Sum=A+B
Product=A*B
Print Sum,
Product
End
Algorithm:
Step 1. Initialize Sum and Product into 0.
Step 2. Read in the values of A and B.
Step 3. Compute Sum by adding A and B then
compute Product by multiplying A and B.
Step 4. Print the computed value of Sum and Product.
 3. Construct a flowchart that will convert an inputted
number in Fahrenheit to its equivalent measure in
Celsius.
Start
Celsius=0
Read
Fahrenheit
Sum=A+B
Product=A*B
Print Sum,
Product
End
Algorithm:
Step 1. Initialize Celsius into 0.
Step 2. Read in the value of Fahrenheit.
Step 3. Compute the computed value of Celsius
 II. Selection (If – then – else) – a choice is
provided between two alternatives.
C
A
B
T
F
Operators Commonly Used in Flowcharting
 Arithmetic Operations
 Logical Operators
Operators Meaning
+ Addition
- Subtraction
* Multiplication
/ Division
Operators Meaning
&& AND
|| OR
! NOT
^_^ USES OF DECISION SYMBOLS ^_^
 One of the symbols used in flowcharting in the decision
symbol or the diamond. This symbol requires logical test
that could be determined by using conditional statements
or characters which are listed below. Through logical test,
this symbol provides two answers, if the value evaluated by
the decision symbol produces a true result or if it did not
meet the value on the conditional statement it renders a
“false” value.
 1. Draw a flowchart that will input for A and B.
Compare two values inputted and print which of
the values is higher including the remark “Higher”.
Write its equivalent algorithm.
Examples:
Celsius=0
Start
A>B
Print B
“Higher”
Print A
“Higher”
End
Algorithm:
Step 1. Read in the values of A and B.
Step 2. Test if A is greater than B.
Step 3. If A is greater than B, A is higher. However, if A is
less than B, B is higher.
Step 4. Print the number and the remark “Higher”.
 2. Draw a flowchart that will input a grade of student
and determine whether the grade is passed or
failed. Print the name, grade and remarks of
student. Write its equivalent algorithm.
Name=“”
Remarks=“”
Start
A>B
Read Name,
Grade
EndRemarks=“Failed”
Remarks=“Passed”
Print Name,
Grade, Remarks
Algorithm:
Step 1. Initialize name and remarks into blanks.
Step 2. Read in values for Grade and Name.
Step 3. Test if Grade is greater than or equal to 60.
Step 4. If Grade is greater than or equal to 60,
remark is “Passed”. However, if Grade is
below 60, remark is “Failed”.
Step 5. Print the name, grade, and remarks.
Mathematical
Notation
Flowchart
Notation
Symbol
= = Equal
<> Not Equal
< < Less Than
> > Greater Than
<= Less than or equal to
>= Greater than or equal to
How to know those mathematical
notations that can be converted
into flowchart notations???
Not Equal
 The operator is
used to compare if
the two values are
not equal or show
inequality. This is
the inverse of
equal operator.
Syntax of the
operator is: “Is
Value 1 <> Value
2”.
Start
Is
V1<> V2
Process for
true value
Process for
false value
Yes No
Stop
Enter
V1 and V2
V1-represents value 1
V2-represents value 2
Less Than
 The operator used
to test if value1 is
less than value2
and vice versa. If
value1 is less than
value2 it will flow to
the “true” side of
the decision
symbol else(value2
is less than value1)
the direction will
follow to the “false”
side of the decision
symbol.
Start
Is
V1< V2
Process for
true value
Process for
false value
Yes No
Stop
Enter
V1 and V2
V1-represents value 1
V2-represents value 2
More Than
 The operator used
to test if value1 is
more than value2
and vice versa. If
value1 is more than
value2 it will flow to
the “true” side of the
decision symbol
else (value2 is more
than the value hold
by value1) the
direction will flow to
the “false” side of
the decision symbol.
Start
Is
V1> V2
Process for
true value
Process for
false value
Yes No
Stop
Enter
V1 and V2
V1-represents value 1
V2-represents value 2
Less Than Equal
 The operator is used to
test if the value1 is less
than value2. If value1 is
less than value2 it will
flow to the “true” side of
the decision symbol
else(value2 is less than
value1) the direction will
flow to the “false side of
the decision symbol.
Also, if value1 is equal
to value2, the flow of
the program will go to
the “true” side.
Start
Is
V1<=V2
Process for
true value
Process for
false value
Yes No
Stop
Enter
V1 and V2
V1-represents value 1
V2-represents value 2
More Than Equal
 The operator is used
to test if the value1 is
more than or equal to
the value2. If the
value1 is more than or
equal to the value2 it
will flow to the “true”
side of the decision
symbol else(value2 is
more than the value1)
direction will flow to
the “false” side of the
decision symbol.
Start
Is
V1<=V2
Process for
true value
Process for
false value
Yes No
Stop
Enter
V1 and V2
V1-represents value 1
V2-represents value 2
ANGEL G. TOMBOC JONATHAN H. LLEGO
Thanks for viewing!!! ^_^
All action is reaction....
~Ember Spirit~

More Related Content

What's hot

01_Introduction to living in the it era
01_Introduction to living in the it era01_Introduction to living in the it era
01_Introduction to living in the it era
Froilan Cantillo
 
Conversion binary to decimal
Conversion binary to decimalConversion binary to decimal
Conversion binary to decimal
Marizza Dizon Magallanes Jimenez
 
Capabilities and limitations of computer
Capabilities and limitations of computerCapabilities and limitations of computer
Capabilities and limitations of computer
Marizza Dizon Magallanes Jimenez
 
History of the computer (mechanical age)
History of the computer (mechanical age)History of the computer (mechanical age)
History of the computer (mechanical age)
Jesus Obenita Jr.
 
History of Computer
History of ComputerHistory of Computer
History of Computer
Nikki Paccial
 
Motherboard parts & functions
Motherboard parts & functionsMotherboard parts & functions
Motherboard parts & functions
Cyrine Mae Francisco
 
Computer specifications
Computer specificationsComputer specifications
Computer specifications
Melchor Maravillas
 
Registers and counters
Registers and counters Registers and counters
Registers and counters
Deepak John
 
Lecture 1 introduction to computing
Lecture 1 introduction to computingLecture 1 introduction to computing
Lecture 1 introduction to computing
Kabul Education University
 
Digital Electronics | Computer Science
Digital Electronics | Computer ScienceDigital Electronics | Computer Science
Digital Electronics | Computer Science
Transweb Global Inc
 
Ibigay ang pagkakaiba at pagkakatulad ng tagalog, pilipino at filipino
Ibigay ang pagkakaiba at pagkakatulad ng tagalog, pilipino at filipinoIbigay ang pagkakaiba at pagkakatulad ng tagalog, pilipino at filipino
Ibigay ang pagkakaiba at pagkakatulad ng tagalog, pilipino at filipinoPRINTDESK by Dan
 
The Computer Its Parts (External)
The Computer Its Parts (External)The Computer Its Parts (External)
The Computer Its Parts (External)
Melchor Balolong
 
Logic gates ppt
Logic gates pptLogic gates ppt
Logic gates ppt
parassini
 
Applying quality-standard (css)
Applying quality-standard (css)Applying quality-standard (css)
Applying quality-standard (css)
Bong Bandola
 
Parts of the system unit
Parts of the system unitParts of the system unit
Parts of the system unit
Samantha Regis
 
Configure Computer System and Network
Configure Computer System and NetworkConfigure Computer System and Network
Configure Computer System and Network
EILLEN IVY PORTUGUEZ
 
History of computer electromechanical age
History of computer electromechanical ageHistory of computer electromechanical age
History of computer electromechanical age
Jesus Obenita Jr.
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
Hau Moy
 
Binary parallel adder
Binary parallel adderBinary parallel adder
Binary parallel adder
jignesh prajapati
 
Short History of Computer
Short History of ComputerShort History of Computer
Short History of Computer
Haseeb Ahmed Awan
 

What's hot (20)

01_Introduction to living in the it era
01_Introduction to living in the it era01_Introduction to living in the it era
01_Introduction to living in the it era
 
Conversion binary to decimal
Conversion binary to decimalConversion binary to decimal
Conversion binary to decimal
 
Capabilities and limitations of computer
Capabilities and limitations of computerCapabilities and limitations of computer
Capabilities and limitations of computer
 
History of the computer (mechanical age)
History of the computer (mechanical age)History of the computer (mechanical age)
History of the computer (mechanical age)
 
History of Computer
History of ComputerHistory of Computer
History of Computer
 
Motherboard parts & functions
Motherboard parts & functionsMotherboard parts & functions
Motherboard parts & functions
 
Computer specifications
Computer specificationsComputer specifications
Computer specifications
 
Registers and counters
Registers and counters Registers and counters
Registers and counters
 
Lecture 1 introduction to computing
Lecture 1 introduction to computingLecture 1 introduction to computing
Lecture 1 introduction to computing
 
Digital Electronics | Computer Science
Digital Electronics | Computer ScienceDigital Electronics | Computer Science
Digital Electronics | Computer Science
 
Ibigay ang pagkakaiba at pagkakatulad ng tagalog, pilipino at filipino
Ibigay ang pagkakaiba at pagkakatulad ng tagalog, pilipino at filipinoIbigay ang pagkakaiba at pagkakatulad ng tagalog, pilipino at filipino
Ibigay ang pagkakaiba at pagkakatulad ng tagalog, pilipino at filipino
 
The Computer Its Parts (External)
The Computer Its Parts (External)The Computer Its Parts (External)
The Computer Its Parts (External)
 
Logic gates ppt
Logic gates pptLogic gates ppt
Logic gates ppt
 
Applying quality-standard (css)
Applying quality-standard (css)Applying quality-standard (css)
Applying quality-standard (css)
 
Parts of the system unit
Parts of the system unitParts of the system unit
Parts of the system unit
 
Configure Computer System and Network
Configure Computer System and NetworkConfigure Computer System and Network
Configure Computer System and Network
 
History of computer electromechanical age
History of computer electromechanical ageHistory of computer electromechanical age
History of computer electromechanical age
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
Binary parallel adder
Binary parallel adderBinary parallel adder
Binary parallel adder
 
Short History of Computer
Short History of ComputerShort History of Computer
Short History of Computer
 

Viewers also liked

Flowcharts
FlowchartsFlowcharts
Flowcharts
solielmutya
 
Flowcharting and Algorithm
Flowcharting and Algorithm Flowcharting and Algorithm
Flowcharting and Algorithm
Zeinna Belle Desamito
 
Algorithms and Flowcharts
Algorithms and FlowchartsAlgorithms and Flowcharts
Algorithms and Flowcharts
Deva Singh
 
Programming loop
Programming loopProgramming loop
Programming loop
University of Potsdam
 
Flow chart programming
Flow chart programmingFlow chart programming
Flow chart programming
Tearsome Llantada
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
Anshumali Singh
 
Table Of Flowchart Symbols
Table Of Flowchart SymbolsTable Of Flowchart Symbols
Table Of Flowchart Symbols
Neo Nguyens
 
Flowchart
FlowchartFlowchart
Flowchart
Gautam Roy
 
Flowchart pseudocode-examples
Flowchart pseudocode-examplesFlowchart pseudocode-examples
Flowchart pseudocode-examples
Gautam Roy
 
Pseudocode flowcharts
Pseudocode flowchartsPseudocode flowcharts
Pseudocode flowcharts
nicky_walters
 
Programming flowcharts for C Language
Programming flowcharts for C LanguageProgramming flowcharts for C Language
Programming flowcharts for C Language
Aryan Ajmer
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
Elizabeth de Leon Aler
 

Viewers also liked (12)

Flowcharts
FlowchartsFlowcharts
Flowcharts
 
Flowcharting and Algorithm
Flowcharting and Algorithm Flowcharting and Algorithm
Flowcharting and Algorithm
 
Algorithms and Flowcharts
Algorithms and FlowchartsAlgorithms and Flowcharts
Algorithms and Flowcharts
 
Programming loop
Programming loopProgramming loop
Programming loop
 
Flow chart programming
Flow chart programmingFlow chart programming
Flow chart programming
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
 
Table Of Flowchart Symbols
Table Of Flowchart SymbolsTable Of Flowchart Symbols
Table Of Flowchart Symbols
 
Flowchart
FlowchartFlowchart
Flowchart
 
Flowchart pseudocode-examples
Flowchart pseudocode-examplesFlowchart pseudocode-examples
Flowchart pseudocode-examples
 
Pseudocode flowcharts
Pseudocode flowchartsPseudocode flowcharts
Pseudocode flowcharts
 
Programming flowcharts for C Language
Programming flowcharts for C LanguageProgramming flowcharts for C Language
Programming flowcharts for C Language
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
 

Similar to Computer programming:Know How to Flowchart

Programming algorithms and flowchart.ppt
Programming algorithms and flowchart.pptProgramming algorithms and flowchart.ppt
Programming algorithms and flowchart.ppt
VictorMorcillo1
 
Flowchart and algorithm
Flowchart and algorithmFlowchart and algorithm
Flowchart and algorithm
DHANIK VIKRANT
 
Algorithms and flowcharts
Algorithms and flowchartsAlgorithms and flowcharts
Algorithms and flowcharts
Samuel Igbanogu
 
Pseudocode-Flowchart
Pseudocode-FlowchartPseudocode-Flowchart
Pseudocode-Flowchart
lotlot
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
Sachin Goyani
 
Cp module 2
Cp module 2Cp module 2
Cp module 2
Amarjith C K
 
AlgorithmAndFlowChart.pdf
AlgorithmAndFlowChart.pdfAlgorithmAndFlowChart.pdf
AlgorithmAndFlowChart.pdf
SusieMaestre1
 
algorithm and Pseudocode
algorithm and Pseudocodealgorithm and Pseudocode
algorithm and Pseudocode
Fabian Macuha
 
Basic Slides on Algorithms and Flowcharts
Basic Slides on Algorithms and FlowchartsBasic Slides on Algorithms and Flowcharts
Basic Slides on Algorithms and Flowcharts
moazwinner
 
Lecture1-Algorithms-and-Flowcharts-ppt.ppt
Lecture1-Algorithms-and-Flowcharts-ppt.pptLecture1-Algorithms-and-Flowcharts-ppt.ppt
Lecture1-Algorithms-and-Flowcharts-ppt.ppt
ReshuReshma8
 
ALGORITHM PPT GUIDE.pdf
ALGORITHM PPT GUIDE.pdfALGORITHM PPT GUIDE.pdf
ALGORITHM PPT GUIDE.pdf
meychu1
 
UNIT 1.pptx
UNIT 1.pptxUNIT 1.pptx
UNIT 1.pptx
ShaswatSurya
 
algorithms and flow chart overview.pdf
algorithms and flow chart overview.pdfalgorithms and flow chart overview.pdf
algorithms and flow chart overview.pdf
AmanPratik11
 
Chap6
Chap6Chap6
Algorithm for computational problematic sit
Algorithm for computational problematic sitAlgorithm for computational problematic sit
Algorithm for computational problematic sit
Saurabh846965
 
Algorithm and flowchart.pptx
Algorithm and flowchart.pptxAlgorithm and flowchart.pptx
Algorithm and flowchart.pptx
MaheShiva
 
Programación no1
Programación no1Programación no1
Programación no1
Caty Arambula
 
Class 8 Lecture Notes
Class 8 Lecture NotesClass 8 Lecture Notes
Class 8 Lecture Notes
Stephen Parsons
 
Copy of dti2143/dam31303 chap 1 problem solving and program design
Copy of dti2143/dam31303 chap 1 problem solving and program designCopy of dti2143/dam31303 chap 1 problem solving and program design
Copy of dti2143/dam31303 chap 1 problem solving and program design
alish sha
 
Fundamentals of Programming Lecture #1.pptx
Fundamentals of Programming Lecture #1.pptxFundamentals of Programming Lecture #1.pptx
Fundamentals of Programming Lecture #1.pptx
Eyasu46
 

Similar to Computer programming:Know How to Flowchart (20)

Programming algorithms and flowchart.ppt
Programming algorithms and flowchart.pptProgramming algorithms and flowchart.ppt
Programming algorithms and flowchart.ppt
 
Flowchart and algorithm
Flowchart and algorithmFlowchart and algorithm
Flowchart and algorithm
 
Algorithms and flowcharts
Algorithms and flowchartsAlgorithms and flowcharts
Algorithms and flowcharts
 
Pseudocode-Flowchart
Pseudocode-FlowchartPseudocode-Flowchart
Pseudocode-Flowchart
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
 
Cp module 2
Cp module 2Cp module 2
Cp module 2
 
AlgorithmAndFlowChart.pdf
AlgorithmAndFlowChart.pdfAlgorithmAndFlowChart.pdf
AlgorithmAndFlowChart.pdf
 
algorithm and Pseudocode
algorithm and Pseudocodealgorithm and Pseudocode
algorithm and Pseudocode
 
Basic Slides on Algorithms and Flowcharts
Basic Slides on Algorithms and FlowchartsBasic Slides on Algorithms and Flowcharts
Basic Slides on Algorithms and Flowcharts
 
Lecture1-Algorithms-and-Flowcharts-ppt.ppt
Lecture1-Algorithms-and-Flowcharts-ppt.pptLecture1-Algorithms-and-Flowcharts-ppt.ppt
Lecture1-Algorithms-and-Flowcharts-ppt.ppt
 
ALGORITHM PPT GUIDE.pdf
ALGORITHM PPT GUIDE.pdfALGORITHM PPT GUIDE.pdf
ALGORITHM PPT GUIDE.pdf
 
UNIT 1.pptx
UNIT 1.pptxUNIT 1.pptx
UNIT 1.pptx
 
algorithms and flow chart overview.pdf
algorithms and flow chart overview.pdfalgorithms and flow chart overview.pdf
algorithms and flow chart overview.pdf
 
Chap6
Chap6Chap6
Chap6
 
Algorithm for computational problematic sit
Algorithm for computational problematic sitAlgorithm for computational problematic sit
Algorithm for computational problematic sit
 
Algorithm and flowchart.pptx
Algorithm and flowchart.pptxAlgorithm and flowchart.pptx
Algorithm and flowchart.pptx
 
Programación no1
Programación no1Programación no1
Programación no1
 
Class 8 Lecture Notes
Class 8 Lecture NotesClass 8 Lecture Notes
Class 8 Lecture Notes
 
Copy of dti2143/dam31303 chap 1 problem solving and program design
Copy of dti2143/dam31303 chap 1 problem solving and program designCopy of dti2143/dam31303 chap 1 problem solving and program design
Copy of dti2143/dam31303 chap 1 problem solving and program design
 
Fundamentals of Programming Lecture #1.pptx
Fundamentals of Programming Lecture #1.pptxFundamentals of Programming Lecture #1.pptx
Fundamentals of Programming Lecture #1.pptx
 

Recently uploaded

Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
haiqairshad
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47
MysoreMuleSoftMeetup
 
math operations ued in python and all used
math operations ued in python and all usedmath operations ued in python and all used
math operations ued in python and all used
ssuser13ffe4
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
HajraNaeem15
 
Solutons Maths Escape Room Spatial .pptx
Solutons Maths Escape Room Spatial .pptxSolutons Maths Escape Room Spatial .pptx
Solutons Maths Escape Room Spatial .pptx
spdendr
 
B. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdfB. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdf
BoudhayanBhattachari
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
S. Raj Kumar
 
ZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptxZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptx
dot55audits
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
EduSkills OECD
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
Krassimira Luka
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 

Recently uploaded (20)

Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47
 
math operations ued in python and all used
math operations ued in python and all usedmath operations ued in python and all used
math operations ued in python and all used
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
 
Solutons Maths Escape Room Spatial .pptx
Solutons Maths Escape Room Spatial .pptxSolutons Maths Escape Room Spatial .pptx
Solutons Maths Escape Room Spatial .pptx
 
B. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdfB. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdf
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
 
ZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptxZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptx
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 

Computer programming:Know How to Flowchart

  • 1. Computer programming: know how to FLOWCHART? Presented by: Angelo G. Tomboc Jonathan H. Llego
  • 2. FLOWCHARTING  Flowchart is one of the processes used in designing or planning the solution to a problem.  It is a graphical representation to the solution of a problem.  It uses shapes to show instructions and arrow lines and heads to display the flow.
  • 3. Symbols Used in Flowcharts Picture Shape Name Action Represented Oval Terminal Symbol Represents start and end of the Program Parallelogram Input/Output Indicates input and output Rectangle Process This represents processing of action. Example, mathematical operator Diamond Decision Since computer only answer the question yes/no, this is used to represent logical test for the program Hexagon Initialization/ Preparation This is used to prepare memory for repetition of an action Arrow Lines & Arrow Heads Direction This shows the flow of the program Annotation This is used to describe action or variables Circle On page connector This is used to show connector or part of program to another part. Pentagon Off-page connector This is used to connect part of a program to another part on other page or paper
  • 4. Basic Control Structures at Flowcharting  I. Sequence – process which is executed from one to another in a straightforward manner.
  • 5. Examples:  1. Design a flowchart that will accept and display a number. Write its equivalent algorithms. Start Print N Read N End Algorithm: Step 1. Read in the value of N. Step 2. Print the value of N.
  • 6.  2. Draw a flowchart that will compute and display the sum and product of two numbers. Write its equivalent. Start Sum=0 Product=0 Read A, B Sum=A+B Product=A*B Print Sum, Product End Algorithm: Step 1. Initialize Sum and Product into 0. Step 2. Read in the values of A and B. Step 3. Compute Sum by adding A and B then compute Product by multiplying A and B. Step 4. Print the computed value of Sum and Product.
  • 7.  3. Construct a flowchart that will convert an inputted number in Fahrenheit to its equivalent measure in Celsius. Start Celsius=0 Read Fahrenheit Sum=A+B Product=A*B Print Sum, Product End Algorithm: Step 1. Initialize Celsius into 0. Step 2. Read in the value of Fahrenheit. Step 3. Compute the computed value of Celsius
  • 8.  II. Selection (If – then – else) – a choice is provided between two alternatives. C A B T F
  • 9. Operators Commonly Used in Flowcharting  Arithmetic Operations  Logical Operators Operators Meaning + Addition - Subtraction * Multiplication / Division Operators Meaning && AND || OR ! NOT
  • 10. ^_^ USES OF DECISION SYMBOLS ^_^  One of the symbols used in flowcharting in the decision symbol or the diamond. This symbol requires logical test that could be determined by using conditional statements or characters which are listed below. Through logical test, this symbol provides two answers, if the value evaluated by the decision symbol produces a true result or if it did not meet the value on the conditional statement it renders a “false” value.
  • 11.  1. Draw a flowchart that will input for A and B. Compare two values inputted and print which of the values is higher including the remark “Higher”. Write its equivalent algorithm. Examples: Celsius=0 Start A>B Print B “Higher” Print A “Higher” End Algorithm: Step 1. Read in the values of A and B. Step 2. Test if A is greater than B. Step 3. If A is greater than B, A is higher. However, if A is less than B, B is higher. Step 4. Print the number and the remark “Higher”.
  • 12.  2. Draw a flowchart that will input a grade of student and determine whether the grade is passed or failed. Print the name, grade and remarks of student. Write its equivalent algorithm. Name=“” Remarks=“” Start A>B Read Name, Grade EndRemarks=“Failed” Remarks=“Passed” Print Name, Grade, Remarks Algorithm: Step 1. Initialize name and remarks into blanks. Step 2. Read in values for Grade and Name. Step 3. Test if Grade is greater than or equal to 60. Step 4. If Grade is greater than or equal to 60, remark is “Passed”. However, if Grade is below 60, remark is “Failed”. Step 5. Print the name, grade, and remarks.
  • 13. Mathematical Notation Flowchart Notation Symbol = = Equal <> Not Equal < < Less Than > > Greater Than <= Less than or equal to >= Greater than or equal to How to know those mathematical notations that can be converted into flowchart notations???
  • 14. Not Equal  The operator is used to compare if the two values are not equal or show inequality. This is the inverse of equal operator. Syntax of the operator is: “Is Value 1 <> Value 2”. Start Is V1<> V2 Process for true value Process for false value Yes No Stop Enter V1 and V2 V1-represents value 1 V2-represents value 2
  • 15. Less Than  The operator used to test if value1 is less than value2 and vice versa. If value1 is less than value2 it will flow to the “true” side of the decision symbol else(value2 is less than value1) the direction will follow to the “false” side of the decision symbol. Start Is V1< V2 Process for true value Process for false value Yes No Stop Enter V1 and V2 V1-represents value 1 V2-represents value 2
  • 16. More Than  The operator used to test if value1 is more than value2 and vice versa. If value1 is more than value2 it will flow to the “true” side of the decision symbol else (value2 is more than the value hold by value1) the direction will flow to the “false” side of the decision symbol. Start Is V1> V2 Process for true value Process for false value Yes No Stop Enter V1 and V2 V1-represents value 1 V2-represents value 2
  • 17. Less Than Equal  The operator is used to test if the value1 is less than value2. If value1 is less than value2 it will flow to the “true” side of the decision symbol else(value2 is less than value1) the direction will flow to the “false side of the decision symbol. Also, if value1 is equal to value2, the flow of the program will go to the “true” side. Start Is V1<=V2 Process for true value Process for false value Yes No Stop Enter V1 and V2 V1-represents value 1 V2-represents value 2
  • 18. More Than Equal  The operator is used to test if the value1 is more than or equal to the value2. If the value1 is more than or equal to the value2 it will flow to the “true” side of the decision symbol else(value2 is more than the value1) direction will flow to the “false” side of the decision symbol. Start Is V1<=V2 Process for true value Process for false value Yes No Stop Enter V1 and V2 V1-represents value 1 V2-represents value 2
  • 19. ANGEL G. TOMBOC JONATHAN H. LLEGO
  • 20. Thanks for viewing!!! ^_^ All action is reaction.... ~Ember Spirit~

Editor's Notes

  1. &amp;lt;number&amp;gt;