Introduction To Computer Hardware223 - LESSON ONE - 2023
Introduction To Computer Hardware223 - LESSON ONE - 2023
1
The architecture is an abstraction of the computer. A computer's organization
describes how the architecture is implemented; that is, it defines the hardware
used to implement the architecture.
A computer is a machine that takes in information from the outside world, processes
it according to some predetermined set of operations, and delivers the processed
information. This definition of a computer is remarkably unhelpful, because it
attempts to define the word computer in terms of the equally complex words
information, operation, and process. Perhaps a better approach is to provide
examples of what computers do by looking at the role of computers in data
processing, numerical computation (popularly called number crunching),
workstations, automatic control systems, and electronic systems.
2
1.3.1 The PC and workstation
The 1980s witnessed two significant changes in computing— the introduction of the PC and
the workstation. PCs bring computing power to people in offices and in their own homes.
Although primitive PCs have been around since the mid 1970s, the IBM PC and Apple
Macintosh transformed the PC from an enthusiast's toy into a useful tool. Software such as
word processors, databases, and spreadsheets revolutionized the office environment, just
as computer-aided design packages revolutionized the industrial design environment.
Today's engineer can design a circuit and simulate its behavior using one software package
and then create a layout for a printed circuit board (PCB) with another package. Indeed, the
output from the PCB design package may be suitable for feeding directly into the machine
that actually makes the PCBs.
When powerful personal computers are coupled to laser printers, anyone can use desktop
publishing packages capable of creating manuscripts that were once the province of the
professional publisher. Now, all that's taken for granted. Today's PCs can take video from
your camcorder, edit it, add special effects, and then burn it to a DVD that can be played on
any home entertainment system. Although everyone is familiar with the PC, the concept of
the workstation is less widely understood.
A workstation can be best thought of as a high-performance PC that employs state-of-the-
art technology and is normally used in industry. Workstations have been produced by
manufacturers such as Apollo, Sun, HP, Digital, Silicon Graphics, and Xerox. They share many
of the characteristics of PCs and are used by engineers or designers. The biggest difference
between workstations and PCs was in graphics and displays. This difference has all but
vanished with the introduction of high-speed graphics cards and large LCD displays into the
PC world.
The early years of computing were dominated by the mainframe, which was largely used as
a data processor. Figure 1.1 describes a computer designed to deal with the payroll of a
large factory. We will call the whole thing a computer, in contrast with those who would say
that the CPU (central processing unit) is the computer and all the other devices are
peripherals. Inside the computer's immediate access memory is a program, a collection of
primitive machine-code.
3
Operations, whose purpose is to calculate an employee's pay based on the number of hours
worked, the basic rate of pay, and the overtime rate. Of course, this program would also
deal with tax and any other deductions. Because the computer's immediate access memory
is relatively expensive, only enough is provided to hold the program and the data it is
currently processing. The mass of information on the employees is normally held in
secondary store as a disk file. Whenever the CPU requires information about a particular
employee, the appropriate data is copied from the disk and placed in the immediate access
store. The time taken to perform this operation is a small fraction of a second but is many
times slower than reading from the immediate access store. However, the cost of storing
information on disk is very low indeed and this compensates for its relative slowness. The
tape transport stores data more cheaply than the disk (tape is called tertiary storage). Data
on the disks is copied onto tape periodically and the tapes stored in the basement for
security reasons.
Every so often the system is said to crash and everything grinds to a halt. The last tape
dump can be reloaded and the system assumes the state it was in a short time before the
crash. Incidentally, the term crash had the original meaning of a failure resulting from a
read/write head in a disk drive crashing into the rotating surface of a disk and physically
damaging the magnetic coating on its surface. The terminals (i.e. keyboard and display)
allow operators to enter data directly into the system. This information could be the
number of hours an employee has worked in the current week. The keyboard can be used
to modify the program itself so that new facilities may be added as the system grows.
Computers found in data processing are often characterized by their large secondary stores
and their extensive use of printers and terminals.
4
1.3.3 The computer as a numeric processor
In particular, the digital computer is serially organized and performs a single instruction at a
time, whereas the brain has a highly parallel organization and is able to carry out many
activities at the same time. Somewhere in every computer's memory is a block of
information that we call a program. The word program has the same meaning as it does in
the expression program of studies, or program of music. A computer program is a collection
of instructions defining the actions to be carried out by the computer sequentially. The
classic analogy with a computer program is a recipe in a cookery book. The recipe is a
sequence of commands that must be obeyed one by one in the correct order. Our analogy
between the computer program and the recipe is particularly appropriate because the
cookery instructions involve operations on ingredients, just as the computer carries out
operations on data stored in memory. Figure 1.2 describes how a digital computer can be
divided into two parts: a central processing unit (CPU) and a memory system. The CPU reads
the program from memory and executes the operations specified by the program. The word
execute means carry out; for example, the instruction add A to B causes the addition of a
quantity called A to a quantity called B to be carried out. The actual nature of these
instructions does not matter here. What is important is that the most complex actions
carried out by a computer can be broken down into a number of more primitive operations.
But then again, the most sublime thoughts of Einstein or Beethoven can be reduced to a
large number of impulses transmitted across the synapses of the cells in their brains. The
memory system stores two types of information; the program and the data acted on or
created by the program. It isn't necessary to store both the program and data in the same
memory.
Most computers store programs and data in a single memory system and are called von
Neumann machines (Von Neumann architecture). A computer is little more than a black box
that moves information from one point to another and processes the information as it goes
along.
6
When we say information we mean the data and the instructions held inside the computer.
Figure 1.2 shows two information-carrying paths connecting the CPU to its memory. The
lower path with the single arrowhead from the memory to the CPU (heavily shaded in Fig.
1.2) indicates the route taken by the computer's program. The CPU reads the sequence of
commands that make up a program one by one from its memory. The upper path (lightly
shaded in Fig. 1.2) with arrows at both its ends transfers data between the CPU and
memory. The program controls the flow of information along the data path. This data path
is bidirectional, because data can flow in two directions. During a write cycle data generated
by the program flows from the CPU to the memory where it is stored for later use. During a
read cycle the CPU requests the retrieval of a data item from memory, which is transferred
from the memory to the CPU.
7
Figure 1.3a: The Microcontroller SBC
Figure 1.3b: The Make Controller Kit with an Atmel AT91SAM7X256 (ARM)
microcontroller.
Source: Wikipedia
Such a board can be embedded in systems ranging from automobile engines to cell phones. The
principal characteristic of the SBC is its lack of expandability or flexibility. Once you've made it,
the system can't be expanded.
The PC is very different from the single-board computer because each user has their own
requirements; some need lots of memory and fast video processing and some need several
8
peripherals such as printers and scanners. One way of providing flexibility is to design a system
with slots into which you can plug accessories. This allows you to buy a basic system with
functionality that is common to all computers with that board and then you can add specific
enhancements such as a video card or a sound card. Figure 1.4 & Figure 1.6a shows a PC
motherboard. The motherboard contains the CPU and all the electronics necessary to connect
the CPU to memory and to provide basic input/output such as a keyboard and mouse interface
and an interface to floppy and hard disk drives (including CD and DVD drives). The motherboard
in Figure. 1.4 has four areas of expandability. Program and data memory can be plugged into
slots allowing the user to implement enough memory for their application (and their purse). You
can also plug a video card into a special graphics slot, allowing you to use a basic system for
applications such as data processing or an expensive state of-the-art graphics card for a high-
performance games machine with fast 3D graphics.
9
hard disks or CD ROMs. Over the last few years, special purpose functions have migrated
from plug-in cards to the motherboard. For example, the USB serial interface, the local area
network, and the audio system have been integrated on some of the high-performance
motherboards. The motherboard in Figure 1.4 has five PCI connectors. These connectors
allow you to plug cards into the motherboard. Each connector is wired to a bus, a set of
parallel conductors that carry information between the cards and the CPU and memory.
One of the advantages of a PC is its expandability because you can plug such a wide variety
of cards into its bus. There are modems and cards that capture and process images from
camcorders. There are cards that contain TV receivers. There are cards that interface a PC
to industrial machines in a factory etc.
Here are the components and peripherals necessary to assemble a basic modern PC system:
Motherboard
Processor
Memory (RAM)
Case/chassis
Power supply
Floppy drive
Hard disk
CD-ROM, CD-RW, or DVD-ROM drive
Keyboard
Mouse
Video card
Monitor (display)
Sound card
Speakers
Modem
10
Table 1.1 Basic PC Components
Component Description
Motherboard The motherboard is the core of the system. It really is the PC; everything else is
connected to it, and it controls everything in the system.
Processor The processor is often thought of as the "engine" of the computer. It's also called
the CPU (central processing unit).
Memory (RAM) The system memory is often called RAM (for random access memory). This is the
primary memory, which holds all the programs and data the processor is using at a
given time.
Case/chassis The case is the frame or chassis that houses the motherboard, power supply, disk
drives, adapter cards, and any other physical components in the system.
Power supply The power supply is what feeds electrical power to every single part in the PC.
Floppy drive The floppy drive is a simple, inexpensive, low-capacity, removable-media, magnetic
storage device.
Hard drive The hard disk is the primary archival storage memory for the system.
CD-ROM/DVD-ROM CD-ROM (compact disc read-only) and DVD-ROM (digital versatile disc read-only)
drives are relatively high-capacity, removable media, optical drives.
Mouse Although many types of pointing devices are on the market today, the first and most
popular device for this purpose is the mouse.
11
Video card The video card controls the information you see on the monitor.
Modem Most prebuilt PCs ship with a modem (generally an internal modem).
12
Figure 1.6a: The Motherboard
1. Alan Clements Principles of Computer Hardware, 4th Edition: Oxford University Press
2. http://computerit4u.weebly.com/system-unit.html
3. https://www.informit.com/articles/article.aspx?p=29470&seqNum=3
14