0% found this document useful (0 votes)
6 views40 pages

Lecture 4

This document discusses the CPU and storage in computing systems. It describes how transistors replaced vacuum tubes and enabled the development of integrated circuits and microchips. Microchips have gotten smaller over time yet more powerful as more transistors are placed on a single silicon chip. The transistor was invented in 1947 at Bell Labs and helped enable the development of microprocessors, which are made from semiconductor materials like silicon. Microchips now store and process data in many electronic devices due to ongoing miniaturization.

Uploaded by

Mohammad Baijed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views40 pages

Lecture 4

This document discusses the CPU and storage in computing systems. It describes how transistors replaced vacuum tubes and enabled the development of integrated circuits and microchips. Microchips have gotten smaller over time yet more powerful as more transistors are placed on a single silicon chip. The transistor was invented in 1947 at Bell Labs and helped enable the development of microprocessors, which are made from semiconductor materials like silicon. Microchips now store and process data in many electronic devices due to ongoing miniaturization.

Uploaded by

Mohammad Baijed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 40

Hardware: The CPU

& Storage

Lecture 4 4
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
Chapter Topics

UNIT 4A: Processing: The System Unit,


Microprocessors, & Main Memory
4.1 Microchips, Miniaturization, & Mobility
Using Information Technology, 11e

4.2 Representing Data Electronically


4.3 Inside the System Unit: Power Supply, Motherboard, & Microprocessors
4.4 The Central Processing Unit & the Machine Cycle
4.5 Memory
4.6 Expansion Cards, Bus Lines, & Ports
UNIT 4B: Secondary Storage
4.7 Secondary Storage
4.8 Future Developments in Processing & Storage 2
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
UNIT 4A: Processing: The System Unit, Microprocessors,
& Main Memory

• Electronic circuitry has remained basically the same over recent years.
Using Information Technology, 11e

• A circuit is a closed path followed or capable of being followed by


an electric current.
• Vacuum tubes used wire circuits inside them to facilitate
the flow of electrons.
• Transistors have replaced vacuum tubes.

3
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
4.1 Microchips,
Miniaturization,
Using Information Technology, 11e

& Mobility

4
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
The Since the early 1970s, microchips have gotten smaller and smaller yet more and
more powerful and faster.

• A transistor is a tiny electronic switch that can be turned “on” or


“off” millions of times per second.
Using Information Technology, 11e

• Transistors form part of an integrated circuit: all the parts of an


electronic circuit embedded on a single silicon chip.
• Integrated circuits are solid state (no moving parts).

5
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
The transistor was successfully demonstrated on
December 23, 1947 at Bell Laboratories in Murray
Hill, New Jersey. Bell Labs is the research arm of
Using Information Technology, 11e

American Telephone and Telegraph (AT&T). The three


individuals credited with the invention of
the transistor were William Shockley, John Bardeen
and Walter Brattain.

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
• Silicon: A semiconductor made of clay and sand.
• Semiconductor: A material whose electrical properties are intermediate between a
good conductor and a nonconductor of electricity.
• Perfect underlayer for highly conductive,
complex circuits.
Using Information Technology, 11e

• Microchips (Microprocessors) are made


from semiconductors.
• Chip: A tiny piece of silicon that contains
millions of microminiature integrated
electronic circuits.
Chip

7
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
• Miniaturization
• Microchips
• Store and process data in electronic devices
• for example, microprocessor, memory, logic, communications, graphics, and
Using Information Technology, 11e

math coprocessor chips.


• Microprocessors
• The miniaturized circuitry of an entire computer processor (“brain”) on a single
chip
• Contains the central processing unit (CPU), which processes data into information
• The development of microchips and processors has enabled the
development of small, mobile electronic devices.
8
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
• System Unit
• The case that contains the computer’s electronic components used to
process data.
• PCs: Tower or desktop; monitor is separate.
Using Information Technology, 11e

• Laptops: Monitor is attached to the system unit, like a clamshell.


• Tablets: Usually includes a touch-screen interface.
• Smartphones: Handheld system units.

9
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
4.2 Representing Data
Using Information Technology, 11e

Electronically

10
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
Binary Numbers (1)
Data is represented in a computer by binary code.
Using Information Technology, 11e

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
Binary Numbers (2)
Using Information Technology, 11e

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
Binary Numbers (3)

In binary code, write:


3
8
Using Information Technology, 11e

10
13
16
20
32

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
Hexadecimal numbers
Using Information Technology, 11e

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
• Binary coding schemes assign a unique binary code to each character.
• ASCII (American Standard Code for Information Interchange)
• Requires 7 or 8 bits per character, depending on the version
• 8-bit Extended ASCII provides 256 characters
• Commonly used for microcomputers
Using Information Technology, 11e

• Ex. 0 is presented 48, 1 – 49, 2 – 50


• Ex. A – 65, B – 66, C - 67
• Ex. A – 97, b – 98, c – 99
• For more http://www.asciitable.com
• Unicode
• Requires 16 bits per character
• Handles 65,536 characters—used for Chinese, Arabic and Japanese

15
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
• Machine Language: The computer’s “native language”
• A binary-type programming language (0s and 1s) built into the
CPU that is run directly by the computer.
• Each CPU type has its own machine language
Using Information Technology, 11e

• Language Translators: The computer’s system software converts


higher-level language instructions and data into machine language
so that the processor can “understand” what to do.

16
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
Using Information Technology, 11e

4.3 Inside the System Unit


Power Supply, Motherboard, & Microprocessors

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
Terms Definitions
Bay Opening in the computer cabinet used for the installation of electrical
equipment.
Power Supply This converts AC to DC to run the computer.
Using Information Technology, 11e

Surge Protector Protects the computer from being damaged by power spikes. Plug your
computer into one.
UPS
Uninterruptible Power Supply. Battery-operated device that provides power for
a limited time when there is a blackout.
Motherboard
Main system board of the computer (also systemboard).
Microprocessor
Chipset Miniaturized circuitry of a computer processor.
Groups of interconnected chips on the motherboard that control information
flow between the microprocessor and other system components connected to .18
the motherboard.
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
One View of a
Using Information Technology, 11e

Motherboard

19
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
• Traditional microcomputer microprocessors are Intel and
AMD.
• Multicore processors (2, 4, 6, 8) have more than one
Using Information Technology, 11e

processor “core” on a single silicon chip, which


allows computers to run faster.
• Special processors are made for portable devices.
• A graphics processing unit (GPU) is a
specialized processor used to manipulate three-
dimensional (3-D) computer graphics.

20
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
Processing Speeds
• Every microprocessor contains a system clock, which controls how fast
all the operations within a computer take place (the chip’s processing
speed).
Using Information Technology, 11e

• Older CPU processing speeds are in megahertz.


• 1 MHz = 1 million cycles per second
• Current CPU processing speeds are in gigahertz.
• 1 GHz = 1 billion cycles per second
• The faster a CPU runs, the more power it consumes, and the more heat it
generates.

21
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
4.4 The Central Processing
Using Information Technology, 11e

Unit & the Machine Cycle

22
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
• The CPU, for central processing unit, is the “brain” of the
computer; it follows the instructions of the software
(program) to manipulate data into information.
Using Information Technology, 11e

• The CPU consists of two parts—(1) the control unit and


(2) the arithmetic/logic unit (ALU), both of which contain
registers, or high-speed storage areas.
• All are linked by a kind of electronic “roadway” called a
bus.

23
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
Using Information Technology, 11e

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
Using Information Technology, 11e

4.5 Memory

© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
Memory
• Two type of storage: primary and secondary.
• Primary storage = “memory,” “main memory,” “RAM”;
Using Information Technology, 11e

this type of memory is temporary and volatile.


• Secondary storage = hard disks and flash memory units;
this type of memory is relatively permanent and
nonvolatile.

26
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
Memory Chips Explanation
RAM Random Access Memory chips are volatile and hold:
a. Software instructions
b. Data before & after the CPU processes it
ROM Read Only Memory
Using Information Technology, 11e

c. Cannot be written on or erased without special equipment


d. Are loaded at factory with fixed (permanent) start-up instructions (BIOS),
that tell the computer how to load the operating system
CMOS Complementary Metal Oxide Semiconductor
e. Powered by a battery
f. Contains time, date, calendar, boot password
Flash Nonvolatile memory that can be erased and reprogrammed more than once
g. Doesn’t require a battery
h. Used in newer PCs for BIOS instructions

27
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
Speeding up Processing: Cache
• The CPU works much faster than RAM, so it often must wait for
information
• Cache temporarily stores instructions and data that the processor uses
Using Information Technology, 11e

frequently to speed up processing


• Level 1 cache is part of the microprocessor
• Holds 8 to 128 KB
• Faster than Level 2 cache
• Level 2 cache is external cache
• Holds 64 kb to 16 MB
• Level 3 cache is on the motherboard
• Comes on very high-end computers
• Holds 2 to 8 MB
28
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
• Virtual Memory—also used to speed up processing.
• This type of memory is unused hard disk or optical (CD) space that
the processor uses to extend the capacity of RAM.
Using Information Technology, 11e

• The processor goes first to L1 cache, then L2 cache, then RAM,


then virtual memory.
• Each type of memory is slower than its predecessor.

29
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
UNIT 4B:

• Secondary storage hardware includes devices that


Using Information Technology, 11e

permanently hold data and information as well as programs.


• Online, or cloud, storage is also available, but we still use
secondary storage hardware.

30
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
Using Information Technology, 11e

4.7 Secondary Storage

31
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
read/write
head

Hard Disks: Still the major secondary-storage


device for desktop/tower computers.
• Thin, rigid metal, glass, or ceramic platters covered with a substance that
Using Information Technology, 11e

allows data to be held in the form of magnetized spots.


• The more platters there are, the higher the drive capacity.
• Store data in tracks, sectors, and clusters.
• Formatting creates a file allocation table that maps files to clusters.
• Drive heads ride on .000001” cushion of air, and can crash!
• Important data should always be backed up!

32
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
Using Information Technology, 11e

33
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
• Hard Disks (continued)
• Hard Disk Types:
• Nonremovable hard disk – Also known as a fixed disk; is housed in the
microcomputer system unit and is used to store nearly all programs and most data
Using Information Technology, 11e

files. Usually consists of several metallic or glass platters, from 1 to 5.25 inches
(most commonly 3.5 inches) in diameter, stacked on a spindle, with data stored on
both sides. Read/write heads, one for each side of each platter, are mounted on an
access arm that moves back and forth to the right location on the platter.
• External hard disk – Freestanding disk drive (portable); usually connected via
USB.
• RAID – redundant array of independent disks; for large computer systems.

34
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
Flash & Solid-State Storage
• Flash memory and solid-state memory have become the most important form of
mobile secondary storage.
• Disk drives (hard disks or CDs/DVDs) all involve some moving parts—and
moving parts can break. By contrast, flash memory has no moving parts; it is
Using Information Technology, 11e

“solid state.” Flash memory is also nonvolatile—it retains data even when the
power is turned off.
• Flash memory media are available in three forms:
• Some tablets, laptops, desktops, and servers feature a solid-state drive (SSD), which uses
flash memory to store data, instructions ,and information.
• Flash memory cards, or flash RAM cards, are removable and reusable storage media that
are inserted into a flash memory slot in a digital camera, notebook, smartphone, or other
mobile device.
• A USB flash drive consists of a finger-size module of reusable flash memory that plugs
into the USB ports of nearly any microcomputer.
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
Smart Card: pocket-size card with integrated circuits.
• Resembles ‫تشبه‬a credit card but contains a microprocessor and memory
chips
• May function on three levels: credit, debit, and/or personal information
Using Information Technology, 11e

• Storage capacity: around 10 MBs


• Contact smart cards
• Must be swiped through card readers
• Can wear out from use
• Contactless smart cards
• Read when held in front of a low-powered laser

36
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
• Online Secondary Storage (Cloud Storage)
• Allows you to use the Internet to back up your data
• Sign up with a vendor and receive access to software and applications that allow
you to upload your data to that company’s server
Using Information Technology, 11e

37
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
4.8 Future Developments in
Using Information Technology, 11e

Processing & Storage

38
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
Description of Processing Technology
Nanotechnology • Tiny machines work at a molecular level to
make nanocircuits
Optical computing
Using Information Technology, 11e

• Uses lasers and light, not electricity


DNA computing
• Uses strands of synthetic DNA to store data
Quantum computing • Based on quantum mechanics and stores
information using particle states
Better batteries • Wireless charging of batteries, longer-
lasting batteries
39
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.
Future Developments in Secondary Storage
• Higher-density disks
• Perpendicular recording technology: stacking magnetic bits vertically on
the surface of a platter (instead of horizontally, as usual)
Using Information Technology, 11e

• Molecular electronics– storage at the subatomic ‫ جسيم‬level

40
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.

You might also like