31
Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 igits” does not refer only to your 10 fingers…

Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 “Digits” does not refer only to your 10 fingers…

Embed Size (px)

Citation preview

Page 1: Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 “Digits” does not refer only to your 10 fingers…

Lawrence SnyderUniversity of Washington, Seattle

© Lawrence Snyder 2004

“Digits” does not refer only to your 10 fingers…

Page 2: Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 “Digits” does not refer only to your 10 fingers…

An instruction (of the Lightbot or any other computer) is abstracted into the command name;

functions abstract a sequence of instructions functions abstract functions built of functions

Layer upon layer, we build software solutions

04/19/23 © 2010 Larry Snyder, CSE 2

Page 3: Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 “Digits” does not refer only to your 10 fingers…

One goal of CS Principles understand how computers and

digital information are “game changers,” how they create opportunities

We will do that by highlighting progress of “data processing” over last 120 years or so

04/19/23 © 2010 Larry Snyder, CSE 3

Page 4: Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 “Digits” does not refer only to your 10 fingers…

Only people can read it First serious advance in digitization:

punch cardsHerman Hollerith develops idea for

1890 census

04/19/23 © 2010 Larry Snyder, CSE 4

Hollerith Card, Courtesy IBM

Page 5: Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 “Digits” does not refer only to your 10 fingers…

Mechanical methods – sensing a hole in a card or not – allows machines to help w/work

04/19/23 © 2010 Larry Snyder, CSE 5

Page 6: Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 “Digits” does not refer only to your 10 fingers…

04/19/23 © 2010 Larry Snyder, CSE 6

A mechanical machine can “read” a card with … a “metal brush”

Page 7: Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 “Digits” does not refer only to your 10 fingers…

When the circuit closes, some mechanical action can happen

04/19/23 © 2010 Larry Snyder, CSE 7

Page 8: Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 “Digits” does not refer only to your 10 fingers…

Suppose Hollerith coded men as 0, women a 1

04/19/23 © 2010 Larry Snyder, CSE 8

census dataMachine Reads Cards, Puts women in this slot Puts men in this slot… producing 2 pilesRun each pile through again just to count them -- done

card counterHow many men and women in the population?

How many men and women in the population?

Page 9: Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 “Digits” does not refer only to your 10 fingers…

Poor Kermit must go through census sheets, counting (and probably making mistakes)

04/19/23 © 2010 Larry Snyder, CSE 9

VERY IMPORTANT:•“Digitizing” makes information discrete, it’s either there (1) or not (0)•a machine can determine that fact using mechanical or electronic means •KEY: Once data is digital, it is just a matter for engineers to build more capable machines

VERY IMPORTANT:•“Digitizing” makes information discrete, it’s either there (1) or not (0)•a machine can determine that fact using mechanical or electronic means •KEY: Once data is digital, it is just a matter for engineers to build more capable machines

Page 10: Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 “Digits” does not refer only to your 10 fingers…

After processing based on reading cards, a machine can “save its work” by punching cards

04/19/23 © 2010 Larry Snyder, CSE 10

punching mechanism

Staying DigitalStaying Digital

Page 11: Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 “Digits” does not refer only to your 10 fingers…

Electronic computers came after WWII

04/19/23 © 2010 Larry Snyder, CSE 11

ENIACENIAC

Page 12: Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 “Digits” does not refer only to your 10 fingers…

Large and medium-size companies used card based digital data; mechanical processing

Computers began to replace mechanical b/c a computer’s “processing instructions” (program) could be easily changed, & they perform more complex operations – flexibility

Computers, memory much more expensive – this sets conditions for the “Y2K Problem”

04/19/23 © 2010 Larry Snyder, CSE 12

Message: Computers take the task specification (program) and digital data as inputs, making them very versatile machines; one machine does it all! Programming becomes critical technology.

Message: Computers take the task specification (program) and digital data as inputs, making them very versatile machines; one machine does it all! Programming becomes critical technology.

Page 13: Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 “Digits” does not refer only to your 10 fingers…

Transistors – solid state switching Integrated Circuit – all circuit parts

fabbed at once from similar

materials

04/19/23 © 2010 Larry Snyder, CSE 13

1st transistor 1st integrated circuit

Page 14: Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 “Digits” does not refer only to your 10 fingers…

A transistor is a switch: If the gate (black bar) is neutral, charge cannot pass; if gate is charged, the wires are connected

04/19/23 © 2010 Larry Snyder, CSE 14

Page 15: Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 “Digits” does not refer only to your 10 fingers…

Integrated circuits – transistors + resistors + capacitors

Key fabrication process is photolithography - small, cheap,

reliable

04/19/23 © 2010 Larry Snyder, CSE 15

Page 16: Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 “Digits” does not refer only to your 10 fingers…

04/19/23 © 2010 Larry Snyder, CSE 16

Page 17: Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 “Digits” does not refer only to your 10 fingers…

04/19/23 © 2010 Larry Snyder, CSE 17

Cool!: ICs are printed (fabbed) as a unit (no wiring)– complexity of circuit doesn’t matter! We can all have a computer. Manufacturing Process

Cool!: ICs are printed (fabbed) as a unit (no wiring)– complexity of circuit doesn’t matter! We can all have a computer. Manufacturing Process

Page 18: Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 “Digits” does not refer only to your 10 fingers…

Ken Olsen, Founder of Digital Equipment, “There is no reason for any individual to have a computer in their home [1977]”

04/19/23 © 2010 Larry Snyder, CSE 18

Page 19: Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 “Digits” does not refer only to your 10 fingers…

Regular folks could now apply computers to their interests

Demand for digital data - old technologies dead

From about 1985 most “new” information has been digital

Quickly, we began to accumulate enormous amounts of digital information

04/19/23 © 2010 Larry Snyder, CSE 19

Page 20: Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 “Digits” does not refer only to your 10 fingers…

04/19/23 © 2010 Larry Snyder, CSE 20

Cool!: Computers can be easily transformed to do new things, and being cheap, we can all have some, motivating us to want digital everything

Cool!: Computers can be easily transformed to do new things, and being cheap, we can all have some, motivating us to want digital everything

Page 21: Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 “Digits” does not refer only to your 10 fingers…

Invented in 1969, it took almost 20 years to get out of the lab and into public consciousness

04/19/23 © 2010 Larry Snyder, CSE 21

Page 22: Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 “Digits” does not refer only to your 10 fingers…

Computers are useful; connected computers are awesome!

If n computers are connected, adding one more gives n new connections!

Communication with friends or businesses all over the world became easy, cheap, and casual

1st skype session in 1968

04/19/23 © 2010 Larry Snyder, CSE 22

Page 23: Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 “Digits” does not refer only to your 10 fingers…

04/19/23 © 2010 Larry Snyder, CSE 23

Cool!: The Internet is a general mechanism to communicate digital data – it doesn’t matter what it is: music, email, video …

Cool!: The Internet is a general mechanism to communicate digital data – it doesn’t matter what it is: music, email, video …

Page 24: Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 “Digits” does not refer only to your 10 fingers…

Today, all computers “speak” a common language: hyper-text transfer protocol

04/19/23 © 2010 Larry Snyder, CSE 24

Page 25: Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 “Digits” does not refer only to your 10 fingers…

Two phenomena make the WWW brilliant All computers use one standard protocol

(http) meaning for once all of the world’s people – who don’t speak one language – have a surrogate that does

Publishing and accessing information is completely decentralized – generally, no one limits what you put out or go after

04/19/23 © 2010 Larry Snyder, CSE 25

Page 26: Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 “Digits” does not refer only to your 10 fingers…

04/19/23 © 2010 Larry Snyder, CSE 26

Message: WWW exploits one protocol, neutralizing differences at endpoints; the Internet’s universal medium lets us look at other people’s digital info

Message: WWW exploits one protocol, neutralizing differences at endpoints; the Internet’s universal medium lets us look at other people’s digital info

Page 27: Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 “Digits” does not refer only to your 10 fingers…

Key principle of digital encoding: Physically, information is the presence or absence of a phenomenon at a given place and time!

04/19/23 © 2010 Larry Snyder, CSE 27

Page 28: Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 “Digits” does not refer only to your 10 fingers…

Phenomena: light, magnetism, charge, mass, color, current, …

Detecting depends on phenomenon – but the result must be discrete: it was detected or not; there is no option for “sorta there”d

04/19/23 © 2010 Larry Snyder, CSE 28

Page 29: Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 “Digits” does not refer only to your 10 fingers…

Alternatives to detecting the hole in a card

04/19/23 © 2010 Larry Snyder, CSE 29

Page 30: Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 “Digits” does not refer only to your 10 fingers…

Alternatives to detecting the hole in a card

Sidewalk Memory – squares and rocks

04/19/23 © 2010 Larry Snyder, CSE 30

Page 31: Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 “Digits” does not refer only to your 10 fingers…

Alternatives to detecting the hole in a card

Sidewalk Memory – squares and rocks

Other phenomena … CD ROM how it works:

04/19/23 © 2010 Larry Snyder, CSE 31