SlideShare a Scribd company logo
1 of 50
Download to read offline
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Digital Planet:
Tomorrow’s Technology
and You
GeorgeBeekman•BenBeekman
TenthEdition
Digital Planet:
Tomorrow’s Technology and You
Chapter 2
Hardware Basics
Inside the Box
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Chapter 2 Objectives
Explain in general terms how computers store and
manipulate information
 Describe the basic structure and organization of a
computer
 Discuss the computer system’s main internal
components and the ways they interact
 Explain why a computer typically has different types
of memory and storage devices
3
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Data and Information
 Data are raw (unprocessed) facts.
• A list of test scores, recipe…
 Before processing, data have little or no meaning.
 Information consists of data that have been processed
and made useful.
4
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Information Processing Cycle
Input data Output information
Example:
Input exam Output average
scores
Process data
Process scores
to compute average
5
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
What Computers Do Is a
Processing Cycle
Four basic operations:
 Receive input: Accept information from outside world
 Process information: Perform arithmetic or logical
operations on information
 Produce output: Communicate information to outside
world
 Store information: Store and retrieve information from
memory and storage devices
6
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
What Computers Do (cont.)
Hardware components
• Input devices
• Output devices
• Microprocessor (CPU)
• Memory and storage
devices
• Primary storage (RAM)
• Secondary Storage
(Hardisk,DVD,Tape)
• Peripherals
7
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
• The computer case is a metal «skeleton» protecting its different
internal components
•The case includes:
• The computer’s motherboard
• External storage such as the hard disk, DVD reader and
writer, DVD / CD-ROM
• Extension cards for input / output interfaces
• Electric power supply
5
The case
8
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 9
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
• The computer motherboard is the platform allowing
the connection of the computer essential elements.
6
Motherboard
10
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
•The processor is mounted by a thermal dissipater and an
electric fan dissipating the heat produced by the electronic
components
•The live memory is presented in the form of chips, plugged
to the bars which are connected to the motherboard
connectors
•DIMM Bars (Dual Inline Memory Module)
Motherboard(Cont.)
11
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
•The motherboard presents a group of connectors:
•Extension connectors allowing to plug cards for additionnal
functionalities PCI (Peripheral Component Interconnect)
• AGP (Accelerated Graphic Port) : Graphic card
•PCI (Peripheral Component Interconnect) and AGP (Accelerated
Graphics Port) are two different technologies used to connect expansion
cards - such as video, sound, and graphics cards - to your PC. The main
difference between the two is speed, particularly when it comes to
processing graphics.
• Connectors for disk and floppy disk
readers connecting storage disks
• Input – Output connectors
8
Motherboard(Cont.)
12
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Chipset
•The chipset is a group of circuits which role is to coordinate
the exchange between the different elements of the
motherboard (processor, memory, extension cards)
• The north bridge manages notably the exchanges
processor – central unit
• The south bridge manages the exchanges with the
extension cards and the input – output peripherals
• NB: Both bridges are now integrated in a single one on
the recent boards 9
Motherboard(Cont.)
13
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Extension connectors (PCI)
CMOS
Battery
Disk and floppy disk readers connectors
Live memory connectors
Processor mount
Input – Output connectors
14
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
The Computer’s Memory
 Random access memory (RAM)
• Most common type of primary storage
• Stores program instructions and data temporarily
• Memory locations have unique addresses
• Volatile—disappears when power is turned off
15
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
The Computer’s Memory (cont.)
 Read-only memory (ROM)
• Information is etched on chip when manufactured
• Stores start-up instructions and other critical information
16
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
The Computer’s Memory (cont.)
 Complementary metal-oxide semiconductor (CMOS)
• Special low-energy type of RAM(date, time, calendar)
 Flash memory
• Can be written and erased repeatedly
• Used for digital cameras, cell phones, handheld computers
17
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Memory
1.When you turn on the computer, the CPU automatically
begins executing operating system instructions stored in
ROM.
2.The executing instructions help the system start up and tell
it how to load the operating system—copy it from disk into
RAM.
3.Once instructions for the
operating system are
loaded into RAM, the CPU
is able to execute them.
18
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Buses
 Information travels between components on the
motherboard through wires called internal buses or
just buses.
 Buses: Bridges between processor and RAM
 Buses connect to:
• Storage devices
• Expansion slots
• External ports
19
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Ports
 Computer has variety of ports to meet diverse needs
• Video port(s) to connect monitors
• Audio ports to connect speakers and/or headphones
• USB ports to connect keyboards, pointing devices,
printers, cameras, disk drives, portable storage
devices, and more
 Some ports connected directly to system board
 Others connected to expansion cards
20
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Peripherals
 Slots and ports make it easy to add peripherals to
computer system.
 Some peripherals, such as keyboards and printers,
serve as communication links between people and
computers.
 Other peripherals link computer to other machines.
 Still others provide long-term storage media.
21
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
A Bit About Bits
 Information: Communication that has value because
it informs
or
 Information: Anything that can be communicated,
whether it has value or not
22
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Bit Basics
 Bit: From Binary digit
• Smallest unit of information computer can process
• Can have one of two values: 0 or 1
 Byte
• Collection of 8 bits
• Can represent 256
different messages
(256 = 28)
23
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Bits as Numbers
 Denotes all numbers with combinations of 0s and 1s
 Decimal numbers automatically converted to binary
 Binary number processing hidden from user
24
Decimal Binary Decimal Binary
0 0000 5 0101
1 0001 6 0110
2 0010 7 0111
3 0011 8 1000
4 0100 9 1001
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
ASCII
 ASCII stands for American Standard Code for
Information Interchange. Computers can only
understand numbers, so an ASCII code is the
numerical representation of a character such as 'a' or
'@' or an action of some sort.
25
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Bits as Codes
• Codes represent each letter,
digit, and special character
• ASCII: Most widely used
• Each character is a unique 8-bit
code
• 256 unique codes for 26 letters,
10 digits, special characters
• Unicode: Supports more than
100,000 unique characters
26
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
 ASCII character set was originally designed to include
only English-language characters from 0 to 127
 Unicode’s international standard character set allows
for more than 100,000 distinct codes to include
Chinese, Korean, Japanese, and Arabic characters
27
The World’s Languages
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
ASCII Table
28
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Bits, Bytes, and Buzzwords
Byte = 8 bits or one character in ASCII
• Kilobyte (KB, K)
• Megabyte (meg, MB)
• Gigabyte (gig, GB)
• Terabyte (TB)
• Petabyte (PB)
≈ 1,000 bytes
≈ 1,000 KB or 1 million bytes
≈ 1,000 MB or 1 billion bytes
≈ 1 million MB or 1 trillion bytes
≈ 1 quadrillion bytes
29
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Units of Memory
1 bit = 1 on or off switch(s)
1 byte = 8 bits
1 Kilobyte (k) = 1,024 bytes
1 Megabyte (M) = 1,024 Kilobytes (or 1,048,576 bytes)
1 Gigabyte = 1,024 Megabytes or 1,048,576 K
or 1,073,741,825 bytes
30
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Units of Memory
 Data in memory is stored as binary digits (BITS) e.g. 011100101010
 1 byte usually stores 1 text character.
 A = 01000001 (Binary)
 We measure the size of memory by telling how many bytes it can
hold.
• 1 kilobyte = 210 bytes = 1024 bits
• 1 megabyte = 220 bytes = ~1 million bytes
• 1 gigabyte = 230 bytes = ~1 billion bytes
• 1 terabyte = 240 bytes = ~1 trillion bytes
 One megabyte can hold approximately 500 pages of text
information.
31
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
The Computer’s Core:
CPU and Memory
 A digital computer is a collection of on/off switches
designed to transform information from one form to
another.
 The user provides the computer with patterns of
bits—input—and the computer follows instructions
to transform that input into a different pattern of
bits—output—to return to the user.
32
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
The CPU: The Real Computer
 CPU often called “processor”
 Performs transformations of
input into output
 Interprets and executes
instructions in programs
 Performs arithmetic and logical
data manipulations
33
 Communicates with other parts of the computer system
indirectly through memory
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Central Processing Unit (CPU)
 CPU acts as the computer’s brain. It carries out program
commands by performing calculations and communicating
with various components of the computer.
 CPU is made of three parts: Control Unit, Memory
Register(MAR and MDR, address and data), Arithmetic
Logic Unit (ALU).
 Data coming into the CPU by an input device, first enters
the memory register to wait for processing. Once data is in
the memory register, the control unit sends the data to
the ALU which performs all the mathematical operations.
The control unit takes the results of the ALU and sends it
back through the memory register to an output device.
34
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
The CPU: The Real Computer (cont.)
 Modern Microprocessor
• Complex collection of
electronic circuits
• CPU housed with other
chips on circuit board
• Circuit board containing
computer’s CPU is called
motherboard
35
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
The CPU: The Real Computer (cont.)
 Choosing a Computer
• Type of CPU is important part of decision
• Two important factors to consider:
• Compatibility
• Performance
36
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Compatibility
 Not all software is compatible with every CPU.
 Every processor has built-in set of instructions.
 CPUs in same family are generally backward compatible.
• Designed to process instructions handled by earlier models
 AMD processors made to be compatible with Intel.
 Programs written for Linux can’t run on Windows.
37
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Performance
 Some processors faster than others
 Performance is determined by:
• Speed of internal clock—measured in gigahertz (GHz)
• Architecture of processor is described by the Number
of bits processor that can process at one time
• Typically 32 or 64 bits—called word size
 Heat generated increases with clock speed
38
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Internal Vs External
 The internal clock represents how quickly the
processor can manipulate the data it already has.
 The external clock specifies how quickly it can read
the information it needs to manipulate or how
quickly it can output the manipulated data. the
external clock determines how quickly the processor
can communicate with the system's memory
 External clocks are frequently significantly slower
than internal clocks (3GHZ internal is about hundreds
of MHZ).
39
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Performance (cont.)
 Multicore Processors
• Single chip contains
multiple CPUs (cores)
• Run simultaneously
• Divide work
• Most new PCs have
at least two cores.
• Quad core becoming
common
40
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Performance (cont.)
 Special Purpose Processors
• Supplement basic CPU
• Typical CPU contains graphics-processing unit
(GPU) which handles:
• 3-D graphics rendering
• Other visual calculations
• Freeze main CPU to work on other tasks
41
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
From Multicore to Cluster
 Performance enhancing techniques aren’t confined
to the insides of CPU chips.
 Instead of adding more cores, a large system might
simply add more machines to a network.
 Parallel processing has been used in high-end
servers and workstations for some time.
 Threaded processing in multicore CPUs is like a
microscopic version of parallel processing used in
some of the world’s biggest computing networks.
42
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
 Typical CPU is divided into several functional units:
• Control unit
• Arithmetic logic unit (ALU) includes registers(32 and 64bits)
• Decode unit (takes the instruction read by the prefetcher and
translates it into a suitable form for the CPU internal processing)
• Bus unit (communication between memory and CPU)
• Prefetch unit (instructs the bus unit to read the instruction stored at a
particular memory address)
 These units work together to complete the execution of program
instructions.
43
The CPU
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
The CPU (cont.)
44
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Green Computing
 When compared to other industries the computer
industry is relatively easy on the environment.
 The manufacture and use of computer hardware and
software does have a significant environmental
impact.
 You have some control over the environmental
impact of your computing activities.
45
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Green Computing (cont.)
• Buy green equipment
• Use a laptop
• Take advantage of energy
saving features
• Turn off your computer
when you are away
• Save energy, not screen
saver
46
• Print only once
• recycle your waste
products
• Pass it on, donate to
schools
• Send bits not atoms(train
vs email)
• Consider hidden
environmental costs
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Chapter 2 Summary
 A computer manipulates patterns of bits represented
by two symbols: 0 and 1.
 Bits can be grouped into coded messages that
represent alphabetic characters, pictures, colors,
sounds, and other kinds of information.
 The microprocessor follows software instructions to
perform calculations and logical manipulations that
transform input data into output.
47
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Summary (cont.)
 Not all CPUs are compatible with each other.
 Modern CPUs employ multicore or many core
processing systems that speed calculations.
 The CPU uses RAM (random access memory) as a
temporary storage area.
 ROM (read-only memory) contains unchangeable
information.
48
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
Summary (cont.)
 The CPU and main memory are housed in silicon
chips on the motherboard and other circuit boards
inside the computer.
 Buses connect to slots and ports that enable the
computer to communicate with internal devices and
external peripherals.
49
Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
All rights reserved. No part of this publication may be reproduced,
stored in a retrieval system, or transmitted, in any form or by any
means, electronic, mechanical, photocopying, recording, or
otherwise, without the prior written permission of the publisher.
Printed in the United States of America.
50

More Related Content

Similar to tty10_02_ppt-hardware basics inside the box-samir haddad-modified.pdf

Chapter 02 system unit csc & tts
Chapter 02 system unit csc & ttsChapter 02 system unit csc & tts
Chapter 02 system unit csc & tts
Hisyam Rosly
 
2 system-unit.ppt-compatibility-mode
2 system-unit.ppt-compatibility-mode2 system-unit.ppt-compatibility-mode
2 system-unit.ppt-compatibility-mode
EL Institute
 
IT Book of Knowledge
IT Book of KnowledgeIT Book of Knowledge
IT Book of Knowledge
Phil Primeau
 
Chapter 4 the components of the system unit
Chapter 4   the components of the system unitChapter 4   the components of the system unit
Chapter 4 the components of the system unit
haider ali
 

Similar to tty10_02_ppt-hardware basics inside the box-samir haddad-modified.pdf (20)

0-Slot02-Introduction-to-PFC.pdf
0-Slot02-Introduction-to-PFC.pdf0-Slot02-Introduction-to-PFC.pdf
0-Slot02-Introduction-to-PFC.pdf
 
Chapter 02 system unit csc & tts
Chapter 02 system unit csc & ttsChapter 02 system unit csc & tts
Chapter 02 system unit csc & tts
 
Hardware and software of computer
Hardware and software of computerHardware and software of computer
Hardware and software of computer
 
2 system-unit.ppt-compatibility-mode
2 system-unit.ppt-compatibility-mode2 system-unit.ppt-compatibility-mode
2 system-unit.ppt-compatibility-mode
 
IS100 Week 2
IS100 Week 2IS100 Week 2
IS100 Week 2
 
IS CH.1
IS CH.1IS CH.1
IS CH.1
 
capitulo 2
capitulo 2capitulo 2
capitulo 2
 
3 MODULE 2.2 -COMPUTER MEMORY.ppt
3 MODULE 2.2  -COMPUTER MEMORY.ppt3 MODULE 2.2  -COMPUTER MEMORY.ppt
3 MODULE 2.2 -COMPUTER MEMORY.ppt
 
bit, Byte, Kilobyte
bit, Byte, Kilobyte bit, Byte, Kilobyte
bit, Byte, Kilobyte
 
03 - Lecture Systme Unit Components.pptx
03 - Lecture Systme Unit Components.pptx03 - Lecture Systme Unit Components.pptx
03 - Lecture Systme Unit Components.pptx
 
Basic Computer 208 part 2
Basic Computer 208 part 2 Basic Computer 208 part 2
Basic Computer 208 part 2
 
Computer Visible Parts
Computer Visible PartsComputer Visible Parts
Computer Visible Parts
 
Week1 lec2 computer_system_components
Week1 lec2 computer_system_componentsWeek1 lec2 computer_system_components
Week1 lec2 computer_system_components
 
Typical configuration of computer ppt
Typical configuration of computer  pptTypical configuration of computer  ppt
Typical configuration of computer ppt
 
IT Book of Knowledge
IT Book of KnowledgeIT Book of Knowledge
IT Book of Knowledge
 
Basic Computer Skills.pptx
Basic Computer Skills.pptxBasic Computer Skills.pptx
Basic Computer Skills.pptx
 
04 connector and components
04 connector and components04 connector and components
04 connector and components
 
Chapter 4 the components of the system unit
Chapter 4   the components of the system unitChapter 4   the components of the system unit
Chapter 4 the components of the system unit
 
hardware
hardwarehardware
hardware
 
Core Hardware: Lecture 1
Core Hardware: Lecture 1Core Hardware: Lecture 1
Core Hardware: Lecture 1
 

Recently uploaded

1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
ppy8zfkfm
 
一比一原版加利福尼亚大学尔湾分校毕业证成绩单如何办理
一比一原版加利福尼亚大学尔湾分校毕业证成绩单如何办理一比一原版加利福尼亚大学尔湾分校毕业证成绩单如何办理
一比一原版加利福尼亚大学尔湾分校毕业证成绩单如何办理
pyhepag
 
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
Valters Lauzums
 
Toko Jual Viagra Asli Di Salatiga 081229400522 Obat Kuat Viagra
Toko Jual Viagra Asli Di Salatiga 081229400522 Obat Kuat ViagraToko Jual Viagra Asli Di Salatiga 081229400522 Obat Kuat Viagra
Toko Jual Viagra Asli Di Salatiga 081229400522 Obat Kuat Viagra
adet6151
 
如何办理澳洲悉尼大学毕业证(USYD毕业证书)学位证书成绩单原版一比一
如何办理澳洲悉尼大学毕业证(USYD毕业证书)学位证书成绩单原版一比一如何办理澳洲悉尼大学毕业证(USYD毕业证书)学位证书成绩单原版一比一
如何办理澳洲悉尼大学毕业证(USYD毕业证书)学位证书成绩单原版一比一
w7jl3eyno
 
如何办理澳洲悉尼大学毕业证(USYD毕业证书)学位证成绩单原版一比一
如何办理澳洲悉尼大学毕业证(USYD毕业证书)学位证成绩单原版一比一如何办理澳洲悉尼大学毕业证(USYD毕业证书)学位证成绩单原版一比一
如何办理澳洲悉尼大学毕业证(USYD毕业证书)学位证成绩单原版一比一
hwhqz6r1y
 
Toko Jual Viagra Asli Di Malang 081229400522 COD Obat Kuat Viagra Malang
Toko Jual Viagra Asli Di Malang 081229400522 COD Obat Kuat Viagra MalangToko Jual Viagra Asli Di Malang 081229400522 COD Obat Kuat Viagra Malang
Toko Jual Viagra Asli Di Malang 081229400522 COD Obat Kuat Viagra Malang
adet6151
 
1:1原版定制伦敦政治经济学院毕业证(LSE毕业证)成绩单学位证书留信学历认证
1:1原版定制伦敦政治经济学院毕业证(LSE毕业证)成绩单学位证书留信学历认证1:1原版定制伦敦政治经济学院毕业证(LSE毕业证)成绩单学位证书留信学历认证
1:1原版定制伦敦政治经济学院毕业证(LSE毕业证)成绩单学位证书留信学历认证
dq9vz1isj
 
如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一
如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一
如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一
fztigerwe
 
如何办理滑铁卢大学毕业证(Waterloo毕业证)成绩单本科学位证原版一比一
如何办理滑铁卢大学毕业证(Waterloo毕业证)成绩单本科学位证原版一比一如何办理滑铁卢大学毕业证(Waterloo毕业证)成绩单本科学位证原版一比一
如何办理滑铁卢大学毕业证(Waterloo毕业证)成绩单本科学位证原版一比一
0uyfyq0q4
 
Fuzzy Sets decision making under information of uncertainty
Fuzzy Sets decision making under information of uncertaintyFuzzy Sets decision making under information of uncertainty
Fuzzy Sets decision making under information of uncertainty
RafigAliyev2
 

Recently uploaded (20)

1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
 
Generative AI for Trailblazers_ Unlock the Future of AI.pdf
Generative AI for Trailblazers_ Unlock the Future of AI.pdfGenerative AI for Trailblazers_ Unlock the Future of AI.pdf
Generative AI for Trailblazers_ Unlock the Future of AI.pdf
 
Genuine love spell caster )! ,+27834335081) Ex lover back permanently in At...
Genuine love spell caster )! ,+27834335081)   Ex lover back permanently in At...Genuine love spell caster )! ,+27834335081)   Ex lover back permanently in At...
Genuine love spell caster )! ,+27834335081) Ex lover back permanently in At...
 
一比一原版加利福尼亚大学尔湾分校毕业证成绩单如何办理
一比一原版加利福尼亚大学尔湾分校毕业证成绩单如何办理一比一原版加利福尼亚大学尔湾分校毕业证成绩单如何办理
一比一原版加利福尼亚大学尔湾分校毕业证成绩单如何办理
 
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
 
Toko Jual Viagra Asli Di Salatiga 081229400522 Obat Kuat Viagra
Toko Jual Viagra Asli Di Salatiga 081229400522 Obat Kuat ViagraToko Jual Viagra Asli Di Salatiga 081229400522 Obat Kuat Viagra
Toko Jual Viagra Asli Di Salatiga 081229400522 Obat Kuat Viagra
 
如何办理澳洲悉尼大学毕业证(USYD毕业证书)学位证书成绩单原版一比一
如何办理澳洲悉尼大学毕业证(USYD毕业证书)学位证书成绩单原版一比一如何办理澳洲悉尼大学毕业证(USYD毕业证书)学位证书成绩单原版一比一
如何办理澳洲悉尼大学毕业证(USYD毕业证书)学位证书成绩单原版一比一
 
How to Transform Clinical Trial Management with Advanced Data Analytics
How to Transform Clinical Trial Management with Advanced Data AnalyticsHow to Transform Clinical Trial Management with Advanced Data Analytics
How to Transform Clinical Trial Management with Advanced Data Analytics
 
如何办理澳洲悉尼大学毕业证(USYD毕业证书)学位证成绩单原版一比一
如何办理澳洲悉尼大学毕业证(USYD毕业证书)学位证成绩单原版一比一如何办理澳洲悉尼大学毕业证(USYD毕业证书)学位证成绩单原版一比一
如何办理澳洲悉尼大学毕业证(USYD毕业证书)学位证成绩单原版一比一
 
Toko Jual Viagra Asli Di Malang 081229400522 COD Obat Kuat Viagra Malang
Toko Jual Viagra Asli Di Malang 081229400522 COD Obat Kuat Viagra MalangToko Jual Viagra Asli Di Malang 081229400522 COD Obat Kuat Viagra Malang
Toko Jual Viagra Asli Di Malang 081229400522 COD Obat Kuat Viagra Malang
 
Artificial_General_Intelligence__storm_gen_article.pdf
Artificial_General_Intelligence__storm_gen_article.pdfArtificial_General_Intelligence__storm_gen_article.pdf
Artificial_General_Intelligence__storm_gen_article.pdf
 
1:1原版定制伦敦政治经济学院毕业证(LSE毕业证)成绩单学位证书留信学历认证
1:1原版定制伦敦政治经济学院毕业证(LSE毕业证)成绩单学位证书留信学历认证1:1原版定制伦敦政治经济学院毕业证(LSE毕业证)成绩单学位证书留信学历认证
1:1原版定制伦敦政治经济学院毕业证(LSE毕业证)成绩单学位证书留信学历认证
 
如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一
如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一
如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一
 
如何办理滑铁卢大学毕业证(Waterloo毕业证)成绩单本科学位证原版一比一
如何办理滑铁卢大学毕业证(Waterloo毕业证)成绩单本科学位证原版一比一如何办理滑铁卢大学毕业证(Waterloo毕业证)成绩单本科学位证原版一比一
如何办理滑铁卢大学毕业证(Waterloo毕业证)成绩单本科学位证原版一比一
 
Fuzzy Sets decision making under information of uncertainty
Fuzzy Sets decision making under information of uncertaintyFuzzy Sets decision making under information of uncertainty
Fuzzy Sets decision making under information of uncertainty
 
NOAM AAUG Adobe Summit 2024: Summit Slam Dunks
NOAM AAUG Adobe Summit 2024: Summit Slam DunksNOAM AAUG Adobe Summit 2024: Summit Slam Dunks
NOAM AAUG Adobe Summit 2024: Summit Slam Dunks
 
社内勉強会資料  Mamba - A new era or ephemeral
社内勉強会資料   Mamba - A new era or ephemeral社内勉強会資料   Mamba - A new era or ephemeral
社内勉強会資料  Mamba - A new era or ephemeral
 
basics of data science with application areas.pdf
basics of data science with application areas.pdfbasics of data science with application areas.pdf
basics of data science with application areas.pdf
 
How I opened a fake bank account and didn't go to prison
How I opened a fake bank account and didn't go to prisonHow I opened a fake bank account and didn't go to prison
How I opened a fake bank account and didn't go to prison
 
2024 Q1 Tableau User Group Leader Quarterly Call
2024 Q1 Tableau User Group Leader Quarterly Call2024 Q1 Tableau User Group Leader Quarterly Call
2024 Q1 Tableau User Group Leader Quarterly Call
 

tty10_02_ppt-hardware basics inside the box-samir haddad-modified.pdf

  • 1. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Digital Planet: Tomorrow’s Technology and You GeorgeBeekman•BenBeekman TenthEdition
  • 2. Digital Planet: Tomorrow’s Technology and You Chapter 2 Hardware Basics Inside the Box Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall
  • 3. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Chapter 2 Objectives Explain in general terms how computers store and manipulate information  Describe the basic structure and organization of a computer  Discuss the computer system’s main internal components and the ways they interact  Explain why a computer typically has different types of memory and storage devices 3
  • 4. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Data and Information  Data are raw (unprocessed) facts. • A list of test scores, recipe…  Before processing, data have little or no meaning.  Information consists of data that have been processed and made useful. 4
  • 5. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Information Processing Cycle Input data Output information Example: Input exam Output average scores Process data Process scores to compute average 5
  • 6. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall What Computers Do Is a Processing Cycle Four basic operations:  Receive input: Accept information from outside world  Process information: Perform arithmetic or logical operations on information  Produce output: Communicate information to outside world  Store information: Store and retrieve information from memory and storage devices 6
  • 7. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall What Computers Do (cont.) Hardware components • Input devices • Output devices • Microprocessor (CPU) • Memory and storage devices • Primary storage (RAM) • Secondary Storage (Hardisk,DVD,Tape) • Peripherals 7
  • 8. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall • The computer case is a metal «skeleton» protecting its different internal components •The case includes: • The computer’s motherboard • External storage such as the hard disk, DVD reader and writer, DVD / CD-ROM • Extension cards for input / output interfaces • Electric power supply 5 The case 8
  • 9. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 9
  • 10. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall • The computer motherboard is the platform allowing the connection of the computer essential elements. 6 Motherboard 10
  • 11. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall •The processor is mounted by a thermal dissipater and an electric fan dissipating the heat produced by the electronic components •The live memory is presented in the form of chips, plugged to the bars which are connected to the motherboard connectors •DIMM Bars (Dual Inline Memory Module) Motherboard(Cont.) 11
  • 12. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall •The motherboard presents a group of connectors: •Extension connectors allowing to plug cards for additionnal functionalities PCI (Peripheral Component Interconnect) • AGP (Accelerated Graphic Port) : Graphic card •PCI (Peripheral Component Interconnect) and AGP (Accelerated Graphics Port) are two different technologies used to connect expansion cards - such as video, sound, and graphics cards - to your PC. The main difference between the two is speed, particularly when it comes to processing graphics. • Connectors for disk and floppy disk readers connecting storage disks • Input – Output connectors 8 Motherboard(Cont.) 12
  • 13. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Chipset •The chipset is a group of circuits which role is to coordinate the exchange between the different elements of the motherboard (processor, memory, extension cards) • The north bridge manages notably the exchanges processor – central unit • The south bridge manages the exchanges with the extension cards and the input – output peripherals • NB: Both bridges are now integrated in a single one on the recent boards 9 Motherboard(Cont.) 13
  • 14. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Extension connectors (PCI) CMOS Battery Disk and floppy disk readers connectors Live memory connectors Processor mount Input – Output connectors 14
  • 15. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall The Computer’s Memory  Random access memory (RAM) • Most common type of primary storage • Stores program instructions and data temporarily • Memory locations have unique addresses • Volatile—disappears when power is turned off 15
  • 16. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall The Computer’s Memory (cont.)  Read-only memory (ROM) • Information is etched on chip when manufactured • Stores start-up instructions and other critical information 16
  • 17. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall The Computer’s Memory (cont.)  Complementary metal-oxide semiconductor (CMOS) • Special low-energy type of RAM(date, time, calendar)  Flash memory • Can be written and erased repeatedly • Used for digital cameras, cell phones, handheld computers 17
  • 18. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Memory 1.When you turn on the computer, the CPU automatically begins executing operating system instructions stored in ROM. 2.The executing instructions help the system start up and tell it how to load the operating system—copy it from disk into RAM. 3.Once instructions for the operating system are loaded into RAM, the CPU is able to execute them. 18
  • 19. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Buses  Information travels between components on the motherboard through wires called internal buses or just buses.  Buses: Bridges between processor and RAM  Buses connect to: • Storage devices • Expansion slots • External ports 19
  • 20. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Ports  Computer has variety of ports to meet diverse needs • Video port(s) to connect monitors • Audio ports to connect speakers and/or headphones • USB ports to connect keyboards, pointing devices, printers, cameras, disk drives, portable storage devices, and more  Some ports connected directly to system board  Others connected to expansion cards 20
  • 21. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Peripherals  Slots and ports make it easy to add peripherals to computer system.  Some peripherals, such as keyboards and printers, serve as communication links between people and computers.  Other peripherals link computer to other machines.  Still others provide long-term storage media. 21
  • 22. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall A Bit About Bits  Information: Communication that has value because it informs or  Information: Anything that can be communicated, whether it has value or not 22
  • 23. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Bit Basics  Bit: From Binary digit • Smallest unit of information computer can process • Can have one of two values: 0 or 1  Byte • Collection of 8 bits • Can represent 256 different messages (256 = 28) 23
  • 24. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Bits as Numbers  Denotes all numbers with combinations of 0s and 1s  Decimal numbers automatically converted to binary  Binary number processing hidden from user 24 Decimal Binary Decimal Binary 0 0000 5 0101 1 0001 6 0110 2 0010 7 0111 3 0011 8 1000 4 0100 9 1001
  • 25. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall ASCII  ASCII stands for American Standard Code for Information Interchange. Computers can only understand numbers, so an ASCII code is the numerical representation of a character such as 'a' or '@' or an action of some sort. 25
  • 26. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Bits as Codes • Codes represent each letter, digit, and special character • ASCII: Most widely used • Each character is a unique 8-bit code • 256 unique codes for 26 letters, 10 digits, special characters • Unicode: Supports more than 100,000 unique characters 26
  • 27. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall  ASCII character set was originally designed to include only English-language characters from 0 to 127  Unicode’s international standard character set allows for more than 100,000 distinct codes to include Chinese, Korean, Japanese, and Arabic characters 27 The World’s Languages
  • 28. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall ASCII Table 28
  • 29. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Bits, Bytes, and Buzzwords Byte = 8 bits or one character in ASCII • Kilobyte (KB, K) • Megabyte (meg, MB) • Gigabyte (gig, GB) • Terabyte (TB) • Petabyte (PB) ≈ 1,000 bytes ≈ 1,000 KB or 1 million bytes ≈ 1,000 MB or 1 billion bytes ≈ 1 million MB or 1 trillion bytes ≈ 1 quadrillion bytes 29
  • 30. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Units of Memory 1 bit = 1 on or off switch(s) 1 byte = 8 bits 1 Kilobyte (k) = 1,024 bytes 1 Megabyte (M) = 1,024 Kilobytes (or 1,048,576 bytes) 1 Gigabyte = 1,024 Megabytes or 1,048,576 K or 1,073,741,825 bytes 30
  • 31. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Units of Memory  Data in memory is stored as binary digits (BITS) e.g. 011100101010  1 byte usually stores 1 text character.  A = 01000001 (Binary)  We measure the size of memory by telling how many bytes it can hold. • 1 kilobyte = 210 bytes = 1024 bits • 1 megabyte = 220 bytes = ~1 million bytes • 1 gigabyte = 230 bytes = ~1 billion bytes • 1 terabyte = 240 bytes = ~1 trillion bytes  One megabyte can hold approximately 500 pages of text information. 31
  • 32. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall The Computer’s Core: CPU and Memory  A digital computer is a collection of on/off switches designed to transform information from one form to another.  The user provides the computer with patterns of bits—input—and the computer follows instructions to transform that input into a different pattern of bits—output—to return to the user. 32
  • 33. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall The CPU: The Real Computer  CPU often called “processor”  Performs transformations of input into output  Interprets and executes instructions in programs  Performs arithmetic and logical data manipulations 33  Communicates with other parts of the computer system indirectly through memory
  • 34. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Central Processing Unit (CPU)  CPU acts as the computer’s brain. It carries out program commands by performing calculations and communicating with various components of the computer.  CPU is made of three parts: Control Unit, Memory Register(MAR and MDR, address and data), Arithmetic Logic Unit (ALU).  Data coming into the CPU by an input device, first enters the memory register to wait for processing. Once data is in the memory register, the control unit sends the data to the ALU which performs all the mathematical operations. The control unit takes the results of the ALU and sends it back through the memory register to an output device. 34
  • 35. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall The CPU: The Real Computer (cont.)  Modern Microprocessor • Complex collection of electronic circuits • CPU housed with other chips on circuit board • Circuit board containing computer’s CPU is called motherboard 35
  • 36. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall The CPU: The Real Computer (cont.)  Choosing a Computer • Type of CPU is important part of decision • Two important factors to consider: • Compatibility • Performance 36
  • 37. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Compatibility  Not all software is compatible with every CPU.  Every processor has built-in set of instructions.  CPUs in same family are generally backward compatible. • Designed to process instructions handled by earlier models  AMD processors made to be compatible with Intel.  Programs written for Linux can’t run on Windows. 37
  • 38. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Performance  Some processors faster than others  Performance is determined by: • Speed of internal clock—measured in gigahertz (GHz) • Architecture of processor is described by the Number of bits processor that can process at one time • Typically 32 or 64 bits—called word size  Heat generated increases with clock speed 38
  • 39. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Internal Vs External  The internal clock represents how quickly the processor can manipulate the data it already has.  The external clock specifies how quickly it can read the information it needs to manipulate or how quickly it can output the manipulated data. the external clock determines how quickly the processor can communicate with the system's memory  External clocks are frequently significantly slower than internal clocks (3GHZ internal is about hundreds of MHZ). 39
  • 40. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Performance (cont.)  Multicore Processors • Single chip contains multiple CPUs (cores) • Run simultaneously • Divide work • Most new PCs have at least two cores. • Quad core becoming common 40
  • 41. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Performance (cont.)  Special Purpose Processors • Supplement basic CPU • Typical CPU contains graphics-processing unit (GPU) which handles: • 3-D graphics rendering • Other visual calculations • Freeze main CPU to work on other tasks 41
  • 42. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall From Multicore to Cluster  Performance enhancing techniques aren’t confined to the insides of CPU chips.  Instead of adding more cores, a large system might simply add more machines to a network.  Parallel processing has been used in high-end servers and workstations for some time.  Threaded processing in multicore CPUs is like a microscopic version of parallel processing used in some of the world’s biggest computing networks. 42
  • 43. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall  Typical CPU is divided into several functional units: • Control unit • Arithmetic logic unit (ALU) includes registers(32 and 64bits) • Decode unit (takes the instruction read by the prefetcher and translates it into a suitable form for the CPU internal processing) • Bus unit (communication between memory and CPU) • Prefetch unit (instructs the bus unit to read the instruction stored at a particular memory address)  These units work together to complete the execution of program instructions. 43 The CPU
  • 44. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall The CPU (cont.) 44
  • 45. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Green Computing  When compared to other industries the computer industry is relatively easy on the environment.  The manufacture and use of computer hardware and software does have a significant environmental impact.  You have some control over the environmental impact of your computing activities. 45
  • 46. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Green Computing (cont.) • Buy green equipment • Use a laptop • Take advantage of energy saving features • Turn off your computer when you are away • Save energy, not screen saver 46 • Print only once • recycle your waste products • Pass it on, donate to schools • Send bits not atoms(train vs email) • Consider hidden environmental costs
  • 47. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Chapter 2 Summary  A computer manipulates patterns of bits represented by two symbols: 0 and 1.  Bits can be grouped into coded messages that represent alphabetic characters, pictures, colors, sounds, and other kinds of information.  The microprocessor follows software instructions to perform calculations and logical manipulations that transform input data into output. 47
  • 48. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Summary (cont.)  Not all CPUs are compatible with each other.  Modern CPUs employ multicore or many core processing systems that speed calculations.  The CPU uses RAM (random access memory) as a temporary storage area.  ROM (read-only memory) contains unchangeable information. 48
  • 49. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall Summary (cont.)  The CPU and main memory are housed in silicon chips on the motherboard and other circuit boards inside the computer.  Buses connect to slots and ports that enable the computer to communicate with internal devices and external peripherals. 49
  • 50. Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the publisher. Printed in the United States of America. 50