SlideShare a Scribd company logo
1 of 30
Overview of
Python
Programming
Language
What is Python?
 Python is Programming Language
which is Object-oriented, High-level,
Multi-Purpose and Extremely user
friendly.
Brief History of Python
 Invented in the Netherlands, early 90s by Guido van Rossum
 Named after Monty Python
 Open sourced from the beginning
 Implementation was started in December 1989
 Scalable, object oriented and functional from the beginning
 Used by Google from the beginning
 Increasingly popular
Why Learn Python?
 Python has a simple sytax; it has abundant libraries
and built-in-modules when compared to many other
high-level languages like C, C++, Java etc.
 Portable – Python is a cross-platfrom language. The
code written in one operating system will work well
with other OS.
 It is easy to use
 Python does a different kind of tasks on varied
platforms.
Disadvantages
 It cannot be used for mobile application
development.
 It has limitations with database access.
 It throws run time issues that cause the issue
for the programmers.
 Its speed is slow.
 Need more maintenance of application and
code.
Python’s Benevolent Dictator For Life
“Python is an experiment in
how much freedom program-
mers need. Too much freedom
and nobody can read another's
code; too little and expressive-
ness is endangered.”
- Guido van Rossum
Applications
 Web and Internet Development
 Scientific and numeric computing
 Education
 Desktop GUIs
 Software & Game Development, Robot and many more
 Network Programming
 Business Applications
Who is using Python?
 Microsoft
 Google
 Yahoo
 YouTube
 Mozilla
 DropBox
 Cisco
 Spotify
 Facebook
 OpenStack
Conclusion
Python is a widely used programming
langauge and is now the most popular
language to use across the organization
and programmers as well.
It supports cross-platfrom, and
applications based on python language
can be run on any platform without any
issues.
Algorithm
Systematic logical approach which is a
well-defined, step-by-step procedure that
allows a computer to solve a problem.
Flowchart
Pseudo Code
It is a simpler version of a programming
code in plain English which uses short phrases
to write code for a program before it is
implemented in a specific programming
language.
Note: Pseudocode is not an actual programming language.
Program
A program is a set of instructions for the
computer to follow. The machine can’t read a
program directly, because it only understands
machine code. But you can write stuff in a
computer language, and then a compiler or
interpreter can make it understandable to the
computer.
Algorithm vs Pseudocode vs
Program:
1. An algorithm is defined as a well-defined
sequence of steps that provides a solution for a
given problem, whereas a pseudocode is one
of the methods that can be used to represent an
algorithm.
2. While algorithms are generally written in a
natural language or plain English language,
pseudocode is written in a format that is similar
to the structure of a high-level programming
language. Program on the other hand allows us
to write a code in a particular programming
language.
Algorithm vs Pseudocode vs
Program:
• So, as depicted above you can clearly see
how the algorithm is used to generate the
pseudocode which is further expanded by
following a particular syntax of a
programming language to create the code of
the program.
Flowcharts
• is a type of diagram that represents an
algorithm, workflow or process. The flowchart
shows the steps as boxes of various kinds,
and their order by connecting the boxes with
arrows. This diagrammatic representation
illustrates a solution model to a given
problem.
Flowcharts
 Oval: start / end
 Parallelogram:
input / output
 Rectangle:
calculations
 Diamond:
selection structures
Flowcharts
 Arrows connect the basic shapes in a
flowchart. The shapes and arrows of a
flowchart describe the flow of a program from
start to end.
 Flowcharts typically flow from the top to the
bottom or flow from the left to the right.
Basic Flowchart
 Arrows connect the basic
shapes in a flowchart. The
shapes and arrows of a
flowchart describe the flow of a
program from start to end.
 Flowcharts typically flow from
the top to the bottom or flow
from the left to the right.
Flowchart with input/output
and calculations
Flowchart with input/output,
calculations and selection
Complex Flowchart
Flowcharting Activity
1. Am I admitted to USTP?
2. A girl goes to a mall to buy a dress.
Programming Structure
1.Sequences
2.Selections
3.Loops
Programming Structure
 A sequence is a series of actions that is
completed in a specific order. Action 1 is
performed, then Action 2, then Action 3, etc.,
until all of the actions in the sequence have
been carried out.
Programming Structure
 Selections are a bit different. Instead of
following a specific order of events, they ask
a question in order to figure out which path
to take next.
Programming Structure
 The third programming structure is
a loop. Like selections, loops ask
questions.
 However, the difference is that they ask
the same question over and over and
over again, until a certain task is
complete.
Programming Structure
 These three programming structures may
seem pretty simple on their own, but when
combined they can create some pretty
complex software.
Programming Structure
Basic Syntax of Python

More Related Content

What's hot

Chapter 4 software project planning
Chapter 4 software project planningChapter 4 software project planning
Chapter 4 software project planningPiyush Gogia
 
Interactive Python PPT with animations
Interactive Python PPT with animationsInteractive Python PPT with animations
Interactive Python PPT with animationsShauryaChawla4
 
introduction to python
 introduction to python introduction to python
introduction to pythonJincy Nelson
 
Python | What is Python | History of Python | Python Tutorial
Python | What is Python | History of Python | Python TutorialPython | What is Python | History of Python | Python Tutorial
Python | What is Python | History of Python | Python TutorialQA TrainingHub
 
Conditional and control statement
Conditional and control statementConditional and control statement
Conditional and control statementnarmadhakin
 
Data types, Variables, Expressions & Arithmetic Operators in java
Data types, Variables, Expressions & Arithmetic Operators in javaData types, Variables, Expressions & Arithmetic Operators in java
Data types, Variables, Expressions & Arithmetic Operators in javaJaved Rashid
 
Heterogeneous Defect Prediction (

ESEC/FSE 2015)
Heterogeneous Defect Prediction (

ESEC/FSE 2015)Heterogeneous Defect Prediction (

ESEC/FSE 2015)
Heterogeneous Defect Prediction (

ESEC/FSE 2015)Sung Kim
 
Introduction to c programming
Introduction to c programmingIntroduction to c programming
Introduction to c programmingAlpana Gupta
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & LanguagesGaditek
 
Round Robin Scheduling Algorithm
Round Robin Scheduling AlgorithmRound Robin Scheduling Algorithm
Round Robin Scheduling AlgorithmAdeel Rasheed
 
principle of oop’s in cpp
principle of oop’s in cppprinciple of oop’s in cpp
principle of oop’s in cppgourav kottawar
 

What's hot (20)

Chapter 4 software project planning
Chapter 4 software project planningChapter 4 software project planning
Chapter 4 software project planning
 
Introduction to Python Basics Programming
Introduction to Python Basics ProgrammingIntroduction to Python Basics Programming
Introduction to Python Basics Programming
 
Python functions
Python functionsPython functions
Python functions
 
Python
PythonPython
Python
 
Interactive Python PPT with animations
Interactive Python PPT with animationsInteractive Python PPT with animations
Interactive Python PPT with animations
 
05 python.pdf
05 python.pdf05 python.pdf
05 python.pdf
 
introduction to python
 introduction to python introduction to python
introduction to python
 
Python | What is Python | History of Python | Python Tutorial
Python | What is Python | History of Python | Python TutorialPython | What is Python | History of Python | Python Tutorial
Python | What is Python | History of Python | Python Tutorial
 
Python Loop
Python LoopPython Loop
Python Loop
 
Conditional and control statement
Conditional and control statementConditional and control statement
Conditional and control statement
 
Data types, Variables, Expressions & Arithmetic Operators in java
Data types, Variables, Expressions & Arithmetic Operators in javaData types, Variables, Expressions & Arithmetic Operators in java
Data types, Variables, Expressions & Arithmetic Operators in java
 
System programming
System programmingSystem programming
System programming
 
Heterogeneous Defect Prediction (

ESEC/FSE 2015)
Heterogeneous Defect Prediction (

ESEC/FSE 2015)Heterogeneous Defect Prediction (

ESEC/FSE 2015)
Heterogeneous Defect Prediction (

ESEC/FSE 2015)
 
Introduction to c programming
Introduction to c programmingIntroduction to c programming
Introduction to c programming
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & Languages
 
Getting Started with Python
Getting Started with PythonGetting Started with Python
Getting Started with Python
 
Python programming : Files
Python programming : FilesPython programming : Files
Python programming : Files
 
C Language
C LanguageC Language
C Language
 
Round Robin Scheduling Algorithm
Round Robin Scheduling AlgorithmRound Robin Scheduling Algorithm
Round Robin Scheduling Algorithm
 
principle of oop’s in cpp
principle of oop’s in cppprinciple of oop’s in cpp
principle of oop’s in cpp
 

Similar to Introductoin to Python.ppt

Introduction to python
Introduction to pythonIntroduction to python
Introduction to pythonRanjith kumar
 
Python Programming and ApplicationsUnit-1.docx
Python Programming and ApplicationsUnit-1.docxPython Programming and ApplicationsUnit-1.docx
Python Programming and ApplicationsUnit-1.docxManohar k
 
notes on Programming fundamentals
notes on Programming fundamentals notes on Programming fundamentals
notes on Programming fundamentals ArghodeepPaul
 
Cmp2412 programming principles
Cmp2412 programming principlesCmp2412 programming principles
Cmp2412 programming principlesNIKANOR THOMAS
 
Algorithms and flow charts
Algorithms and flow chartsAlgorithms and flow charts
Algorithms and flow chartsChinnu Edwin
 
Introduction to programming language (basic)
Introduction to programming language (basic)Introduction to programming language (basic)
Introduction to programming language (basic)nharsh2308
 
Specification Of The Programming Language Of Java
Specification Of The Programming Language Of JavaSpecification Of The Programming Language Of Java
Specification Of The Programming Language Of JavaKim Moore
 
4 coding from algorithms
4 coding from algorithms4 coding from algorithms
4 coding from algorithmshccit
 
Creating a compiler for your own language
Creating a compiler for your own languageCreating a compiler for your own language
Creating a compiler for your own languageAndrea Tino
 
Lesson 1 - Introduction to Computer Programming.pptx
Lesson 1 - Introduction to Computer Programming.pptxLesson 1 - Introduction to Computer Programming.pptx
Lesson 1 - Introduction to Computer Programming.pptxNeil Mutia
 
L1. Basic Programming Concepts.pdf
L1. Basic Programming Concepts.pdfL1. Basic Programming Concepts.pdf
L1. Basic Programming Concepts.pdfMMRF2
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & LanguagesGaditek
 
introduction to programming
introduction to programmingintroduction to programming
introduction to programmingGaea Bonita
 

Similar to Introductoin to Python.ppt (20)

Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
 
Python Programming and ApplicationsUnit-1.docx
Python Programming and ApplicationsUnit-1.docxPython Programming and ApplicationsUnit-1.docx
Python Programming and ApplicationsUnit-1.docx
 
Introduction to Programming.docx
Introduction to Programming.docxIntroduction to Programming.docx
Introduction to Programming.docx
 
notes on Programming fundamentals
notes on Programming fundamentals notes on Programming fundamentals
notes on Programming fundamentals
 
Beekman5 std ppt_13
Beekman5 std ppt_13Beekman5 std ppt_13
Beekman5 std ppt_13
 
Research paper on python by Rj
Research paper on python by RjResearch paper on python by Rj
Research paper on python by Rj
 
UNIT 2 ECSE-2.pptx
UNIT 2 ECSE-2.pptxUNIT 2 ECSE-2.pptx
UNIT 2 ECSE-2.pptx
 
grade 10 2023.pptx
grade 10 2023.pptxgrade 10 2023.pptx
grade 10 2023.pptx
 
Cmp2412 programming principles
Cmp2412 programming principlesCmp2412 programming principles
Cmp2412 programming principles
 
Algorithms and flow charts
Algorithms and flow chartsAlgorithms and flow charts
Algorithms and flow charts
 
Ic lecture8
Ic lecture8 Ic lecture8
Ic lecture8
 
Introduction to programming language (basic)
Introduction to programming language (basic)Introduction to programming language (basic)
Introduction to programming language (basic)
 
Specification Of The Programming Language Of Java
Specification Of The Programming Language Of JavaSpecification Of The Programming Language Of Java
Specification Of The Programming Language Of Java
 
4 coding from algorithms
4 coding from algorithms4 coding from algorithms
4 coding from algorithms
 
python-handbook.pdf
python-handbook.pdfpython-handbook.pdf
python-handbook.pdf
 
Creating a compiler for your own language
Creating a compiler for your own languageCreating a compiler for your own language
Creating a compiler for your own language
 
Lesson 1 - Introduction to Computer Programming.pptx
Lesson 1 - Introduction to Computer Programming.pptxLesson 1 - Introduction to Computer Programming.pptx
Lesson 1 - Introduction to Computer Programming.pptx
 
L1. Basic Programming Concepts.pdf
L1. Basic Programming Concepts.pdfL1. Basic Programming Concepts.pdf
L1. Basic Programming Concepts.pdf
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & Languages
 
introduction to programming
introduction to programmingintroduction to programming
introduction to programming
 

Recently uploaded

Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 

Recently uploaded (20)

Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 

Introductoin to Python.ppt

  • 2. What is Python?  Python is Programming Language which is Object-oriented, High-level, Multi-Purpose and Extremely user friendly.
  • 3. Brief History of Python  Invented in the Netherlands, early 90s by Guido van Rossum  Named after Monty Python  Open sourced from the beginning  Implementation was started in December 1989  Scalable, object oriented and functional from the beginning  Used by Google from the beginning  Increasingly popular
  • 4. Why Learn Python?  Python has a simple sytax; it has abundant libraries and built-in-modules when compared to many other high-level languages like C, C++, Java etc.  Portable – Python is a cross-platfrom language. The code written in one operating system will work well with other OS.  It is easy to use  Python does a different kind of tasks on varied platforms.
  • 5. Disadvantages  It cannot be used for mobile application development.  It has limitations with database access.  It throws run time issues that cause the issue for the programmers.  Its speed is slow.  Need more maintenance of application and code.
  • 6. Python’s Benevolent Dictator For Life “Python is an experiment in how much freedom program- mers need. Too much freedom and nobody can read another's code; too little and expressive- ness is endangered.” - Guido van Rossum
  • 7. Applications  Web and Internet Development  Scientific and numeric computing  Education  Desktop GUIs  Software & Game Development, Robot and many more  Network Programming  Business Applications
  • 8. Who is using Python?  Microsoft  Google  Yahoo  YouTube  Mozilla  DropBox  Cisco  Spotify  Facebook  OpenStack
  • 9. Conclusion Python is a widely used programming langauge and is now the most popular language to use across the organization and programmers as well. It supports cross-platfrom, and applications based on python language can be run on any platform without any issues.
  • 10. Algorithm Systematic logical approach which is a well-defined, step-by-step procedure that allows a computer to solve a problem.
  • 12. Pseudo Code It is a simpler version of a programming code in plain English which uses short phrases to write code for a program before it is implemented in a specific programming language. Note: Pseudocode is not an actual programming language.
  • 13. Program A program is a set of instructions for the computer to follow. The machine can’t read a program directly, because it only understands machine code. But you can write stuff in a computer language, and then a compiler or interpreter can make it understandable to the computer.
  • 14. Algorithm vs Pseudocode vs Program: 1. An algorithm is defined as a well-defined sequence of steps that provides a solution for a given problem, whereas a pseudocode is one of the methods that can be used to represent an algorithm. 2. While algorithms are generally written in a natural language or plain English language, pseudocode is written in a format that is similar to the structure of a high-level programming language. Program on the other hand allows us to write a code in a particular programming language.
  • 15. Algorithm vs Pseudocode vs Program: • So, as depicted above you can clearly see how the algorithm is used to generate the pseudocode which is further expanded by following a particular syntax of a programming language to create the code of the program.
  • 16. Flowcharts • is a type of diagram that represents an algorithm, workflow or process. The flowchart shows the steps as boxes of various kinds, and their order by connecting the boxes with arrows. This diagrammatic representation illustrates a solution model to a given problem.
  • 17. Flowcharts  Oval: start / end  Parallelogram: input / output  Rectangle: calculations  Diamond: selection structures
  • 18. Flowcharts  Arrows connect the basic shapes in a flowchart. The shapes and arrows of a flowchart describe the flow of a program from start to end.  Flowcharts typically flow from the top to the bottom or flow from the left to the right.
  • 19. Basic Flowchart  Arrows connect the basic shapes in a flowchart. The shapes and arrows of a flowchart describe the flow of a program from start to end.  Flowcharts typically flow from the top to the bottom or flow from the left to the right.
  • 23. Flowcharting Activity 1. Am I admitted to USTP? 2. A girl goes to a mall to buy a dress.
  • 25. Programming Structure  A sequence is a series of actions that is completed in a specific order. Action 1 is performed, then Action 2, then Action 3, etc., until all of the actions in the sequence have been carried out.
  • 26. Programming Structure  Selections are a bit different. Instead of following a specific order of events, they ask a question in order to figure out which path to take next.
  • 27. Programming Structure  The third programming structure is a loop. Like selections, loops ask questions.  However, the difference is that they ask the same question over and over and over again, until a certain task is complete.
  • 28. Programming Structure  These three programming structures may seem pretty simple on their own, but when combined they can create some pretty complex software.
  • 30. Basic Syntax of Python