2. Lesson 2: Hardware & Software
Introduction to
Programming
Lesson 1
Designing a
Game
Lesson 8
Sorting and
Searching
Lesson 9
Hardware &
Software
Lesson 2
Working with
Files
Lesson 7
Advanced
Algorithms
Lesson 10
Boolean Logic
Lesson 3
Loops
Lesson 6
Navigating the
Web (?)
Lesson 11
Functions
Lesson 4
Data Types
Lesson 5
Putting It All
Together
Lesson 12
2
3. Recap from last time
• Programming means giving instructions to a computer to do specific
tasks
• Since computers do not understand English, we must learn to use
programming languages to communicate with them
• As a programming language used on many top websites and with a
concise syntax similar to English, Python is both powerful and easy
for beginners to learn
3
4. Software and hardware exist in all the electronic
devices we use
• In today’s plugged-in world, all our devices function because of
hardware and software
• They are both important components in how we interact with our
electronics
4
5. Software is electronically stored data (I)
• Software gives instructions to our devices to do specific tasks
• We cannot touch or see software directly. We can only interact with
the software program through our computer devices
• We can download software from the internet or install it with a CD
5
6. Software is electronically stored data (II)
• Software gives instructions to our devices to do specific tasks
• We cannot touch or see software directly. We can only interact with
the software program through our computer devices
• We can download software from the internet or install it with a CD
• Examples of software include Microsoft Word, Internet
Explorer, iOS, and computer games
6
7. Software and hardware depend on each other (I)
• Without hardware, software has no physical channel to interact with
us
• Without software, hardware has no instructions on what it’s used for
7
8. Software and hardware depend on each other (II)
• Without hardware, software has no physical channel to interact with
us
• Without software, hardware has no instructions on what it’s used for
How can we play Angry Birds without an iPhone?
What would our iPhone be used for if not to play Angry Birds?!?
8
9. Both hardware and software are needed to create
the final product
• You can think of software and hardware as two pieces that come
together to make the finished product that we use
• For example, the keyboard is the hardware we use to type out
letters, but Microsoft Word is the software that tells the computer to
display what we’re typing
9
10. Every computer needs an operating system
• One of our most commonly used hardware is our
computer. It comes with a monitor, mouse,
keyboard, and charger
• Without software, however, none of those items
would work. Every computer needs
software called an Operating System to function
Hardware and software combine to make up the
computer system we use
10
11. Updating software is easier than updating
hardware
• Since hardware is a physical item, it isn’t updated often. After we
buy it, it stays the same until we replace it
• Since software is stored electronically, it is easy to create, change,
and upgrade on our computers
11
12. Software communicates with hardware through
programming languages (I)
• So how do software and hardware actually communicate?
• We write code in programming languages such as Python to give
instructions to our computers
A Google engineer
writes software in
Python…
12
13. Software communicates with hardware through
programming languages (II)
• So how do software and hardware actually communicate?
• We write code in programming languages such as Python to give
instructions to our computers
A Google engineer
writes software in
Python…
…and the software
gives our computer
specific instructions…
13
14. Software communicates with hardware through
programming languages (III)
• So how do software and hardware actually communicate?
• We write code in programming languages such as Python to give
instructions to our computers
A Google engineer
writes software in
Python…
…and the software
gives our computer
specific instructions…
…to display the Google homepage
on our hardware so we can search
for anything on the web.
14
15. Summary (I)
• Software is electronically stored data that allows us to interact with
our devices
• Hardware is the physical device that we need to interact with our
computer programs
• You can think of software and hardware as two pieces that come
together to make the finished product that we use such as browsing
Google, writing a Word document, or playing Angry Birds on our
iPhone
15
16. Summary (II)
• Our computer hardware needs software called an operating system
in order to function
• Updating software occurs much more frequently than updating
hardware
• Software communicates with hardware through programming
languages
16
17. What to do on your own
1. Go to URL to complete the Codecademy course online
2. Do the practice set on the material learned
1. Take the follow-up quiz to test your understanding
17