SlideShare uma empresa Scribd logo
1 de 19
Dr.B.Srinivasa Rao
Assistant Professor,CSE Dept
GIT
Problem Solving and Programming With Python
Problem Solving and Programming
With Python
Objectives
Problem Solving and Programming With Python
 To introduce programming through Visual
programming tool – Scratch.
 To teach problem solving through Flow charting
tool – Raptor.
 To elucidate problem solving through python
programming language.
Objectives
Problem Solving and Programming With Python
 To introduce function-oriented programming
paradigm through python.
 To train in development of solutions using modular
concepts.
 To teach practical Pythonic solution patterns.
Introduction
Problem Solving and Programming With Python
 Introduction to Programming
 Why Programming ?
 Programming for Everybody
Introduction
Problem Solving and Programming With Python
 Any Prerequisites ?
 Where to start?
 Why do we have so many languages?
Introduction
Problem Solving and Programming With Python
 How to go about programming?
 Why to learn programming?
 What is programming?
 How to give instructions ?
7
What Is a Computer?
 Computer
 Performs computations and makes logical decisions
 Millions / billions times faster than human beings
 Computer programs
 Sets of instructions by which a computer processes
data
 Hardware
 Physical devices of computer system
 Software
 Programs that run on computers
Problem Solving and Programming With Python
The boot process
 The process by which a machine comes up from
rest state to the state that is usable is known as
booting
 When the power is turned on
 The CPU runs the BIOS (Basic Input / Output
System)
 Usually located on a chip on the motherboard
 Runs POST (Power On Self Test) of various hardware
components
 Loads the boot sector program
8
Problem Solving and Programming With Python
Information storage
 1 bit
 8 bits
 16 bits
 32 bits
 64 bits
• bit (1 or 0)
• byte (octet) (28)
• word (216)
• double (232)
• long double (264)
Encoding information on a fixed element of length n with a base b
gives bn non-redundant possibilities
Problem Solving and Programming With Python
Information coding
 Binary
 0 or 1
 Octal
 0-7
 Hexadecimal
 0-9+A-F
 Decimal
 0-9
Problem Solving and Programming With Python
RAM/ROM
 Size reminder:
 Kilobyte Kb 210 ~103
 Megabyte Mb 220 ~106
 Gigabyte Gb 230 ~109
 Terabyte Tb 240 ~1012
 Petabyte Pb 250 ~1015
 …
Problem Solving and Programming With Python
Display
 Screen pixel or dots
 Color coding: 32 bits
 1 pixel = 3 bytes of color (RGB)+1 byte alpha channel (transparency)
 1600x1200x4bytes=7.5 Mb!
Problem Solving and Programming With Python
Storage Devices
 Hard Disk Drive: used to store data inside of the computer.
 Magnetic platter that holds a large amount of information in
a form the computer can understand.
 Floppy Disk: flat circles of iron oxide-coated plastic
enclosed in a hard plastic case.
 Most are 3 ½ inches and have a capacity to hold 1.44 MB
or more of data.
 CD ROM Drive: a compact disk that reads only memory.
 CD-RW: a device that allows you to read and write to a
compact disk
Problem Solving and Programming With Python
Storage Devices (Con.)
 Internal Storage:
Allows you to store
information inside of the
computer
Hard Drive:
Allows the fastest access
to information
RAM (Random Access
Memory) – temporary
ROM (Read Only
Memory) -
long-term memory
 External Storage:
Allows you to use devices to
store information outside
of the computer
Floppy Disks
CD-ROMs (Compact Disc
Read Only Memory)
CD-RW (Compact Disc
(Read and Write)
DVDs (Digital Video Disc)
USB/Jump Drives
Problem Solving and Programming With Python
Which Storage Device Holds
the Most Information?
FLOPPY DISKS
1.44 MB
CD-ROM DISC
640 MB
DVD DISC
17 GB
HARD DRIVES
80 and above GB
Problem Solving and Programming With Python
DVD
 DVD ROM
 Digital Video Disk which is read only.
 DVD-R
 Digital Video Disk which can be written to one
time. It then becomes read only.
 DVD-RW
 Digital Video Disk which can be rewritten to.
Problem Solving and Programming With Python
HD/DVD
track
sector
head
Problem Solving and Programming With Python
Flash or jump Drives
 External storage devices that can be used
like a external hard drive.
 They have the capability to be saved to,
deleted from, and files can be renamed
just like with a normal hard drive.
Problem Solving and Programming With Python
Thank you
Problem Solving and Programming With Python

Mais conteúdo relacionado

Semelhante a PSPClass1.pptx

Raspberry Pi introduction
Raspberry Pi introductionRaspberry Pi introduction
Raspberry Pi introductionLotfi Messaoudi
 
Computer Concepts
Computer ConceptsComputer Concepts
Computer ConceptsPhoebe Kim
 
Python for Science and Engineering: a presentation to A*STAR and the Singapor...
Python for Science and Engineering: a presentation to A*STAR and the Singapor...Python for Science and Engineering: a presentation to A*STAR and the Singapor...
Python for Science and Engineering: a presentation to A*STAR and the Singapor...pythoncharmers
 
The Python Book_ The ultimate guide to coding with Python ( PDFDrive ).pdf
The Python Book_ The ultimate guide to coding with Python ( PDFDrive ).pdfThe Python Book_ The ultimate guide to coding with Python ( PDFDrive ).pdf
The Python Book_ The ultimate guide to coding with Python ( PDFDrive ).pdfssuser8b3cdd
 
What is Python? (Silicon Valley CodeCamp 2015)
What is Python? (Silicon Valley CodeCamp 2015)What is Python? (Silicon Valley CodeCamp 2015)
What is Python? (Silicon Valley CodeCamp 2015)wesley chun
 
Demystifying software development
Demystifying software developmentDemystifying software development
Demystifying software developmentDina Neishtadt
 
My presentation raspberry pi
My presentation raspberry piMy presentation raspberry pi
My presentation raspberry piHusainBhaldar21
 
Itroduction about java
Itroduction about javaItroduction about java
Itroduction about javasrmohan06
 
Exploring the ABC's of Raspberry Pi with Python
Exploring the ABC's of Raspberry Pi with PythonExploring the ABC's of Raspberry Pi with Python
Exploring the ABC's of Raspberry Pi with PythonShahed Mehbub
 
Ccia unit 2
Ccia unit 2Ccia unit 2
Ccia unit 2astriel1
 
Intro To Computer Hardware
Intro To Computer HardwareIntro To Computer Hardware
Intro To Computer Hardwareiarthur
 
Computer basics--computer basics2
Computer basics--computer basics2Computer basics--computer basics2
Computer basics--computer basics2Makk Quak
 
Computer
ComputerComputer
ComputerCAFE91
 
Tac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PITac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PICliff Samuels Jr.
 

Semelhante a PSPClass1.pptx (20)

Computer architecture
Computer architectureComputer architecture
Computer architecture
 
Raspberry Pi introduction
Raspberry Pi introductionRaspberry Pi introduction
Raspberry Pi introduction
 
Computer Concepts
Computer ConceptsComputer Concepts
Computer Concepts
 
Python for Science and Engineering: a presentation to A*STAR and the Singapor...
Python for Science and Engineering: a presentation to A*STAR and the Singapor...Python for Science and Engineering: a presentation to A*STAR and the Singapor...
Python for Science and Engineering: a presentation to A*STAR and the Singapor...
 
MODULE 1.pptx
MODULE 1.pptxMODULE 1.pptx
MODULE 1.pptx
 
The Python Book_ The ultimate guide to coding with Python ( PDFDrive ).pdf
The Python Book_ The ultimate guide to coding with Python ( PDFDrive ).pdfThe Python Book_ The ultimate guide to coding with Python ( PDFDrive ).pdf
The Python Book_ The ultimate guide to coding with Python ( PDFDrive ).pdf
 
What is Python? (Silicon Valley CodeCamp 2015)
What is Python? (Silicon Valley CodeCamp 2015)What is Python? (Silicon Valley CodeCamp 2015)
What is Python? (Silicon Valley CodeCamp 2015)
 
Demystifying software development
Demystifying software developmentDemystifying software development
Demystifying software development
 
My presentation raspberry pi
My presentation raspberry piMy presentation raspberry pi
My presentation raspberry pi
 
Itroduction about java
Itroduction about javaItroduction about java
Itroduction about java
 
Basic course
Basic courseBasic course
Basic course
 
Chap 1 c++
Chap 1 c++Chap 1 c++
Chap 1 c++
 
Lec 2
Lec 2Lec 2
Lec 2
 
Exploring the ABC's of Raspberry Pi with Python
Exploring the ABC's of Raspberry Pi with PythonExploring the ABC's of Raspberry Pi with Python
Exploring the ABC's of Raspberry Pi with Python
 
Ccia unit 2
Ccia unit 2Ccia unit 2
Ccia unit 2
 
Intro To Computer Hardware
Intro To Computer HardwareIntro To Computer Hardware
Intro To Computer Hardware
 
Basic course
Basic courseBasic course
Basic course
 
Computer basics--computer basics2
Computer basics--computer basics2Computer basics--computer basics2
Computer basics--computer basics2
 
Computer
ComputerComputer
Computer
 
Tac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PITac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PI
 

Último

Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHC Sai Kiran
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncssuser2ae721
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...121011101441
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 

Último (20)

9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECH
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 

PSPClass1.pptx

  • 1. Dr.B.Srinivasa Rao Assistant Professor,CSE Dept GIT Problem Solving and Programming With Python Problem Solving and Programming With Python
  • 2. Objectives Problem Solving and Programming With Python  To introduce programming through Visual programming tool – Scratch.  To teach problem solving through Flow charting tool – Raptor.  To elucidate problem solving through python programming language.
  • 3. Objectives Problem Solving and Programming With Python  To introduce function-oriented programming paradigm through python.  To train in development of solutions using modular concepts.  To teach practical Pythonic solution patterns.
  • 4. Introduction Problem Solving and Programming With Python  Introduction to Programming  Why Programming ?  Programming for Everybody
  • 5. Introduction Problem Solving and Programming With Python  Any Prerequisites ?  Where to start?  Why do we have so many languages?
  • 6. Introduction Problem Solving and Programming With Python  How to go about programming?  Why to learn programming?  What is programming?  How to give instructions ?
  • 7. 7 What Is a Computer?  Computer  Performs computations and makes logical decisions  Millions / billions times faster than human beings  Computer programs  Sets of instructions by which a computer processes data  Hardware  Physical devices of computer system  Software  Programs that run on computers Problem Solving and Programming With Python
  • 8. The boot process  The process by which a machine comes up from rest state to the state that is usable is known as booting  When the power is turned on  The CPU runs the BIOS (Basic Input / Output System)  Usually located on a chip on the motherboard  Runs POST (Power On Self Test) of various hardware components  Loads the boot sector program 8 Problem Solving and Programming With Python
  • 9. Information storage  1 bit  8 bits  16 bits  32 bits  64 bits • bit (1 or 0) • byte (octet) (28) • word (216) • double (232) • long double (264) Encoding information on a fixed element of length n with a base b gives bn non-redundant possibilities Problem Solving and Programming With Python
  • 10. Information coding  Binary  0 or 1  Octal  0-7  Hexadecimal  0-9+A-F  Decimal  0-9 Problem Solving and Programming With Python
  • 11. RAM/ROM  Size reminder:  Kilobyte Kb 210 ~103  Megabyte Mb 220 ~106  Gigabyte Gb 230 ~109  Terabyte Tb 240 ~1012  Petabyte Pb 250 ~1015  … Problem Solving and Programming With Python
  • 12. Display  Screen pixel or dots  Color coding: 32 bits  1 pixel = 3 bytes of color (RGB)+1 byte alpha channel (transparency)  1600x1200x4bytes=7.5 Mb! Problem Solving and Programming With Python
  • 13. Storage Devices  Hard Disk Drive: used to store data inside of the computer.  Magnetic platter that holds a large amount of information in a form the computer can understand.  Floppy Disk: flat circles of iron oxide-coated plastic enclosed in a hard plastic case.  Most are 3 ½ inches and have a capacity to hold 1.44 MB or more of data.  CD ROM Drive: a compact disk that reads only memory.  CD-RW: a device that allows you to read and write to a compact disk Problem Solving and Programming With Python
  • 14. Storage Devices (Con.)  Internal Storage: Allows you to store information inside of the computer Hard Drive: Allows the fastest access to information RAM (Random Access Memory) – temporary ROM (Read Only Memory) - long-term memory  External Storage: Allows you to use devices to store information outside of the computer Floppy Disks CD-ROMs (Compact Disc Read Only Memory) CD-RW (Compact Disc (Read and Write) DVDs (Digital Video Disc) USB/Jump Drives Problem Solving and Programming With Python
  • 15. Which Storage Device Holds the Most Information? FLOPPY DISKS 1.44 MB CD-ROM DISC 640 MB DVD DISC 17 GB HARD DRIVES 80 and above GB Problem Solving and Programming With Python
  • 16. DVD  DVD ROM  Digital Video Disk which is read only.  DVD-R  Digital Video Disk which can be written to one time. It then becomes read only.  DVD-RW  Digital Video Disk which can be rewritten to. Problem Solving and Programming With Python
  • 18. Flash or jump Drives  External storage devices that can be used like a external hard drive.  They have the capability to be saved to, deleted from, and files can be renamed just like with a normal hard drive. Problem Solving and Programming With Python
  • 19. Thank you Problem Solving and Programming With Python