Introduction To Computers - Hardware: Department of Computer and Information Science, School of Science, IUPUI
Introduction To Computers - Hardware: Department of Computer and Information Science, School of Science, IUPUI
CSCI 230
Introduction to Computers
- Hardware
Computer
Device capable of performing computations and making
logical decisions
Computers process data under the control of sets of
instructions called computer programs
Personal computers: economical enough for individual
Distributed computing: computing distributed over
networks
Client/server computing: sharing of information across
computer networks between file servers and clients
(personal computers)
Dale Roberts
What is a Computer? (cont.)
Computer Hardware
Various devices comprising a computer:
Keyboard, screen, mouse, disks, memory, CD-
ROM, and processing units
User
Hardware Trends: every year or two the following
approximately double (Moore’s Law): High-level
Language
Application
Amount of memory in which to execute programs Assembly
Language
Software
Machine Hardware
Code
What is a Computer? (cont.)
Computer Software
Computer Programs that run on a computer, including
Operation System (OS)
Application Software
Computer Language User
High-level
Language
Application
Assembly Software
Language
OS
Firmware
Machine Hardware
Code
Moore's Law
Example:
1. Input unit
2. Output unit
3. Memory unit
4. Arithmetic and logic unit (ALU)
5. Central processing unit (CPU)
6. Secondary storage unit
Computer Organization (cont.)
Six logical units in every computer:
1. Input unit
Obtains information from input devices (keyboard, mouse)
2. Output unit
Outputs information (to screen, to printer, to control other
devices)
3. Memory unit
Rapid access, low capacity, stores input information
ROM (Read Only Memory): CMOS, EPROM …
RAM (Random Access Memory): SRAM, DRAM, SIMM, DIMM
…
Computer Organization (cont.)
Six logical units in every computer (cont):
3. Arithmetic and logic unit (ALU) – part of CPU
Performs arithmetic calculations (addition, subtraction...) and
logic decisions
4. Control unit (CU) - part of CPU
Supervises and coordinates the other sections of the computer
5. Secondary storage unit
Cheap, long-term, high-capacity storage
Stores inactive programs
Computer Organization (cont.)
Central Processing Unit (CPU),
“brain” of a computer, consisting of
Arithmetic and logic unit (ALU): performs arithmetic calculations
(addition, subtraction...) and logic decisions (>, <, =, ...)
Control Unit (CU): decodes each machine instruction and sends
signal to other components for carrying out the instruction.
An integrated circuit (IC) that is a full central processing unit
is called a microprocessor (p); a CPU’s current instruction
and data values are stored temporally inside the CPU in
special high-speed memory location called registers.
CPU speed: ? MHz (M: Mega = 106, Hz=1/sec);
Computer Organization (cont.)
Memory
A large collection of circuits, each capable of
storing bit
Cells (words): manageable units; typical size is 8
bits (1 byte), some machines are 16 bits (2
bytes) and some are 32 bits or 64 bits
Byte (8 bits), KB (kilobyte, 103 210 bytes), MB
(Megabyte, 106 220 bytes), GB (Gigabyte, 109 230
bytes). Note: k ≠ K because 1000 ≠ 1024.
Computer Organization (cont.)
Computer memory is comparable to a collection of
numbered mailboxes. To identify individual cells in a
machine’s main memory, each cell is assigned a unique
name, called its address
ASCII H e l l o ,
Data
01001000 01100101 01101100 01101100 01101111 00101110
... ...
Address 0000 0101 0000 0110 0000 0111 0000 1000 0001 0001 0001 0010
Address Bus
Data Bus