SlideShare a Scribd company logo
1 of 14
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

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

Introduction to programming language (basic)
Introduction to programming language (basic)Introduction to programming language (basic)
Introduction to programming language (basic)nharsh2308
 
La 5 Programming1
La 5   Programming1La 5   Programming1
La 5 Programming1Cma Mohd
 
Introduction To Computer Programming
Introduction To Computer ProgrammingIntroduction To Computer Programming
Introduction To Computer ProgrammingHussain Buksh
 
C programming slide day 01 uploadd by md abdullah al shakil
C programming slide day 01 uploadd by md abdullah al shakilC programming slide day 01 uploadd by md abdullah al shakil
C programming slide day 01 uploadd by md abdullah al shakilZenith SVG
 
Computer programming programming_langugages
Computer programming programming_langugagesComputer programming programming_langugages
Computer programming programming_langugageseShikshak
 
Algorithm Design & Implementation
Algorithm Design & ImplementationAlgorithm Design & Implementation
Algorithm Design & ImplementationGaditek
 
4 coding from algorithms
4 coding from algorithms4 coding from algorithms
4 coding from algorithmshccit
 
Algorithms and flow charts
Algorithms and flow chartsAlgorithms and flow charts
Algorithms and flow chartsChinnu Edwin
 
Ppt about programming in methodology
Ppt about programming in methodology Ppt about programming in methodology
Ppt about programming in methodology Vaishnavirakshe2
 
What is programming what are its benefits
What is programming  what are its benefits What is programming  what are its benefits
What is programming what are its benefits Vijay Singh Khatri
 
358 33 powerpoint-slides_1-introduction-c_chapter-1
358 33 powerpoint-slides_1-introduction-c_chapter-1358 33 powerpoint-slides_1-introduction-c_chapter-1
358 33 powerpoint-slides_1-introduction-c_chapter-1sumitbardhan
 
Algorithm-Introduction ,Characterestics & Control Structures.pdf
Algorithm-Introduction ,Characterestics & Control Structures.pdfAlgorithm-Introduction ,Characterestics & Control Structures.pdf
Algorithm-Introduction ,Characterestics & Control Structures.pdfMaryJacob24
 
C Course material
C Course materialC Course material
C Course materialFareed Khan
 
Computer programing 111 lecture 2
Computer programing 111 lecture 2Computer programing 111 lecture 2
Computer programing 111 lecture 2ITNet
 
Fundamentals of programming with C++
Fundamentals of programming with C++Fundamentals of programming with C++
Fundamentals of programming with C++Seble Nigussie
 

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

Chapter 5
Chapter 5Chapter 5
Chapter 5
 
Introduction to programming c
Introduction to programming cIntroduction to programming c
Introduction to programming c
 
Introduction to programming language (basic)
Introduction to programming language (basic)Introduction to programming language (basic)
Introduction to programming language (basic)
 
La 5 Programming1
La 5   Programming1La 5   Programming1
La 5 Programming1
 
Programming
ProgrammingProgramming
Programming
 
Introduction To Computer Programming
Introduction To Computer ProgrammingIntroduction To Computer Programming
Introduction To Computer Programming
 
C programming slide day 01 uploadd by md abdullah al shakil
C programming slide day 01 uploadd by md abdullah al shakilC programming slide day 01 uploadd by md abdullah al shakil
C programming slide day 01 uploadd by md abdullah al shakil
 
Computer programming programming_langugages
Computer programming programming_langugagesComputer programming programming_langugages
Computer programming programming_langugages
 
Ic lecture7
Ic lecture7  Ic lecture7
Ic lecture7
 
Algorithm Design & Implementation
Algorithm Design & ImplementationAlgorithm Design & Implementation
Algorithm Design & Implementation
 
4 coding from algorithms
4 coding from algorithms4 coding from algorithms
4 coding from algorithms
 
Algorithms and flow charts
Algorithms and flow chartsAlgorithms and flow charts
Algorithms and flow charts
 
Ppt about programming in methodology
Ppt about programming in methodology Ppt about programming in methodology
Ppt about programming in methodology
 
What is programming what are its benefits
What is programming  what are its benefits What is programming  what are its benefits
What is programming what are its benefits
 
358 33 powerpoint-slides_1-introduction-c_chapter-1
358 33 powerpoint-slides_1-introduction-c_chapter-1358 33 powerpoint-slides_1-introduction-c_chapter-1
358 33 powerpoint-slides_1-introduction-c_chapter-1
 
Algorithm-Introduction ,Characterestics & Control Structures.pdf
Algorithm-Introduction ,Characterestics & Control Structures.pdfAlgorithm-Introduction ,Characterestics & Control Structures.pdf
Algorithm-Introduction ,Characterestics & Control Structures.pdf
 
C Course material
C Course materialC Course material
C Course material
 
Computer programing 111 lecture 2
Computer programing 111 lecture 2Computer programing 111 lecture 2
Computer programing 111 lecture 2
 
Cp 111 lecture 2
Cp 111 lecture 2Cp 111 lecture 2
Cp 111 lecture 2
 
Fundamentals of programming with C++
Fundamentals of programming with C++Fundamentals of programming with C++
Fundamentals of programming with C++
 

Recently uploaded

Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 

Recently uploaded (20)

TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 

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

  1. How to withdraw MOMO wallet so you can do that by just using the acronyms and it's indicative of lent