Lecture 3 - Hardware
Lecture 3 - Hardware
Thirteenth Edition
Chapter 3
Hardware
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain 1
product or service or otherwise on a password-protected website for classroom use.
Objectives
After completing this chapter, you will be able to:
1. Identify and briefly describe the functions of the primary
components of a computer
2. Give an example of recent innovations in computer processor
chips, memory devices, and input/output devices
3. Identify the characteristics of various classes of single-user and
multiuser computer system, and discuss the usage of each
class of system
4. Identify some of the challenges and trade-offs that must be
considered in implementing a data center
5. Define the term “green computing” and identify the primary
goals of this program
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service
or otherwise on a password-protected website for classroom use.
Anatomy of a Computer
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 3
or otherwise on a password-protected website for classroom use.
Anatomy of a Computer
• Central Processing Unit (CPU) is the part of the computer that sequences and
executes instructions. The CPU consists of:
• Arithmetic/logic unit (ALU)
- Performs addition, subtraction, multiplication, division, and logical comparisons
• The control unit
- Decodes instructions, and coordinates the operations of other CPU components
• The register areas
- Small, high-speed storage areas within the CPU
• Memory
• Provides the processor with a working storage area to hold program instructions and
data
• Input/output devices
• Provide data and instructions to the computer and receives results from it
• Including permanent storage
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 4
or otherwise on a password-protected website for classroom use.
Processor
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 5
or otherwise on a password-protected website for classroom use.
Processor
• Decoding involves breaking down the instruction into two parts: opcode
(operation code) and address code
• Opcodes are a basic set of commands that the processor can execute, such as
• ADD—Add two numbers together
• COMPARE—Compare numbers
• IN—Input information from a device (e.g., keyboard)
• JUMP—Jump to designated memory address
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 6
or otherwise on a password-protected website for classroom use.
How decoding works? An example
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 7
or otherwise on a password-protected website for classroom use.
How decoding works? An example
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 8
or otherwise on a password-protected website for classroom use.
How decoding works? An example
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 9
or otherwise on a password-protected website for classroom use.
How decoding works? An example
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 10
or otherwise on a password-protected website for classroom use.
How decoding works? An example
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 11
or otherwise on a password-protected website for classroom use.
How decoding works? An example
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 12
or otherwise on a password-protected website for classroom use.
Processor
• Clock speed
• Often measured in gigahertz (GHz): billions of cycles per second
• Many of today’s computers operate in the 1 to 4 GHz range
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 13
or otherwise on a password-protected website for classroom use.
Processor Architectures
• x86
• Mostly used in desktop computers
• Main manufacturers: Intel and AMD
• ARM
• Mostly used in mobile devices due to energy efficiency
• ARM is a designer of computer processors; it licenses its designs to chip
manufacturers to build
• Examples: Qualcomm Snapdragon and Apple M1 are based on ARM
• Other architectures exist
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 14
or otherwise on a password-protected website for classroom use.
Processor Families
• A set of processors from the same manufacturer that have similar features and
capabilities
• Examples:
• Intel families: Atom, Celeron, Pentium, Core, Xeon
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 15
or otherwise on a password-protected website for classroom use.
Utilizing Multiple Processing Units
• Coprocessor
• Executes specific types of instructions while the CPU works on another processing
activity
• Examples:
- Graphics Processing Unit (GPU)
- Apple Neural Engine (ANE) executes deep neural networks on Apple devices while the other
processor executes all other tasks
• Multicore processor
• It has two or more independent processing units, called cores
• These cores can run multiple instructions at the same time, thereby increasing the
amount of processing that can be completed in a given amount of time
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 16
or otherwise on a password-protected website for classroom use.
Parallel computing
Control Processor
Results combined
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 17
or otherwise on a password-protected website for classroom use.
Grid Computing
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 18
or otherwise on a password-protected website for classroom use.
Main Memory
• Provides the CPU with a working storage area for programs and data
• Rapidly provides data and instructions to the CPU
• Also known as Random Access Memory (RAM)
• RAM is temporary and volatile
• Storage capacity
• Byte (B): eight bits that together represent a single character of data
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 19
or otherwise on a password-protected website for classroom use.
Cache Memory
• Processor can access this type of high-speed memory faster than main memory
• Located on or near the CPU chip
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 20
or otherwise on a password-protected website for classroom use.
Types of Memory
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 21
or otherwise on a password-protected website for classroom use.
Read-Only Memory (ROM)
• It’s nonvolatile, which means it provides permanent storage for data and
instructions
• ROM chips store the essential programming required to start up a computer
• ROM chips were also used in gaming system cartridges (e.g., Gameboy)
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 22
or otherwise on a password-protected website for classroom use.
Secondary Data Storage Devices
• Secondary storage
• Devices that store large amounts of data, instructions, and information more
permanently than allowed with memory
• Advantages over memory
• Nonvolatility (per)
• Greater capacity
• Cheaper
• Secondary storage is not directly accessible by the CPU
• Computers usually use input/output channels to access secondary storage and then
transfer the desired data to intermediate areas in primary storage
• Most common forms
• Magnetic, such as hard disk drives
• Optical, such as CD, DVD and Blu-ray discs
• Solid state, such as solid state drives (SSD) and USB memory sticks
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 23
or otherwise on a password-protected website for classroom use.
Magnetic Secondary Storage Devices
• Magnetic tape
• A type of sequential secondary storage medium
• Primarily for storing backups
• Many legacy applications still require tape-based storage, and may not be able to work
with disk-based storage systems directly
• Virtual tape provides the simplest replacement for tapes with a solution that is either
entirely or partially based on HDDs
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 24
or otherwise on a password-protected website for classroom use.
Magnetic Secondary Storage Devices
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 25
or otherwise on a password-protected website for classroom use.
Hard Disk Drive (HDD)⁺
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 26
or otherwise on a password-protected website for classroom use.
Hard Disk Drive (HDD)⁺
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 27
or otherwise on a password-protected website for classroom use.
Magnetic Secondary Storage Devices
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 28
or otherwise on a password-protected website for classroom use.
Magnetic Secondary Storage Devices
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 29
or otherwise on a password-protected website for classroom use.
Optical Secondary Storage Devices
• A form of data storage that uses lasers to read and write data
• Common types of optical storage devices
• Compact disc read-only memory (CD-ROM)
• Digital video disc (DVD)
• Blu-ray high-definition video disk
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 30
or otherwise on a password-protected website for classroom use.
Solid State Secondary Storage Devices
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 31
or otherwise on a password-protected website for classroom use.
Enterprise Storage Options
1. Attached storage
• A storage device that is directly connected to a single computer or server
• It’s typically used for local storage of files and applications
2. Network-attached storage (NAS)
• A storage device (or a storage server) that is directly connected to a network
• Each NAS consists of one or several hard disk drives and has its own network address
• It can be a good option for small businesses and home users
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 32
or otherwise on a password-protected website for classroom use.
Enterprise Storage Options
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 33
or otherwise on a password-protected website for classroom use.
Input and Output Devices
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 34
or otherwise on a password-protected website for classroom use.
Input Devices
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 35
or otherwise on a password-protected website for classroom use.
Input Devices
• Card Readers:
• Magnetic Stripe Cards
• Chip Cards
• Contactless Payment Cards
• Bar-Code Scanners
• Radio Frequency Identification (RFID) Devices
• Pen Input Devices
• Touch Screens
• Biometric Devices
• Iris Scanner
• Fingerprint Scanner
• Heart-Rate Monitor
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 36
or otherwise on a password-protected website for classroom use.
Output Devices
• Display Screens
• Used to show output from the computer
• Two main types of flat displays:
• LCD and LED LCD
- Uses a backlight source
• OLED
- No backlight
- Each pixel emits light independently
- OLED enables improved contrast and lower power consumption than LCD and LED LCD
• Black in OLED is actually black
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 37
or otherwise on a password-protected website for classroom use.
Output Devices
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 38
or otherwise on a password-protected website for classroom use.
Output Devices
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 39
or otherwise on a password-protected website for classroom use.
Output Devices
• 3D Printers
• Unlike traditional printers that use document files (e.g., docx and pdf), the 3D printer
works with three-dimensional models to create objects
• Key advantages:
- Prototyping
- Customization: https://youtu.be/GGbEFn2w8Pg?t=24
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 40
or otherwise on a password-protected website for classroom use.
Multimedia Technologies
• Haptic Technology
• Virtual Reality
• Augmented Reality
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 41
or otherwise on a password-protected website for classroom use.
Haptic Technology
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 42
or otherwise on a password-protected website for classroom use.
Virtual Reality (VR)
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 43
or otherwise on a password-protected website for classroom use.
Augmented Reality (AR)
• AR overlays digital content onto the real world, enhancing the user's
environment by providing contextually relevant information
• Examples⁺:
• Snapchat filters
• IKEA Place
• Pokémon GO
• New employee training [video]
IKEA Place
Pokémon GO
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 44
or otherwise on a password-protected website for classroom use.
Computer System Types
• Single-user computers
• Portable computers
- Wearable computers such as health tracking wrist bands and smart watches
- Smartphones
- Laptops
- Tablets
• Nonportable (stationary) computers
- Desktop computers
• Multiple-user computers
• Servers
• Mainframes
• Supercomputers
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 45
or otherwise on a password-protected website for classroom use.
Computer System Types
• General-purpose computers
• Desktops, laptops, and servers
• Special-purpose computers
• Computers used in POS systems
• Computers in medical imaging devices
• Computers in aircrafts and automobiles
• Automotive diagnostic computers
• ATMs (Automated Teller Machines)
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 46
or otherwise on a password-protected website for classroom use.
Thin Clients
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 47
or otherwise on a password-protected website for classroom use.
Servers
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 48
or otherwise on a password-protected website for classroom use.
Servers
Source: https://community.fs.com/blog/server-types-rack-server-vs-blade-server-vs-tower-server.html
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 49
or otherwise on a password-protected website for classroom use.
Mainframes
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 50
or otherwise on a password-protected website for classroom use.
Mainframes⁺
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 51
or otherwise on a password-protected website for classroom use.
Supercomputers
• One of the most powerful computer systems with the fastest processing speed
• Supercomputers, like those used by weather forecasters and in AI research,
perform complex calculations quickly, aiding weather prediction and advancing
AI technologies
• Most new supercomputers employ GPU chips in addition to CPU chips
• Examples⁺:
• Aramco’s Dammam-7: To image geophysical resources and to enhance assessments of
oil and gas reserves
• NVIDIA DGX: for deep learning (AI) applications
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 52
or otherwise on a password-protected website for classroom use.
Supercomputers⁺
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 53
or otherwise on a password-protected website for classroom use.
Supercomputers⁺
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 54
or otherwise on a password-protected website for classroom use.
Supercomputers⁺
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 55
or otherwise on a password-protected website for classroom use.
Scalability
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 56
or otherwise on a password-protected website for classroom use.
Virtual Server
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 57
or otherwise on a password-protected website for classroom use.
Data Center
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 58
or otherwise on a password-protected website for classroom use.
Green Computing
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 59
or otherwise on a password-protected website for classroom use.
Summary
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service 60
or otherwise on a password-protected website for classroom use.