Lesson 302 05 jan14-1500-ay

17
Unit 3: Python Lesson 2: Hardware & Software January 5, 2014

Transcript of Lesson 302 05 jan14-1500-ay

Page 1: Lesson 302 05 jan14-1500-ay

Unit 3: PythonLesson 2: Hardware & Software

January 5, 2014

Page 2: Lesson 302 05 jan14-1500-ay

2

Lesson 2: Hardware & Software

LoopsDesigning a Game

Working with Files

Lesson 8 Lesson 7 Lesson 6

Data Types

Lesson 5

Functions

Lesson 4

Boolean Logic

Lesson 3

Introduction to Programming

Hardware & Software

Lesson 1 Lesson 2

Putting It All Together

Lesson 12

Navigating the Web (?)

Lesson 11

Sorting and Searching

Advanced Algorithms

Lesson 9 Lesson 10

Page 3: Lesson 302 05 jan14-1500-ay

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

Page 4: Lesson 302 05 jan14-1500-ay

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

Page 5: Lesson 302 05 jan14-1500-ay

Software is electronically stored data (I)

5

• 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

Page 6: Lesson 302 05 jan14-1500-ay

Software is electronically stored data (II)

6

• 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

Page 7: Lesson 302 05 jan14-1500-ay

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

Page 8: Lesson 302 05 jan14-1500-ay

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

Page 9: Lesson 302 05 jan14-1500-ay

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

Page 10: Lesson 302 05 jan14-1500-ay

Every computer needs an operating system

• One of our most commonly used hardware is ourcomputer. 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

10

Hardware and software combine to make up the computer system we use

Page 11: Lesson 302 05 jan14-1500-ay

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

Page 12: Lesson 302 05 jan14-1500-ay

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

12

A Google engineer writes software in Python…

Page 13: Lesson 302 05 jan14-1500-ay

Software communicates with hardware through programming languages (II)

13

A Google engineer writes software in Python…

…and the software gives our computer specific instructions…

• So how do software and hardware actually communicate?

• We write code in programming languages such as Python to give instructions to our computers

Page 14: Lesson 302 05 jan14-1500-ay

Software communicates with hardware through programming languages (III)

14

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.

• So how do software and hardware actually communicate?

• We write code in programming languages such as Python to give instructions to our computers

Page 15: Lesson 302 05 jan14-1500-ay

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

Page 16: Lesson 302 05 jan14-1500-ay

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

Page 17: Lesson 302 05 jan14-1500-ay

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

3. Take the follow-up quiz to test your understanding