lec01 - CSC 1520 Computer Principles and C+ Programming...

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

View Full Document Right Arrow Icon
Click to edit Master subtitle style 11 CSC 1520 Computer Principles and C++ Programming Introduction Fall, 2009
Background image of page 1

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

View Full DocumentRight Arrow Icon
22 Outline 1. Intro. to programming 1. Overview of C++
Background image of page 2
33 What is a Computer? § A computer is a machine that manipulates data according to a list of instructions. § e.g.: Desktop PC, iPhone, PDA, Xbox, … § What do computers have in common?
Background image of page 3

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

View Full DocumentRight Arrow Icon
44 CPU Computer Organization Input Unit Output Unit Memory Unit Storage Unit Control Unit Arithmetic Unit Flow of data
Background image of page 4
55 Computer Organization 1. Input unit § Obtains information from input devices § Keyboard, mouse, microphone, scanner, networks, 1. Output unit § Takes information processed by computer § Places information on output devices § Screen, printer, networks, § Information used to control other devices CPU Input Unit Output Unit Memory Unit Storage Unit Control Unit Arithm etic & Logic Unit
Background image of page 5

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

View Full DocumentRight Arrow Icon
66 Computer Organization 3. Central processing unit (CPU) § CU (Control Units) § Supervises and coordinates other sections of computer § Arithmetic and logic unit (ALU) § Performs arithmetic calculations and logic decisions CPU Input Unit Output Unit Memory Unit Storage Unit Control Unit Arithm etic & Logic Unit
Background image of page 6
77 Computer Organization 4. Memory unit § Rapid access, relatively low capacity warehouse section § Retains information from input unit § Immediately available for processing § Retains processed information § Until placed on output devices § Refers to the Random Access Memory (RAM) CPU Input Unit Output Unit Memory Unit Storage Unit Control Unit Arithm etic & Logic Unit
Background image of page 7

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

View Full DocumentRight Arrow Icon
88 Computer Organization 5. Secondary storage unit § Long-term, high-capacity warehouse section § Storage § Data and programs that are not immediately needed § Secondary storage devices § Disks and Optical discs § Longer to access than primary memory § Less expensive per unit than primary memory CPU Input Unit Output Unit Memory Unit Storage Unit Control Unit Arithm etic & Logic Unit
Background image of page 8
99 Memory Organization § In the lowest level, computers understand only 0's and 1's. § Computer memory stores a sequence of 0's and 1's.
Background image of page 9

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

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

This note was uploaded on 10/26/2009 for the course FINANCE FIN4110 taught by Professor Zhanghua during the Spring '09 term at CUHK.

Page1 / 29

lec01 - CSC 1520 Computer Principles and C+ Programming...

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

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