Lecture 02 - C Basics

Lecture 02 - C Basics - Programming Basics Sept. 14, 2006...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Programming Basics Sept. 14, 2006 Way back when computers had fxed designs when a computer was built, it was built For a specifc purpose you couldnt change it later could not add new Features, do new things, fx problems Example like a common calculator the wires inside the machine determine what it does called hard-wired Old-school computers Computer Input Data Output Data ! ! Types oF Input Buttons, knobs, switches. Keyboards Mouse, joystick Scanner Tape drive, Disk drive Internet, Wii, Bluetooth Retina scanners Types oF Output blinking lights CRT displays, LCD displays printer Tape drive, oppy disk drive, hard disk drive, CD Internet, Wii, Bluetooth orce Feedback devices Sound cards Switchable Switches If your machine can use a switch as both output and input, then it can Fip the switch to remind itself of something - memory Vacuum Tubes Relays Transistors Memory chips Old-school computers Computer Storage (e.g. disk) ! ! " Keyboard " Display Data Data Data-in Data-out Storage provides a type of memory where you can keep your data for later. But, the computer still only does what it was built to do. If it was built to be a word processor it will always be (only) a word processor. von Neumanns Big Idea Rather than build the computer hardware to be one thing (e.g. word processor) Build it to read a description of another computer (as data) and impersonate it (Picture from Wikipedia, 2006) Hardware Chameleon This impersonation computer could then read in the description of a word processor computer and act like it....
View Full Document

This note was uploaded on 04/17/2011 for the course CIS 1500 taught by Professor Kramer during the Spring '06 term at University of Guelph.

Page1 / 7

Lecture 02 - C Basics - Programming Basics Sept. 14, 2006...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online