SlideShare a Scribd company logo
1 of 14
I Think,
Therefore I Code
An introduction to pseudocode
Silvia España Gil
01
Silvia who?
Did a corporate communications degree.
Changed career at 33.
PUBLICIST
01.
One year ago didn't know anything about
coding. Now I code in Swift
02.
DEVELOPER
I love playing. My first one was lemmings,
on diskette! Currently playing Elden Ring.
03.
GAMER
02
What do we
programmers do?
We develop algorithms that allow us to provide
solutions.
Algorithms allow us to define a series of steps that,
when executed, will result in the resolution of a
problem.
They are basically a recipe to follow.
Solve problems
03
characteristics
Algorithm
04
They indicate exactly what we
want to do
Precise
They solve a concrete and
defined situation or problem
Specific
Its results will always be the same
Defined
Specify the sequence in which the
steps should occur
Organized
They have a beginning and an
end: the solution
Finites
05
06
Pseudocode
Simple
Texts with non-formal language,
developed with the idea of
solving a problem
Free format
It can be developed with the
amount of detail that we want or
with the stucture that better suit
us
Prequel
It is done before we start writing
our code as a way to organize but
also to make troubleshooting
easier
Perks
07
Anticipate possible
errors in the data
flow
Define the steps to
follow in the
development of our
algorithm
Save
development
time
08
These are the guidelines that we need to comply with. These are executed from top to bottom -
almost always -
Normally the statements are verbs in infinitive and will always have the first capital letter: Enter,
Show, Print, Request, Increase etc
Structure: Statements
Conditionals and
other structures
09
We can go further by adding other
figures such as conditionals or other
structures.
To do so we should use "if" - "if else",
"for", "switch" as we need.
In these cases it is recommended to use
the same word that we would use in the
language to avoid misunderstandings
Structure:
Start and end
10
Pseudocode must, like algorithms, to
have a beginning and an ending.
In the event that we have conditionals,
we should also write down where our
condition ends. So we can easily
understand the extent of them.
This will also make our pseudocode
easier to understand when dealing with
more complex problems
Structure:
Demo
11
Language
Simple language,
statements as
infinitive verbs
Finite
Marking the start
and the ending of
the pseudocode
Comments
Useful comments
that may help with
later coding
Demo
12
Piecewise code
Second layer
pseudocode for
further detail
Conditionals
Use of conditionals
limited by their own
endings
There are no rights or wrongs in the use of pseudocode
and it is a really helpful too for developers of any tier.
If your team uses Pseudocode as an approach to solutions,
ask which guidelines they follow and if there are none
find the style that better suits you.
I like to call my style a layered one.
No rights or wrongs
How would
you do it?
13
Feel free to reach me through
Gracias!
14
silviaespanagil
silviaespanagil
silviaespanagil
@fischesil

More Related Content

Similar to I Think, therefore I Code.pdf

C programming .pptx
C programming .pptxC programming .pptx
C programming .pptxSuhaibKhan62
 
Scottish Ruby Conference 2014
Scottish Ruby Conference  2014Scottish Ruby Conference  2014
Scottish Ruby Conference 2014michaelag1971
 
Cis 1403 lab1- the process of programming
Cis 1403 lab1- the process of programmingCis 1403 lab1- the process of programming
Cis 1403 lab1- the process of programmingHamad Odhabi
 
An introduction to coding
An introduction to codingAn introduction to coding
An introduction to codingiain bruce
 
Vpet sd-1.25.18
Vpet sd-1.25.18Vpet sd-1.25.18
Vpet sd-1.25.18Thinkful
 
E4IT STARTER - MODULE 11.pdf
E4IT STARTER - MODULE 11.pdfE4IT STARTER - MODULE 11.pdf
E4IT STARTER - MODULE 11.pdfAnna Gandrabura
 
TDD - Cultivating a Beginner's Mind
TDD -  Cultivating a Beginner's MindTDD -  Cultivating a Beginner's Mind
TDD - Cultivating a Beginner's MindShai Yallin
 
Introducing small basic
Introducing small basicIntroducing small basic
Introducing small basicAn I
 
WordCamp Pune 2017- WordPress Coding standards
WordCamp Pune 2017- WordPress Coding standardsWordCamp Pune 2017- WordPress Coding standards
WordCamp Pune 2017- WordPress Coding standardsSwapnil Patil
 
Introducing small basic
Introducing small basicIntroducing small basic
Introducing small basicSara Samol
 
notes on Programming fundamentals
notes on Programming fundamentals notes on Programming fundamentals
notes on Programming fundamentals ArghodeepPaul
 
Introducing small basic
Introducing small basicIntroducing small basic
Introducing small basicsom_nangia
 
Coding Best Practices.docx
Coding Best Practices.docxCoding Best Practices.docx
Coding Best Practices.docxShitanshuKumar15
 
What Is Coding And Why Should You Learn It?
What Is Coding And Why Should You Learn It?What Is Coding And Why Should You Learn It?
What Is Coding And Why Should You Learn It?Syed Hassan Raza
 

Similar to I Think, therefore I Code.pdf (20)

C programming .pptx
C programming .pptxC programming .pptx
C programming .pptx
 
Scottish Ruby Conference 2014
Scottish Ruby Conference  2014Scottish Ruby Conference  2014
Scottish Ruby Conference 2014
 
Cis 1403 lab1- the process of programming
Cis 1403 lab1- the process of programmingCis 1403 lab1- the process of programming
Cis 1403 lab1- the process of programming
 
An introduction to coding
An introduction to codingAn introduction to coding
An introduction to coding
 
Vpet sd-1.25.18
Vpet sd-1.25.18Vpet sd-1.25.18
Vpet sd-1.25.18
 
Csharp_Chap01
Csharp_Chap01Csharp_Chap01
Csharp_Chap01
 
Introducing Small Basic.pdf
Introducing Small Basic.pdfIntroducing Small Basic.pdf
Introducing Small Basic.pdf
 
E4IT STARTER - MODULE 11.pdf
E4IT STARTER - MODULE 11.pdfE4IT STARTER - MODULE 11.pdf
E4IT STARTER - MODULE 11.pdf
 
TDD - Cultivating a Beginner's Mind
TDD -  Cultivating a Beginner's MindTDD -  Cultivating a Beginner's Mind
TDD - Cultivating a Beginner's Mind
 
Introducing small basic
Introducing small basicIntroducing small basic
Introducing small basic
 
WordCamp Pune 2017- WordPress Coding standards
WordCamp Pune 2017- WordPress Coding standardsWordCamp Pune 2017- WordPress Coding standards
WordCamp Pune 2017- WordPress Coding standards
 
Introducing small basic
Introducing small basicIntroducing small basic
Introducing small basic
 
notes on Programming fundamentals
notes on Programming fundamentals notes on Programming fundamentals
notes on Programming fundamentals
 
Introducing small basic
Introducing small basicIntroducing small basic
Introducing small basic
 
Algorithm vs
Algorithm vsAlgorithm vs
Algorithm vs
 
Cat scratch
Cat scratchCat scratch
Cat scratch
 
Chapter 2- Prog101.ppt
Chapter 2- Prog101.pptChapter 2- Prog101.ppt
Chapter 2- Prog101.ppt
 
Coding Best Practices.docx
Coding Best Practices.docxCoding Best Practices.docx
Coding Best Practices.docx
 
_PYTHON_CHAPTER_2.pdf
_PYTHON_CHAPTER_2.pdf_PYTHON_CHAPTER_2.pdf
_PYTHON_CHAPTER_2.pdf
 
What Is Coding And Why Should You Learn It?
What Is Coding And Why Should You Learn It?What Is Coding And Why Should You Learn It?
What Is Coding And Why Should You Learn It?
 

Recently uploaded

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 

Recently uploaded (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 

I Think, therefore I Code.pdf

  • 1. I Think, Therefore I Code An introduction to pseudocode Silvia España Gil 01
  • 2. Silvia who? Did a corporate communications degree. Changed career at 33. PUBLICIST 01. One year ago didn't know anything about coding. Now I code in Swift 02. DEVELOPER I love playing. My first one was lemmings, on diskette! Currently playing Elden Ring. 03. GAMER 02
  • 3. What do we programmers do? We develop algorithms that allow us to provide solutions. Algorithms allow us to define a series of steps that, when executed, will result in the resolution of a problem. They are basically a recipe to follow. Solve problems 03
  • 4. characteristics Algorithm 04 They indicate exactly what we want to do Precise They solve a concrete and defined situation or problem Specific Its results will always be the same Defined Specify the sequence in which the steps should occur Organized They have a beginning and an end: the solution Finites
  • 5. 05
  • 6. 06 Pseudocode Simple Texts with non-formal language, developed with the idea of solving a problem Free format It can be developed with the amount of detail that we want or with the stucture that better suit us Prequel It is done before we start writing our code as a way to organize but also to make troubleshooting easier
  • 7. Perks 07 Anticipate possible errors in the data flow Define the steps to follow in the development of our algorithm Save development time
  • 8. 08 These are the guidelines that we need to comply with. These are executed from top to bottom - almost always - Normally the statements are verbs in infinitive and will always have the first capital letter: Enter, Show, Print, Request, Increase etc Structure: Statements
  • 9. Conditionals and other structures 09 We can go further by adding other figures such as conditionals or other structures. To do so we should use "if" - "if else", "for", "switch" as we need. In these cases it is recommended to use the same word that we would use in the language to avoid misunderstandings Structure:
  • 10. Start and end 10 Pseudocode must, like algorithms, to have a beginning and an ending. In the event that we have conditionals, we should also write down where our condition ends. So we can easily understand the extent of them. This will also make our pseudocode easier to understand when dealing with more complex problems Structure:
  • 11. Demo 11 Language Simple language, statements as infinitive verbs Finite Marking the start and the ending of the pseudocode Comments Useful comments that may help with later coding
  • 12. Demo 12 Piecewise code Second layer pseudocode for further detail Conditionals Use of conditionals limited by their own endings
  • 13. There are no rights or wrongs in the use of pseudocode and it is a really helpful too for developers of any tier. If your team uses Pseudocode as an approach to solutions, ask which guidelines they follow and if there are none find the style that better suits you. I like to call my style a layered one. No rights or wrongs How would you do it? 13
  • 14. Feel free to reach me through Gracias! 14 silviaespanagil silviaespanagil silviaespanagil @fischesil