computer: definition and history
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 PresentationTRANSCRIPT
![Page 1: Computer: Definition and History](https://reader036.vdocuments.us/reader036/viewer/2022062302/56816356550346895dd400c6/html5/thumbnails/1.jpg)
Computer: Definition and History
Lin ZhongELEC101, Rice University
![Page 2: Computer: Definition and History](https://reader036.vdocuments.us/reader036/viewer/2022062302/56816356550346895dd400c6/html5/thumbnails/2.jpg)
What makes a computer?
![Page 3: Computer: Definition and History](https://reader036.vdocuments.us/reader036/viewer/2022062302/56816356550346895dd400c6/html5/thumbnails/3.jpg)
What did you do to the NXT, indeed?
![Page 4: Computer: Definition and History](https://reader036.vdocuments.us/reader036/viewer/2022062302/56816356550346895dd400c6/html5/thumbnails/4.jpg)
lab1.nxc
lab1.rxe
Compiler
![Page 5: Computer: Definition and History](https://reader036.vdocuments.us/reader036/viewer/2022062302/56816356550346895dd400c6/html5/thumbnails/5.jpg)
![Page 6: Computer: Definition and History](https://reader036.vdocuments.us/reader036/viewer/2022062302/56816356550346895dd400c6/html5/thumbnails/6.jpg)
Program as understood by NXT
![Page 7: Computer: Definition and History](https://reader036.vdocuments.us/reader036/viewer/2022062302/56816356550346895dd400c6/html5/thumbnails/7.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022062302/56816356550346895dd400c6/html5/thumbnails/8.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022062302/56816356550346895dd400c6/html5/thumbnails/9.jpg)
Elementary functions of computer
• Communication– Input– Output
• Storage
• Processing (calculation/manipulation)
![Page 10: Computer: Definition and History](https://reader036.vdocuments.us/reader036/viewer/2022062302/56816356550346895dd400c6/html5/thumbnails/10.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022062302/56816356550346895dd400c6/html5/thumbnails/11.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022062302/56816356550346895dd400c6/html5/thumbnails/12.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022062302/56816356550346895dd400c6/html5/thumbnails/13.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022062302/56816356550346895dd400c6/html5/thumbnails/14.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022062302/56816356550346895dd400c6/html5/thumbnails/15.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022062302/56816356550346895dd400c6/html5/thumbnails/16.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022062302/56816356550346895dd400c6/html5/thumbnails/17.jpg)
Analog to digital: Quantization
17
Amplitude
TimeDiscrete value, continuous time
Why could the information loss be fine?
![Page 18: Computer: Definition and History](https://reader036.vdocuments.us/reader036/viewer/2022062302/56816356550346895dd400c6/html5/thumbnails/18.jpg)
Analog to digital: Sampling
18
Amplitude
TimeDiscrete time, continuous value
Why could the information loss be fine?
![Page 19: Computer: Definition and History](https://reader036.vdocuments.us/reader036/viewer/2022062302/56816356550346895dd400c6/html5/thumbnails/19.jpg)
Digital signal
19
Amplitude
Time
Discrete value, discrete time
![Page 20: Computer: Definition and History](https://reader036.vdocuments.us/reader036/viewer/2022062302/56816356550346895dd400c6/html5/thumbnails/20.jpg)
20
Era of mechanical states
Chinese abacus
![Page 21: Computer: Definition and History](https://reader036.vdocuments.us/reader036/viewer/2022062302/56816356550346895dd400c6/html5/thumbnails/21.jpg)
Punched card based “computers”
• Two states: presence or absence of hole
![Page 22: Computer: Definition and History](https://reader036.vdocuments.us/reader036/viewer/2022062302/56816356550346895dd400c6/html5/thumbnails/22.jpg)
Jacquard loom (1801)
• Punched cards control positions of hooks for weaving
• More: fairground organ, player piano,….,
![Page 23: Computer: Definition and History](https://reader036.vdocuments.us/reader036/viewer/2022062302/56816356550346895dd400c6/html5/thumbnails/23.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022062302/56816356550346895dd400c6/html5/thumbnails/24.jpg)
Mechanical calculator (1900s to 1960s)
241964
1958
![Page 25: Computer: Definition and History](https://reader036.vdocuments.us/reader036/viewer/2022062302/56816356550346895dd400c6/html5/thumbnails/25.jpg)
251966
![Page 26: Computer: Definition and History](https://reader036.vdocuments.us/reader036/viewer/2022062302/56816356550346895dd400c6/html5/thumbnails/26.jpg)
Problems with mechanical states
• To change a state
• To store a state
• To communicate a state
26