SlideShare a Scribd company logo
Flow Charts and Pseudo Code
Learning outcomes
By the end of today’s lesson;
• All of you will understand the purpose of
  pseudo code and flow charts (D-E)
• Most of you will be able to write some clear
  pseudo code and be able to translate others
  work (B-C)
• Some of you will add complicated functions
  into their pseudo code to make it complete
  advanced skills (A*-A)
Flow charts
How do you make a
cup of tea? Is it
anything like this?
Your turn
Create a flow
chart for how
you would make
a cup of tea or
coffee using
only these
symbols?
PSEUDO CODE
What is pseudo code?

This is when you write you ideas for a
program in plain English to give you a
good idea of how to structure your
coding.
PSEUDO CODE
           If student's grade is greater than or equal to 60
                   Print "passed"
           else
                   Print "failed"


Begin one's move.
Throw the dice.
Move the number of spaces on the board shown on the dice.
If the token landed on "Go to Jail,"
           then go there immediately.
Else if the token landed on "Chance" or "Community Chest,"
           then draw a card and follow its instructions.
Else
           follow the usual rules for the square (buying property, paying rent, collecting $200
           for passing "Go", etc.). End one's move.
Pseudo Code
How do we write it?
We literally write the step by step guide of what is in
our heads. If there is ever a ‘decision’ to be made
then this is done like this;
Leave the house
While not at station
         Walk towards station
End
While train is not at station
         Wait for train
End
Get on train

More Related Content

PDF
Flowchart pseudocode-examples
PPTX
Pseudocode flowcharts
PPTX
Introduction to Pseudocode
PPTX
Pseudocode-Flowchart
PPTX
Algorithm and pseudo codes
PDF
Chapter 01 Planning Computer Program (re-upload)
PDF
Pseudo Code : Learn Something about it
PPT
Making A Cup Of Tea
Flowchart pseudocode-examples
Pseudocode flowcharts
Introduction to Pseudocode
Pseudocode-Flowchart
Algorithm and pseudo codes
Chapter 01 Planning Computer Program (re-upload)
Pseudo Code : Learn Something about it
Making A Cup Of Tea

Viewers also liked (9)

PPT
Algorithms
PPTX
Microsoft Visio Detailed Presentation
PPT
pseudo code basics
PPTX
Algorithms
PPT
Visio Tutorial
PDF
Writing algorithms
PPTX
Algorithm & flowchart
PPTX
Algorithms and Flowcharts
PPTX
Algorithm and flowchart
Algorithms
Microsoft Visio Detailed Presentation
pseudo code basics
Algorithms
Visio Tutorial
Writing algorithms
Algorithm & flowchart
Algorithms and Flowcharts
Algorithm and flowchart
Ad

Similar to Flow Charts and Pseudo Code (13)

PDF
Dodo does-math
PDF
Brutal refactoring, lying code, the Churn, and other emotional stories from L...
PPTX
Coding scratch
PDF
Burmese Crosswords
PPTX
Computational Thinking - 101
PDF
python.pdf
PDF
Map your Mind, Your mind on a paper
PPTX
Planning Your Code
ODP
Opw2010 Gsoc
PDF
Processing Workshop Slides for Ladies Learning Code - March 22, 2014
PDF
Deckible Beta U2
PDF
Teaching the Principles of Computer Science to Primary-Aged Children
PDF
TDD for the Newb Who Wants to Become an Apprentice
Dodo does-math
Brutal refactoring, lying code, the Churn, and other emotional stories from L...
Coding scratch
Burmese Crosswords
Computational Thinking - 101
python.pdf
Map your Mind, Your mind on a paper
Planning Your Code
Opw2010 Gsoc
Processing Workshop Slides for Ladies Learning Code - March 22, 2014
Deckible Beta U2
Teaching the Principles of Computer Science to Primary-Aged Children
TDD for the Newb Who Wants to Become an Apprentice
Ad

More from listergc (20)

PPTX
PPTX
Validation, verification, output and backup
PPTX
L4 internet security
PPTX
L3 more networking
PPTX
L1 networking basics
PPTX
L1 networking basics
PPTX
L2 communication methods
PPTX
PPTX
Introduction to operating systems
PPTX
PPTX
Y12 peripherals
PPTX
Y12 peripherals
PPTX
L3 how do images work
PPTX
Describe primary and secondary memory inc
PPTX
Pp t3
PPTX
PPTX
PPTX
PPTX
PPTX
Systems software and applications packages
Validation, verification, output and backup
L4 internet security
L3 more networking
L1 networking basics
L1 networking basics
L2 communication methods
Introduction to operating systems
Y12 peripherals
Y12 peripherals
L3 how do images work
Describe primary and secondary memory inc
Pp t3
Systems software and applications packages

Flow Charts and Pseudo Code

  • 2. Learning outcomes By the end of today’s lesson; • All of you will understand the purpose of pseudo code and flow charts (D-E) • Most of you will be able to write some clear pseudo code and be able to translate others work (B-C) • Some of you will add complicated functions into their pseudo code to make it complete advanced skills (A*-A)
  • 3. Flow charts How do you make a cup of tea? Is it anything like this?
  • 4. Your turn Create a flow chart for how you would make a cup of tea or coffee using only these symbols?
  • 5. PSEUDO CODE What is pseudo code? This is when you write you ideas for a program in plain English to give you a good idea of how to structure your coding.
  • 6. PSEUDO CODE If student's grade is greater than or equal to 60 Print "passed" else Print "failed" Begin one's move. Throw the dice. Move the number of spaces on the board shown on the dice. If the token landed on "Go to Jail," then go there immediately. Else if the token landed on "Chance" or "Community Chest," then draw a card and follow its instructions. Else follow the usual rules for the square (buying property, paying rent, collecting $200 for passing "Go", etc.). End one's move.
  • 7. Pseudo Code How do we write it? We literally write the step by step guide of what is in our heads. If there is ever a ‘decision’ to be made then this is done like this; Leave the house While not at station Walk towards station End While train is not at station Wait for train End Get on train