Software and Hardware Interaction: Learning Outcomes Words To Know
Software and Hardware Interaction: Learning Outcomes Words To Know
Software and
Hardware Interaction
LEARNING OUTCOMES WORDS TO KNOW
After you have read this chapter, you should be able to: arithmetic logic unit
Explain the roles and importance of the major central processing unit
hardware components including the CPU, input, clock speed
output and storage devices.
Explain how to use system requirements. control unit
Discuss the purpose of software updates. execution cycle (E-cycle)
Use Windows Update to keep the operating system
gigahertz (GHz)
up to date.
hard-disk drive (HDD)
instruction cycle (I-cycle)
OVERVIEW machine cycle
This chapter explores the interactions between hardware megahertz (MHz)
and software to process data and perform other basic
motherboard
tasks. You’ll start by identifying the major hardware
components that affect performance, and learn how a multicore processor
component’s characteristics determine the software you
multiprocessing
can use on your system.
multithreading
nonvolatile memory
CONTENTS optical disc
Hardware Components port
The central processing unit power supply
Peripheral devices
printer
Understanding system requirements
Updating software read-only memory (ROM)
solid-state drive (SSD)
system unit
volatile memory
word size
9
2.1 Hardware Components
At the most fundamental level, software interacts with hardware components to perform computing tasks.
How efficiently hardware and software complete these tasks is called performance. Because a computer’s
internal hardware components directly influence its performance, you should be familiar with these
components and how they work together to process instructions from software.
System Unit
The system unit, also known as the system chassis, is a container that houses most of the electronic
components that make up a computer system.
TABLE 2-1 Components inside the system unit
COMPONENT DESCRIPTION
Motherboard
It is the main circuit board of a computer and controls communication
for the entire computer system. All internal and external devices and
components connect to it. The motherboard is typically a large flat
circuit board covered with a variety of different electronic components:
Sockets provide connection points for chips (silicon chips,
semiconductors, integrated circuits).
Slots provide connection points for specialized cards or circuit boards
Bus lines provide pathways to support communication
Microprocessor
The central processing unit (CPU) is contained on a single chip called
the microprocessor. The microprocessor is the “brains” of the computer
system. It performs the processing operation (converting data into
information).
Memory
Memory is a holding area for data, instructions, and information. Like
microprocessors, memory is contained on chips connected to the
RAM
motherboard. There are 3 well known types of memory chips: random-
access memory (RAM), read-only memory (ROM), and flash memory.
RAM chips hold the program (sequence of instructions) and data that
the CPU is presently processing. They are called temporary or
volatile storage because their contents are lost when the computer is
off.
ROM chips are permanent or nonvolatile storage and have
information stored in them by the manufacturer. “Read only” means
that the CPU can read, or retrieve, data and programs written on the
ROM ROM chip. However, the computer cannot write—encode or change—
the information or instructions in ROM.
Flash memory offers a combination of the features of RAM and ROM.
Like RAM, it can be updated to store new information. Like ROM, it
does not lose that information when power to the computer system is
turned off. Flash memory is used for a wide range of applications, one
example is the start-up instructions for a computer called the
FLASH
system’s BIOS (basic input/output system).
Cooling Components
Cooling components are used to cool off the CPU and the system unit
because heat can damage components and cooler chips can run faster.
Fans and heat sinks (typically made out of aluminum with fins that
help to dissipate heat) are the most commonly used cooling component.
Ports
A port is a socket for external devices to connect to the system unit
while cables are used to connect external devices to the system unit via
ports. There are four standard ports:
USB (universal serial bus)—widely used to connect keyboards, mice,
printers, and storage devices.
HDMI (high definition multimedia interface)— provides high-
definition video and audio.
Thunderbolt—provides high-speed connections to up to seven
Thunderbolt devices at once, such as external hard drives and
monitors.
Ethernet—high-speed networking port that has become a standard for
many of today’s computers.
Machine Cycle
When software sends an instruction to the CPU, the CPU carries out the instruction by repeating four basic
operations in the machine cycle: (1) fetch, (2) decode, (3) execute, and (4) store.
FIGURE 2-1
Machine cycle
CPU Performance
Word Size
The word size indicates the number of bits (such as 16, 32, or 64) that can be accessed at one time by the CPU.
The bigger the word size the more data a computer can process at one time. Eight bits group together to form
a byte. A 32-bit-word computer can access 4 bytes at a time. A 64-bit-word computer can access 8 bytes at a
time. Therefore, a computer designed to process 64-bit words has greater processing capacity.
Clock Speed
The speed of the processor directly influences the speed of the machine cycle, and therefore, the overall
performance of the computer. The processor’s clock speed indicates the number of instructions the CPU can
process per second. Clock speed is stated in megahertz (MHz) or a million cycles per second, and gigahertz
(GHz) or a billion cycles per second. (A hertz is one cycle per second.) A CPU that runs at 2 GHz completes 2
billion clock cycles in one second.
Processor Type
The type of processor also significantly affects the CPU and computer’s overall performance. Multi-core
processors provide two or more separate and independent CPUs and allow the operating system to use
multiprocessing to split tasks among the processors, with each processor working on a different task at the
same time.
In contrast, a single-core processor cannot use multiprocessing. To enhance performance using a single-
core processor, the operating system can use two other techniques: multitasking and multithreading.
Multitasking operating system can run more than one program at the same time. With multithreading, the
operating system handles many parts, or threads, of a single program.
Input Devices
An input device is any piece of equipment that is used enter data and commands into the computer. Input
devices translate data and programs that humans can understand into a form that the computer can process.
The most common input devices are the keyboard and the mouse.
1. Keyboard. An input device used to enter letters, numbers, and other symbols. Keyboards can be stand-
alone and connected to the computer with a cable or through a wireless connection, or they might be
integrated into the computer itself, such as with a laptop or notebook.
2. Pointing devices. Pointing devices are used to (a) select and manipulate objects, (b) input certain types of
data (such as handwritten data), and (c) issue commands to the computer.
a. Mouse. Mouse is the most common pointing device that the user slides along a flat surface to move a
pointer around the screen and clicks its buttons to make selections. Like keyboards, a mouse typically
connects via a USB port or via a wireless connection. Popular types of mouse include:
i. Optical mouse uses a laser to detect movement.
ii. Wireless mouse uses radio waves or infrared light waves.
iii. Touch pad operates by touching or tapping a surface. It is widely used instead of a mouse with
laptops and some types of mobile devices.
b. Touch Screens. Touch screens allow users to select actions by touching the screen with a finger or pen-
like device. Multi-touch screens accept multiple-finger commands.
Output Devices
An output device accepts processed data from the computer and presents the results to the user, most of the
time on the display device (monitor), on paper (via a printer), or through a speaker.
Printers translate information processed by the system unit and present the
information on paper. Printer output is often called hard copy.
Printers can be categorized into two:
Impact printers produce text and images by striking an ink ribbon (e.g. dot matrix
printers) or burning dots onto coated paper (thermal printers).
PRINTER
Non-impact printers produce images without actually striking the paper (e.g. laser
or ink-jet printers)
Print resolution is measured in dots per inch (DPI), more dots per inch results in
higher quality output. Print speed is measured in pages per minute (PPM) and
usually ranges from about 15 to 65 ppm.
Audio-output devices translate audio information from the computer into sounds that
AUDIO-OUTPUT
people can understand. The most widely used are speakers and headphones.
DEVICES
Headsets are a combination of speakers and microphones. These devices connect
DATA AND Projectors are used to display output from a computer to a wall or projection screen.
MULTIMEDIA It is mostly commonly found in classrooms and conference rooms. It can be wireless
PROJECTOR or integrated into devices.
Secondary Storage
An essential feature of every computer is the ability to save, or store, information. Recall that before data can
be processed or a program can be run, it must be in RAM. For this reason, RAM is sometimes referred to as
primary storage. Unfortunately, RAM provides only temporary or volatile storage. That is, it loses all of its
contents as soon as the computer is turned off.
Secondary storage provides permanent or nonvolatile storage. Using secondary storage devices such as a
hard-disk drive, data and programs can be retained after the computer has been shut off.
These are important characteristics of secondary storage:
Media are the physical material that holds the data and programs
Capacity measures how much a particular storage medium can hold
Storage devices are hardware that writes and reads data and programs to and from storage media
Access speed measures the amount of time required by the storage device to retrieve data and programs
TABLE 2-3 Secondary storage devices
SECONDARY STORAGE DESCRIPTION
Hard-disk drives use rigid metallic platters that provide a large amount of
capacity. They store data and programs by altering the electromagnetic charges
on the platter’s surface. Hard disks can be internal (located within the system
unit) or external (removable). Both are used to store programs and data files
and use the same basic technology.
Solid-state drives (SSD) are similar to internal hard-disk drives except they use
solid-state memory; are faster, more durable, and more expensive; and
generally provide less capacity. Hybrid systems contain SSD and magnetic
disks.
Flash memory cards are small solid-state storage devices that are widely used
with portable devices. They are used with a variety of specialized input devices
including digital cameras to store and transfer images and digital media
players like the iPod to store and transfer music and video files.
USB drives (flash drives) are so small that they fit onto a key ring. These drives
connect to a computer’s USB port and are widely used to transfer data and
information between computers, specialty devices, and the Internet.
Optical discs use laser technology. The most widely used optical discs are:
Compact discs (CDs) were the first; typical storage 700 MB; often used to store
music.
Digital versatile discs (DVDs) standard optical discs; typical storage 4.7 GB;
often used to store movies and software.
Blu-ray discs (BDs) are the newest; designed to store high definition video;
typical storage 50 GB.
Each of these optical discs has three basic formats:
Read-only (ROM for read-only memory) discs cannot be written on or erased
by the user.
Write-once (R for recordable) discs can be written on once. After that, they
can be read many times but cannot be written on or erased.
Rewritable (RW for rewritable or RAM for random-access memory) discs are
similar to write-once discs except that the disc surface is not permanently
altered when data is recorded.
With cloud computing, the Internet acts as a “cloud” of servers. Cloud storage
(online storage) is supplied by these servers and provide storage, processing,
and memory.
Advantages for users include less maintenance, fewer hardware upgrades, and
easy file sharing and collaboration. Disadvantages for users include slower
access speed and less control over file security.
TYPE DESCRIPTION
Collection of files (larger than a patch) that revises software to fix problems or provide
UPDATE
enhancements
SERVICE PACK Collection of updates, fixes, or enhancements to software delivered as a single file
TYPE DESCRIPTION
IMPORTANT Updates you should install to maintain the security and reliability of Windows
Updates that enhance your computing experience or repair problems that are not
RECOMMENDED
considered critical
OPTIONAL Updates that are not critical and do not apply to all Windows users
CHAPTER REVIEW
Before moving on to the next chapter check that you now know how to:
Explain the role and importance of the basic components of computer systems including the CPU,
input, output and storage devices.
Explain how the central processing unit (CPU) processes software instructions.
Explain how to use system requirements.
Explain the purpose of software updates.
Use Windows Update to keep the operating system up to date.