Introduction To Computers
Introduction To Computers
What is a Computer?
• In the past two decades, computers have reshaped our lives at home, work,
school.
• Now we cannot imagine our daily life without the service of computers
directly or indirectly.
2
What is a Computer?
• The word computer comes from the word “compute” which means, “to
calculate”.
• Computer takes raw data as input from the user and gives us information
by processing these data using a set of instructions (usually program).
3
Evolution of Computers
• Baron Gottfried Wilhelm von Leibniz invented the first calculator for
multiplication in 1671.
• Around 1880, Herman Hollerith came up with the concept of punched cards
that were extensively used as input media until late 1970s.
4
Evolution of Computers
5
Some Well Known Early Computers
6
Computer Generations
7
Computer Generations: First and Second
8
Computer Generations: Third
9
Computer Generations: Fourth
10
Computer Generations: Fifth
11
Devices Used in Different Generations
12
Types of Computer
• Desktop computers
• Workstations
• Supercomputer
• Mainframe computer
• Notebook computers
• Micro computers
13
Capabilities of a Computer
• Speed: Computer can perform data processing jobs very fast, usually
measured in microseconds (10-6), nanoseconds (10-9), and picoseconds
(10-12).
14
Capabilities of a Computer
15
Limitations of a Computer
17
Parts of a Computer System
18
Computer Hardware
• The mechanical devices that make up the computer are called hardware
(any part of a computer that we can touch).
19
Processing Devices: Processor
• The processor organizes and carries out instructions that come from either
the user or the software.
20
Central Processing Unit (CPU)
• CPU is the central processing unit which performs five basic operations of a
computer system i.e., inputting, storing, processing, outputting and
controlling.
• CPU consists of Arithmetic Logic Unit (ALU) and Control Unit (CU).
21
CPU - Basic Operations of a Computer
• Inputting: The process of entering data and instructions into the computer
system.
• Storing: Saving data and instructions to make them readily available for
initial or additional processing whenever required
• Controlling: Directing the manner and sequence in which all of the above
operations are performed.
22
Central Processing Unit (CPU)
• Arithmetic Logic Unit of a computer system is the place where the actual
executions of instructions takes place during processing operation.
23
Central Processing Unit (CPU)
24
The BUS
• System Bus: The system bus connects the CPU to main memory (RAM)
and other primary components such as the Northbridge chip. It carries data,
addresses, and control signals.
• Internal Bus: The internal busconnects the CPU to cache memory and is
used for high-speed data transfer between the CPU and cache. The system
bus resides on the motherboard and connects the CPU to other devices.
25
The Data BUS
• The data bus is an electronic path that connects the CPU, memory, and the
other hardware devices on the motherboard.
• The number of wires in the bus affected the speed at which data can
transfer.
26
The Address and Control BUS
• The address bus is a set of wires similar to the data bus but the address
bus connects only the CPU and RAM and carries only memory addresses.
• The width of the address bus determines the maximum amount of memory
that can be addressed by the CPU.
• Control bus is used by the CPU to communicate with devices that are
contained within the computer.
27
Memory Devices: RAM/ROM/HDD
• Computer memory is one or more sets of chips that store data and/or
program instructions, either temporarily or permanently.
28
Memory Types: Main Memory
• It’s where our computer loads up all the things it thinks it will need to find
out soon, so that when it does need something, it can read it super fast.
29
Main Memory: RAM
30
Main Memory: ROM
• ROMs are mainly used to store data, which do not change and are
frequently used. For example, system boot program.
31
PROM (Programmable Read-Only Memory)
• PROM cells are initially programmed using a special device called a PROM
programmer.
32
EPROM (Erasable Programmable Read-Only Memory)
• To erase data, the EPROM chip is exposed to UV light through the quartz
window, resetting all memory cells to their original state.
33
EEPROM (Electrically Erasable Programmable Read-Only
Memory)
• Unlike EPROM, EEPROM does not require UV light for erasure; instead, it
can be erased electrically using specific voltage levels.
34
Memory Types: Secondary Memory
• It allows a user to store data that may be instantly and easily retrieved,
transported and used by applications and services.
35
Secondary Memory: Various Dive/Disks
• Magnetic Disks
Floppy Disks store around 1.4 Mbytes
Hard Disks typically 40 Gigabytes to 100s of Gigabytes
access time ~10ms, transfer rate 100kbytes/s
• Optical Disks
use lasers to read and sometimes write
more robust that magnetic media
CD-ROM and DVD.
36
Core Memory
• Core memory consists of small magnetic cores woven into a grid of wires,
where each core represents one bit of data.
• Reading data involves sensing the magnetization state of the cores through
the wires.
• Core memory is non-volatile and retains data even when power is turned
off.
37
Bubble Memory
• Bubble memory stores data in magnetic bubbles that move along a thin film
of magnetic material.
38
Memory Management
• RAM (Random Access Memory): Volatile memory used for temporary data
storage during program execution.
Problem
But … swapping
• It is used to store massive amounts of data that may not need frequent
access but require long-term retention.
• Massive Capacity
• Cost-Effectiveness.
41
Computer Hardware: Input Devices
• Input devices accept data and instructions from the user or from another
computer system.
• Ex-
Keyboard, Mouse, microphone
Trackball, Touchscreen, Joystick
Scanner, Digital camera
Digital Pen, Barcode reader etc.,
42
Computer Hardware: Input Devices
• layout – QWERTY
Standardized layout
43
Computer Hardware: Output Devices
• Ex-
Monitor, Printer
Speaker, Projector
Sound system etc.
44
Scanners
• Used in
desktop publishing for incorporating photographs and other images.
document storage and retrieval systems, doing away with paper
storage.
special scanners for slides and photographic negatives. 45
Optical Mark Recognition
46
Ports and Overview of Common Ports
• USB (Universal Serial Bus): Widely used for connecting peripherals such
as keyboards, mice, printers, and external storage devices.
• Storage Devices: External hard drives, USB flash drives, memory cards,
and optical drives used to store and retrieve data.
48
Serial Communication
49
Serial Communication
Advantages
Limitations
• Transmitting data bit by bit can result in higher latency compared to parallel
transmission.
50
Parallel Communication
• Each bit of data is transmitted over a separate wire, allowing for faster
transmission rates.
51
Parallel Communication
Advantages
Limitations
• Adding more channels can lead to signal integrity issues and increased
complexity in routing and synchronization.
52