CX 103 Spring 2001
Lecture 2: What is a Computer?
Exactly What is a Computer?
What are the Components of a Computer?
A Peek Under the Hood
Exactly What is a Computer?
Hard to Define:
Thermometer, Slide Rule, Hand Calculator, Human = Computers?
Our Text: "A computer is a device capable of performing computations and making logical decisions at speeds millions, and even billions, of times faster than human beings can"
CX 121 text: "A Computer System consists of hardware and software that work in concert to help us solve problems."
Brookshear: "Computer Science is the discipline that seeks to build a scientific foundation for such topics as computer design, computer programming, information processing, algorithmic solution of problems, and the algorithmic process itself."
Britannica: "any of various automatic electronic devices that solve problems by processing data according to a prescribed sequence of instructions."
Fundamental Idea: Algorithm (list of instructions, recipe)
We will be studying digital devices that can store and execute algorithms.
Algorithm:
The instructionsApplication: An algorithm that can be "executed" or "run" directly on a computer(Word, Excel, Photoshop)
Document: File produced by application.
Binary
The instructions that comprise an application are expressed in a computers native language
Simple alphabet: 0, 1
(bits)Everything a computer does is expressed in terms of bits.
Instructions -
Æ Numbers Æ Base 2 or Binary Representation0 and 1s can be implemented easily mechanically or electronically.
Its hard for us to write directions in binary.
Humans use a high level Programming Language: English-like set of words.
Two Kinds of Translators
Interpreters (line by line)
Compilers (full translation of entire program)
Programming Languages
FORTRAN (~ 1957)
COBOL (~ 1959)
BASIC (~ 1965)
Pascal (1971)
C (1972)
C++ (early 1980s)
Java (1995)
Javascript
What are the Components of a Computer?
Hardware and Software
"A Computer System consists of hardware and software that work in concert to help us solve problems.
"Hardware Components
Clock:
Regulates activities of a computer; speed is measured in "millions of cycles per second" or MHz.CPU:
A silicon chip that performs the central processing for a computer; (Microprocessor).Memory:
Chips that store data and applications being processed by CPU.Two Types of Memory:
ROM |
Read Only Memory |
Permanent |
RAM |
Random Access Memory |
Volatile |
Increase Your RAM
1. Some applications do not fit or they function poorly in restricted RAM (browsers, word processors)
2. Keep several applications open at the same time.
3. Some tasks will be faster (playing a movie or song, printing long document)
Buying RAM Chips
Single Inline Memory Modules : SIMMS
Double Inline Memory Modules: DIMMS
Storage
Floppy disks, hard disks, zip drives, CD-ROMsOutput Devices:
Monitor, printer, speakersInput Devices:
Keyboard, mouse, voice
The Basic Diagram
The main logic board s often housed in a box-like system unit. The remaining peripheral devices (monitor, keyboard,..) are connected to the logic board through ports that are visible at the back of the system unit. The main logic board often contains slots where additional cards can be inserted. (video capture card, ethernet card).
A program must reside in RAM to be executed. So does the data on which the program operates. Changes stay in RAM unless written (SAVED) to the copy in storage.
Some Well Known Microprocessors
The modern computer market is dominated by IBM PCs or IBM PC Clones.
Over 75% of the computers sold today are PCs or PC clones. IBM itself
has about 10% of the microcomputer marker.
Dell, Compaq, Packard Bell, NEC, Tandy... have over 65%.
The IBM and IBM clones use CPUs from the Intel Corporation.
Intel CPUs |
Year |
Some Typical Speeds |
8086, 8088 |
1978 |
4.77 MHz |
80286 |
1982 |
|
80386 |
1985 |
IBM AT |
80486 |
1989 |
|
Pentium |
1993 |
100 MHz |
Pentium Pro |
1995 |
300 MHz |
Pentium II |
1997 |
|
Pentium III |
1999 |
900 MHz? |
Apple Macintosh computers and IBM RS/6000 computers use CPUs from Motorola.
Motorola CPUs |
Year |
Some Typical Speeds |
68000 |
1979 |
8 MHz |
68020 |
1984 |
Mac IIs |
68030 |
1987 |
Mac IIcxs and IIcis |
68040 |
1989 |
Quadras |
PowerPC 601 |
1993 |
100 MHz |
PowerPC 604 |
1994 |
200 MHz |
PowerPC G3 |
1997 |
300 MHz |
PowerPC G4 |
1999 |
500 MHz |
Terms
Computer |
Algorithm |
Application |
Document |
Clock |
MHz |
CPU |
Memory |
RAM |
ROM |
SIMM |
DIMM |
Storage |
Motherboard |
Port |
Slots |
Cards |
Intel |
Motorola |
IBM |
Microprocessor |
Hard Disk |
Bit |
Interpreter |
Compiler |
Binary |
Transistor |
Java |
Programming Language
Questions
How does ROM differ from RAM?
How does "storage" differ from "main memory"
Where must a program reside while it is being executed?
Where does the actual execution take place?
How does a "hard disk" differ from a "floppy disk"?
Why are "hard disks" better than "floppy disks"?
How does a CD-ROM differ from a hard disk?
Why is nice to have lots of RAM?
Classification of Computers
Supercomputers Governments
Mainframes Large Businesses
Minicomputers Colleges
Microcomputers Individuals
Workstations
Laptops
Notebooks
Palmtops
A Peek Under the Hood