computer: definition and history

26
Computer: Definition and History Lin Zhong ELEC101, Rice University

Upload: emilie

Post on 23-Feb-2016

40 views

Category:

Documents


0 download

DESCRIPTION

Computer: Definition and History. Lin Zhong ELEC101, Rice University. What makes a computer?. What did you do to the NXT, indeed?. lab1.nxc. Compiler. lab1.rxe. Program as understood by NXT. What does it take NXT to achieve it?. Interface to receive your instructions - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Computer:  Definition  and History

Computer: Definition and History

Lin ZhongELEC101, Rice University

Page 2: Computer:  Definition  and History

What makes a computer?

Page 3: Computer:  Definition  and History

What did you do to the NXT, indeed?

Page 4: Computer:  Definition  and History

lab1.nxc

lab1.rxe

Compiler

Page 5: Computer:  Definition  and History
Page 6: Computer:  Definition  and History

Program as understood by NXT

Page 7: Computer:  Definition  and History

What does it take NXT to achieve it?

• Interface to receive your instructions• Store your instructions• Execute your instructions– Sense– Calculate– Actuate

Page 8: Computer:  Definition  and History

Computer: definition

• Programmable machine that receives input, stores and automatically manipulates data, and provides output in a useful format– Wikipedia

Page 9: Computer:  Definition  and History

Elementary functions of computer

• Communication– Input– Output

• Storage

• Processing (calculation/manipulation)

Page 10: Computer:  Definition  and History

Computer: definition

• Programmable machine that receives input, stores and automatically manipulates data, and provides output in a useful format– Wikipedia

Page 11: Computer:  Definition  and History

Key features of computer

• Programmable– Take new instructions

• Automatic– Involving human as little as possible

• Useful– Serve a human purpose

Page 12: Computer:  Definition  and History

Questions to answer

• Why does NXT accept instructions in 0s and 1s?

• How does NXT store instructions?

• How does NXT interpret the instructions?

Page 13: Computer:  Definition  and History

Key concepts

• State, data, and information• Computing– How to store, change, and communicate

information• Analog signal vs. digital signal

• State in various incarnations

13

Page 14: Computer:  Definition  and History

State vs. Data vs. Information

• State– The physical property of a physical entity

• Data– State measurement properly represented

• Information– “Meanings” carried by signal/data– Can be measured (entropy)

14

Objective

Subjective

Page 15: Computer:  Definition  and History

Computing

• Human function– Process information– Store information– Communication information

• Physical realization– Modification (Processing) of a state– Storage of a state– Communication of a state

15

Page 16: Computer:  Definition  and History

The world is analog

• Analog states– Continuous in both time and amplitude– Temperature as example

• Practical challenges to analog state– For example, tell a friend about the classroom

temperature

16

Page 17: Computer:  Definition  and History

Analog to digital: Quantization

17

Amplitude

TimeDiscrete value, continuous time

Why could the information loss be fine?

Page 18: Computer:  Definition  and History

Analog to digital: Sampling

18

Amplitude

TimeDiscrete time, continuous value

Why could the information loss be fine?

Page 19: Computer:  Definition  and History

Digital signal

19

Amplitude

Time

Discrete value, discrete time

Page 20: Computer:  Definition  and History

20

Era of mechanical states

Chinese abacus

Page 21: Computer:  Definition  and History

Punched card based “computers”

• Two states: presence or absence of hole

Page 22: Computer:  Definition  and History

Jacquard loom (1801)

• Punched cards control positions of hooks for weaving

• More: fairground organ, player piano,….,

Page 23: Computer:  Definition  and History

Mechanical computer • Charles Babbage (1791-1871)

– Difference Engine– Analytical Engine

• First programmable computer• First programmer (Ada Lovelace)

23

WWW

Page 24: Computer:  Definition  and History

Mechanical calculator (1900s to 1960s)

241964

1958

Page 25: Computer:  Definition  and History

251966

Page 26: Computer:  Definition  and History

Problems with mechanical states

• To change a state

• To store a state

• To communicate a state

26