SlideShare a Scribd company logo
6
Most read
11
Most read
12
Most read
Translating Flowchart algorithm to
Pseudocode Format and vice versa
Today’s lesson
Lesson Objectives
By the end of this lesson, a student will be able to:
❏ Define and explain the concepts of algorithms,
pseudocode, and flowcharts.
❏ Importance of Using Pseudocode
❏ Differentiate between pseudocode and flowcharts.
❏ Prepare pseudocode for a simple program.
❏ Create a basic flowchart representation of an algorithm.
❏ Differences between pseudocode and actual code
The Concepts of Algorithms
❏ An algorithm is a step-by-step set of instructions
designed to solve a specific problem or perform a
particular task.
❏ It's a well-defined sequence of operations that
transforms input data into desired output.
❏ Algorithms serve as a blueprint for creating computer
programs and are used in various fields to solve complex
problems efficiently.
The Concepts of Pseudocode
❏ Pseudocode is a high-level description of an algorithm
that combines natural language and programming
language-like constructs.
❏ It's used to outline the logic of a program without getting
into the specifics of a particular programming language.
Pseudocode focuses on expressing the algorithm's
steps in a human-readable manner.
The Concepts of Flowcharts
❏ A flowchart is a graphical representation of an algorithm
or a process.
❏ It uses different shapes and arrows to depict the
sequence of steps and decisions in a logical order.
❏ Flowcharts help in visually understanding the flow of
control, conditions, and actions within an algorithm or
program.
Common Flowchart Symbols
Importance of Using Pseudocode
❏ Clarity: Pseudocode helps in planning and organizing
thoughts before coding, making it easier to visualize the
algorithm's logic and flow.
❏ Language-Independent: Pseudocode is not tied to a
specific programming language, allowing programmers
to focus on the algorithm's design without worrying
about syntax.
Cont…
❏ Simplicity: Writing in pseudocode enables developers
to focus on the algorithm's core logic rather than getting
bogged down by the details of a programming
language.
Differences Between Pseudocode and Flowcharts.
Flexibility
Pseudocode allows for more detailed descriptions and
explanations of logic. BUT Flowcharts are more visual and
may be better for illustrating complex flows.
Usage
Pseudocode is often used in programming courses and
planning stages. WHEREAS Flowcharts are commonly
used in documentation and presentations.
Cont…
Format
Pseudocode is primarily text-based, using a mixture of
human-readable language and programming-like
constructs. WHILE Flowcharts use graphical symbols
connected by arrows to depict the algorithm's flow.
Sample Pseudocode for Adding Two Numbers
1. Start
2. Input firstNumber
3. Input secondNumber
4. Set sum = firstNumber + secondNumber
5. Display sum
6. End
Sample Flowchart Representation of Adding Two
Numbers
Start
Input firstNumber,
secondNumber
sum=firstNumber +
secondNumber
Display sum
End
Differences Between Pseudocode and Actual
Code
❏ Syntax: Pseudocode uses natural language and abstract
programming constructs, while actual code follows the
specific syntax rules of a programming language.
❏ Level of Detail: Pseudocode focuses on high-level logic
and concepts, whereas actual code includes specific
details like data types, variables, and syntax rules.
❏ Execution: Pseudocode is not executable, while actual
code is compiled or interpreted by a computer to produce
the desired output.
Assignment
Research and provide examples of real-world applications
where understanding algorithms and using pseudocode
can be beneficial.(e.g. How to withdraw cash from ATM)

More Related Content

PDF
Flowchart pseudocode-examples
Gautam Roy
 
PPT
Logic Formulation 1
deathful
 
PPTX
pseudocode and Flowchart
ALI RAZA
 
PPTX
Programming process and flowchart
hermiraguilar
 
PPTX
Introduction to Flowchart
ChristopherEsteban2
 
PDF
Pseudocode & flowchart examples
hayrikk
 
PPTX
Flowchart
Gracetyl Baba
 
PDF
Pseudocode By ZAK
Tabsheer Hasan
 
Flowchart pseudocode-examples
Gautam Roy
 
Logic Formulation 1
deathful
 
pseudocode and Flowchart
ALI RAZA
 
Programming process and flowchart
hermiraguilar
 
Introduction to Flowchart
ChristopherEsteban2
 
Pseudocode & flowchart examples
hayrikk
 
Flowchart
Gracetyl Baba
 
Pseudocode By ZAK
Tabsheer Hasan
 

What's hot (20)

PPTX
Algorithm and flowchart
Elizabeth de Leon Aler
 
PPT
Introduction to qbasic
Richa Karthikeyan
 
PPTX
Snake game powerpoint presentation by rohit malav
Rohit malav
 
PPTX
Types of Programming Languages
Juhi Bhoyar
 
PPTX
Programming languages
www.myassignmenthelp.net
 
PDF
Final project report
ssuryawanshi
 
PPTX
Presentation on Core java
mahir jain
 
PPTX
Steps for c program execution
Rumman Ansari
 
PDF
Java Programming
Anjan Mahanta
 
PPTX
Chapter 6 algorithms and flow charts
Praveen M Jigajinni
 
PPTX
C programming language
Maha lakshmi
 
PPSX
Algorithm and flowchart
Sachin Goyani
 
PPTX
Remote procedure call on client server computing
Satya P. Joshi
 
PPTX
Presentation on C++ Programming Language
satvirsandhu9
 
PPT
Lecture 4
Anshumali Singh
 
PPTX
Flowchart and algorithm
DHANIK VIKRANT
 
PPTX
Pseudocode flowcharts
nicky_walters
 
PPTX
What is an algorithm?
Angela DeHart
 
PDF
4. algorithm
SHIKHA GAUTAM
 
Algorithm and flowchart
Elizabeth de Leon Aler
 
Introduction to qbasic
Richa Karthikeyan
 
Snake game powerpoint presentation by rohit malav
Rohit malav
 
Types of Programming Languages
Juhi Bhoyar
 
Programming languages
www.myassignmenthelp.net
 
Final project report
ssuryawanshi
 
Presentation on Core java
mahir jain
 
Steps for c program execution
Rumman Ansari
 
Java Programming
Anjan Mahanta
 
Chapter 6 algorithms and flow charts
Praveen M Jigajinni
 
C programming language
Maha lakshmi
 
Algorithm and flowchart
Sachin Goyani
 
Remote procedure call on client server computing
Satya P. Joshi
 
Presentation on C++ Programming Language
satvirsandhu9
 
Lecture 4
Anshumali Singh
 
Flowchart and algorithm
DHANIK VIKRANT
 
Pseudocode flowcharts
nicky_walters
 
What is an algorithm?
Angela DeHart
 
4. algorithm
SHIKHA GAUTAM
 
Ad

Similar to Translating Flowchart algorithm to Pseudocode Format and vice versa.pptx (20)

PPSX
Ds02 flow chart and pseudo code
jyoti_lakhani
 
PDF
ICP - Lecture 6
Hassaan Rahman
 
PPTX
PSEUDOCODE AND FLOWCHART IN PYTHON .pptx
LiveOn4
 
PDF
Algorithm defination, design & Implementation
Bilal Maqbool ツ
 
PPT
Algorithms and Flowchart for IGCSE Students
MKKhaing
 
PPTX
Flowcharts and pseudocodes
Dr Piyush Charan
 
PDF
algorithms and flow chart overview.pdf
AmanPratik11
 
PPT
Algorithms and Flowchart.ppt
MsKGowriDhilipkumar
 
PPTX
Lesson 1 of c programming algorithms and flowcharts.pptx
AlinaMishra7
 
PPTX
Algorithms and flowcharts by Haseeb Khan
Haseeb Shalmani
 
DOCX
programming concept
Nehabhy
 
PPT
Fundamentals of Programming Chapter 3
Mohd Harris Ahmad Jaal
 
PPTX
2. Algorithms Representations (C++).pptx
ssuser4d77b2
 
PPT
Algorithms and Flowchart usages in C laguage
BalaKrishnan466
 
PPTX
pseudocode Note(IGCSE Computer Sciences)
MKKhaing
 
PPT
Lect1-Detailed description aboutAlgorithms-and-Flowchart.ppt
gstagra
 
PPT
Lecture1-Algorithms-and-Flowcharts-ppt.ppt
ReshuReshma8
 
PPT
Lecture1-Algorithms-and-Flowchart-ppt.ppt
samreen82
 
PPT
Lect1-Algorithms-and-Flowchart-ppt (1).ppt
olisahchristopher
 
PPT
Lecture1-Algorithms-and-Flowchart-ppt.ppt
abhaidarm
 
Ds02 flow chart and pseudo code
jyoti_lakhani
 
ICP - Lecture 6
Hassaan Rahman
 
PSEUDOCODE AND FLOWCHART IN PYTHON .pptx
LiveOn4
 
Algorithm defination, design & Implementation
Bilal Maqbool ツ
 
Algorithms and Flowchart for IGCSE Students
MKKhaing
 
Flowcharts and pseudocodes
Dr Piyush Charan
 
algorithms and flow chart overview.pdf
AmanPratik11
 
Algorithms and Flowchart.ppt
MsKGowriDhilipkumar
 
Lesson 1 of c programming algorithms and flowcharts.pptx
AlinaMishra7
 
Algorithms and flowcharts by Haseeb Khan
Haseeb Shalmani
 
programming concept
Nehabhy
 
Fundamentals of Programming Chapter 3
Mohd Harris Ahmad Jaal
 
2. Algorithms Representations (C++).pptx
ssuser4d77b2
 
Algorithms and Flowchart usages in C laguage
BalaKrishnan466
 
pseudocode Note(IGCSE Computer Sciences)
MKKhaing
 
Lect1-Detailed description aboutAlgorithms-and-Flowchart.ppt
gstagra
 
Lecture1-Algorithms-and-Flowcharts-ppt.ppt
ReshuReshma8
 
Lecture1-Algorithms-and-Flowchart-ppt.ppt
samreen82
 
Lect1-Algorithms-and-Flowchart-ppt (1).ppt
olisahchristopher
 
Lecture1-Algorithms-and-Flowchart-ppt.ppt
abhaidarm
 
Ad

Recently uploaded (20)

PDF
The Picture of Dorian Gray summary and depiction
opaliyahemel
 
PPTX
CONCEPT OF CHILD CARE. pptx
AneetaSharma15
 
PPTX
An introduction to Dialogue writing.pptx
drsiddhantnagine
 
PPTX
CDH. pptx
AneetaSharma15
 
PPTX
PPTs-The Rise of Empiresghhhhhhhh (1).pptx
academysrusti114
 
PDF
Health-The-Ultimate-Treasure (1).pdf/8th class science curiosity /samyans edu...
Sandeep Swamy
 
PPTX
Tips Management in Odoo 18 POS - Odoo Slides
Celine George
 
PDF
Review of Related Literature & Studies.pdf
Thelma Villaflores
 
PPTX
Care of patients with elImination deviation.pptx
AneetaSharma15
 
DOCX
Unit 5: Speech-language and swallowing disorders
JELLA VISHNU DURGA PRASAD
 
PDF
Antianginal agents, Definition, Classification, MOA.pdf
Prerana Jadhav
 
DOCX
Action Plan_ARAL PROGRAM_ STAND ALONE SHS.docx
Levenmartlacuna1
 
PDF
Study Material and notes for Women Empowerment
ComputerScienceSACWC
 
PPTX
Autodock-for-Beginners by Rahul D Jawarkar.pptx
Rahul Jawarkar
 
PDF
Virat Kohli- the Pride of Indian cricket
kushpar147
 
PPTX
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
PPTX
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
PPTX
Kanban Cards _ Mass Action in Odoo 18.2 - Odoo Slides
Celine George
 
PPTX
Five Point Someone – Chetan Bhagat | Book Summary & Analysis by Bhupesh Kushwaha
Bhupesh Kushwaha
 
PPTX
How to Manage Leads in Odoo 18 CRM - Odoo Slides
Celine George
 
The Picture of Dorian Gray summary and depiction
opaliyahemel
 
CONCEPT OF CHILD CARE. pptx
AneetaSharma15
 
An introduction to Dialogue writing.pptx
drsiddhantnagine
 
CDH. pptx
AneetaSharma15
 
PPTs-The Rise of Empiresghhhhhhhh (1).pptx
academysrusti114
 
Health-The-Ultimate-Treasure (1).pdf/8th class science curiosity /samyans edu...
Sandeep Swamy
 
Tips Management in Odoo 18 POS - Odoo Slides
Celine George
 
Review of Related Literature & Studies.pdf
Thelma Villaflores
 
Care of patients with elImination deviation.pptx
AneetaSharma15
 
Unit 5: Speech-language and swallowing disorders
JELLA VISHNU DURGA PRASAD
 
Antianginal agents, Definition, Classification, MOA.pdf
Prerana Jadhav
 
Action Plan_ARAL PROGRAM_ STAND ALONE SHS.docx
Levenmartlacuna1
 
Study Material and notes for Women Empowerment
ComputerScienceSACWC
 
Autodock-for-Beginners by Rahul D Jawarkar.pptx
Rahul Jawarkar
 
Virat Kohli- the Pride of Indian cricket
kushpar147
 
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
Kanban Cards _ Mass Action in Odoo 18.2 - Odoo Slides
Celine George
 
Five Point Someone – Chetan Bhagat | Book Summary & Analysis by Bhupesh Kushwaha
Bhupesh Kushwaha
 
How to Manage Leads in Odoo 18 CRM - Odoo Slides
Celine George
 

Translating Flowchart algorithm to Pseudocode Format and vice versa.pptx

  • 1. Translating Flowchart algorithm to Pseudocode Format and vice versa Today’s lesson
  • 2. Lesson Objectives By the end of this lesson, a student will be able to: ❏ Define and explain the concepts of algorithms, pseudocode, and flowcharts. ❏ Importance of Using Pseudocode ❏ Differentiate between pseudocode and flowcharts. ❏ Prepare pseudocode for a simple program. ❏ Create a basic flowchart representation of an algorithm. ❏ Differences between pseudocode and actual code
  • 3. The Concepts of Algorithms ❏ An algorithm is a step-by-step set of instructions designed to solve a specific problem or perform a particular task. ❏ It's a well-defined sequence of operations that transforms input data into desired output. ❏ Algorithms serve as a blueprint for creating computer programs and are used in various fields to solve complex problems efficiently.
  • 4. The Concepts of Pseudocode ❏ Pseudocode is a high-level description of an algorithm that combines natural language and programming language-like constructs. ❏ It's used to outline the logic of a program without getting into the specifics of a particular programming language. Pseudocode focuses on expressing the algorithm's steps in a human-readable manner.
  • 5. The Concepts of Flowcharts ❏ A flowchart is a graphical representation of an algorithm or a process. ❏ It uses different shapes and arrows to depict the sequence of steps and decisions in a logical order. ❏ Flowcharts help in visually understanding the flow of control, conditions, and actions within an algorithm or program.
  • 7. Importance of Using Pseudocode ❏ Clarity: Pseudocode helps in planning and organizing thoughts before coding, making it easier to visualize the algorithm's logic and flow. ❏ Language-Independent: Pseudocode is not tied to a specific programming language, allowing programmers to focus on the algorithm's design without worrying about syntax.
  • 8. Cont… ❏ Simplicity: Writing in pseudocode enables developers to focus on the algorithm's core logic rather than getting bogged down by the details of a programming language.
  • 9. Differences Between Pseudocode and Flowcharts. Flexibility Pseudocode allows for more detailed descriptions and explanations of logic. BUT Flowcharts are more visual and may be better for illustrating complex flows. Usage Pseudocode is often used in programming courses and planning stages. WHEREAS Flowcharts are commonly used in documentation and presentations.
  • 10. Cont… Format Pseudocode is primarily text-based, using a mixture of human-readable language and programming-like constructs. WHILE Flowcharts use graphical symbols connected by arrows to depict the algorithm's flow.
  • 11. Sample Pseudocode for Adding Two Numbers 1. Start 2. Input firstNumber 3. Input secondNumber 4. Set sum = firstNumber + secondNumber 5. Display sum 6. End
  • 12. Sample Flowchart Representation of Adding Two Numbers Start Input firstNumber, secondNumber sum=firstNumber + secondNumber Display sum End
  • 13. Differences Between Pseudocode and Actual Code ❏ Syntax: Pseudocode uses natural language and abstract programming constructs, while actual code follows the specific syntax rules of a programming language. ❏ Level of Detail: Pseudocode focuses on high-level logic and concepts, whereas actual code includes specific details like data types, variables, and syntax rules. ❏ Execution: Pseudocode is not executable, while actual code is compiled or interpreted by a computer to produce the desired output.
  • 14. Assignment Research and provide examples of real-world applications where understanding algorithms and using pseudocode can be beneficial.(e.g. How to withdraw cash from ATM)

Editor's Notes

  • #15: How to withdraw MOMO wallet so you can do that by just using the acronyms and it's indicative of lent