Technology in Action Alan Evans Kendall Martin Mary Anne Poatsy Eleventh Edition Copyright © 2015 Pearson Education, Inc.

Slides:



Advertisements
Similar presentations
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
Advertisements

Chapter 4 The Central Processing Unit
The Central Processing Unit: What Goes on Inside the Computer.
The Central Processing Unit: What Goes on Inside the Computer.
CENTRAL PROCESSING UNIT
SECTION 4a Transforming Data into Information.
Chapter 2 System Unit Components Discovering Computers 2012: Chapter
What’s on the Motherboard? The two main parts of the CPU are the control unit and the arithmetic logic unit. The control unit retrieves instructions from.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Chapter 4  Converts data into information  Control center  Set of electronic circuitry that executes stored program instructions  Two parts ◦ Control.
By: Clara Miles and Jarrick Lumma.  The motherboard is the main circuit board of the system unit. It can also be called a system board.  It contains.
Technology in Action Alan Evans Kendall Martin Mary Anne Poatsy Tenth Edition Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.
COMPONENTS OF THE SYSTEM UNIT
Data Representation in Computers
Copyright Jim Martin Computers Inside and Out Dr Jim Martin
Topics Introduction Hardware and Software How Computers Store Data
Chapter 4 The System Unit: Processing and Memory Prepared by : Mrs. Sara salih.
1 More on Computer Components Computer switches Binary number system Inside the CPU Cache memory Types of RAM Computer buses Creating faster CPUs NEXT.
Computer Processing of Data
© 2009 Prentice-Hall, Inc Technology in Action Chapter 9 Behind the Scenes: A Closer Look at System Hardware.
Computers Are Your Future Tenth Edition Chapter 6: Inside the System Unit Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall1.
Practical PC, 7th Edition Chapter 17: Looking Under the Hood
Technology in Focus: Under the Hood
General Computer Science for Engineers CISC 106 Lecture 02 Dr. John Cavazos Computer and Information Sciences 09/03/2010.
Technology in Action Alan Evans Kendall Martin Mary Anne Poatsy Ninth Edition Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall.
Chapter 2 Looking at Computers: Understanding the Parts
Module 5 Central Processing Unit 1. Binary representation of data 2. The components of the CPU 3. CPU and Instruction set 4. Important features of CPUs.
Your Interactive Guide to the Digital World Discovering Computers 2012 Edited by : Noor Alhareqi.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
The Central Processing Unit: What Goes on Inside the Computer
1Copyright © Prentice Hall 2000 The Central Processing Unit Chapter 3 What Goes on Inside the Computer.
Technology in Action Alan Evans Kendall Martin Mary Anne Poatsy Twelfth Edition Copyright © 2016 Pearson Education, Inc.0.
Discovering Computers Fundamentals, Third Edition CGS 1000 Introduction to Computers and Technology Spring 2007.
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
CHAPTER 4 The Central Processing Unit. Chapter Overview Microprocessors Replacing and Upgrading a CPU.
Chapter 17 Looking “Under the Hood”. 2Practical PC 5 th Edition Chapter 17 Getting Started In this Chapter, you will learn: − How does a computer work.
CSCI-100 Introduction to Computing Hardware Part I.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 5A Transforming Data Into Information.
The Computer System.
Succeeding with Technology Chapter 2 Hardware Designed to Meet the Need The Digital Revolution Integrated Circuits and Processing Storage Input, Output,
NEXT SLIDE © 2006 Prentice-Hall, Inc. 1 Technology In Action.
Chapter 2 Turning Data into Something You Can Use
The System Unit What is the system unit? p Fig. 4-1 Next  Case that contains electronic components of the computer used to process data  Sometimes.
Your Interactive Guide to the Digital World Discovering Computers 2012.
CS 1410 Intro to Computer Tecnology Computer Hardware1.
Computers Are Your Future Tenth Edition Inside the System Unit 1.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
Information Technology INT1001 Lecture 2 1. Computers Are Your Future Tenth Edition Chapter 6: Inside the System Unit Copyright © 2009 Pearson Education,
Lecture # 10 Processors Microcomputer Processors.
TECHNOLOGY IN ACTION. Technology in Focus Under the Hood.
Computers Are Your Future Tenth Edition
Objectives Overview Differentiate among various styles of system units on desktop computers, notebook computers, and mobile devices Identify chips, adapter.
Transforming Data Into Information
The Central Processing Unit
Chapter 2 – Computer hardware
Edited by : Noor Alhareqi
Components of Computer
Week 3 The Components of the System Unit
CPU Processing, Cache Memory, Busses, & RAM
Edited by : Noor Alhareqi
Edited by : Noor Alhareqi
McGraw-Hill Technology Education
Computers Inside and Out
Edited by : Noor Alhareqi
McGraw-Hill Technology Education
McGraw-Hill Technology Education
Computer Science. The CPU The CPU is made up of 3 main parts : Cache ALU Control Unit.
Presentation transcript:

Technology in Action Alan Evans Kendall Martin Mary Anne Poatsy Eleventh Edition Copyright © 2015 Pearson Education, Inc.

Technology in Action Technology in Focus: Under the Hood Copyright © 2015 Pearson Education, Inc.

Switches Computer system –Viewed as enormous collection of on/off switches –Combined in different ways to perform addition, subtraction, and move data around Copyright © 2015 Pearson Education, Inc. 2

Switches Electrical Switches Computers only understand two states –Binary language consists of two numbers: 1 or 0 –Electrical switches can be switched between 1 and 0 signifying “On” and “Off” Lock Copyright © 2015 Pearson Education, Inc. 3 –Computers contain a huge collection of electrical switches

Switches Vacuum Tubes Earliest generation of computers used vacuum tubes as switches Allow or block flow of electrical current Take up a large amount of space Produce heat and burn out frequently Copyright © 2015 Pearson Education, Inc. 4

Switches Transistors Transistors are electrical switches built of layers of material called semiconductors Semiconductors can be controlled to conduct or insulate Silicon is used to make transistors Smaller and faster than vacuum tubes Produce less heat, can be switched quickly, and are less expensive Copyright © 2015 Pearson Education, Inc. 5

Switches Transistors This silicon wafer has the transistor circuitry for hundreds of devices etched on it Copyright © 2015 Pearson Education, Inc. 6

Switches Integrated Circuits Support huge number of transistors No more than ¼ inch in size Billions of transistors can fit on an integrated circuit CPUs are microprocessor chips Copyright © 2015 Pearson Education, Inc. 7 Tiny regions of semiconductor material

Number Systems The Base 10 Number System ,000s place s place s place s place 6 * 1, * * * 1 Number system is organized plan for representing a number Base 10 uses 10 digits (0–9) To represent a number, break it down into groups of ones, tens, hundreds, etc. 6,954 in base 10 breaks down as: Copyright © 2015 Pearson Education, Inc. 8

Number Systems The Base 2 (or Binary) Number System Base 2 or binary uses two digits (0 and 1) Describes value as sum of powers of 2: 1, 2, 4, 8, 16, 32, 64, and so on In base 2, the number 11 would be shown as follows: 2 3 8s place 2 2 4s place 2 1 2s place 2 0 1s place 1011 Copyright © 2015 Pearson Education, Inc. 9

Number Systems Representing Integers Base-10 system –Whole number represented as sum of powers of 10 Binary system – Whole number is represented as sum of powers of 2 Windows 8 –Scientific Calculator supports conversion between decimal and binary Copyright © 2015 Pearson Education, Inc. 10

Number Systems Hexadecimal Notation Hexadecimal notation used to avoid working with long strings of 1s and 0s Base 16 uses 16 digits (0–9 and A–F) –A equals 10, B equals 11, etc. Easier for computer scientists to use 43 than Copyright © 2015 Pearson Education, Inc. 11

Number Systems Representing Characters: ASCII American Standard Code for Information Interchange (ASCII) represents each letter or character as 8-bit binary code –Each binary digit is a bit –8 binary digits (or bits) create one byte Copyright © 2015 Pearson Education, Inc. 12

Number Systems Representing Characters: Unicode ASCII can use only 256 codes Unicode uses 16 bits and can represent nearly 1,115,000 code points Currently assigns more than 96,000 unique character symbols Copyright © 2015 Pearson Education, Inc. 13

Number Systems Representing Characters: Unicode First 128 characters of Unicode are identical to ASCII Unicode can represent alphabets of all modern and historic languages Will probably replace ASCII as standard Copyright © 2015 Pearson Education, Inc. 14

Number Systems Representing Decimal Numbers IEEE established floating-point standard –Describes how numbers with fractional parts should be represented in binary –Uses a 32-bit system –First digit indicates whether number is positive or negative –Next 8 bits store magnitude (hundreds, millions, etc.) –Remaining 23 bits store value of number Copyright © 2015 Pearson Education, Inc. 15

Number Systems Interpretation Positive and negative integers stored using signed integer notation Decimal numbers stored according to IEEE floating-point standard Letters and symbols stored according to ASCII code or Unicode Copyright © 2015 Pearson Education, Inc. 16

How the CPU Works Machine cycle refers to series of general steps CPU performs –Fetch –Decode –Execute –Store Copyright © 2015 Pearson Education, Inc. 17

How the CPU Works The Control Unit Manages switches inside CPU Remembers: –Sequence of processing stages –How switches are set for each stage With each beat of system clock, control unit moves each switch to correct on/off setting and performs work of that stage Copyright © 2015 Pearson Education, Inc. 18

How the CPU Works The System Clock Moves CPU from one stage of machine cycle to the next Acts as a metronome, keeping a steady beat or tick –Ticks, known as the clock cycle, set the pace –Pace, known as clock speed, is measured in hertz (Hz) Today’s speed is measured in gigahertz (GHz), 1 billion clock ticks per second Copyright © 2015 Pearson Education, Inc. 19

How the CPU Works Stage 1: The Fetch Stage Data and program instructions are stored in various areas of computer system Program or data is moved to RAM from hard drive As instructions are needed, they are moved from RAM into registers –Storage areas located on CPU Copyright © 2015 Pearson Education, Inc. 20

Stage 1: The Fetch Stage Copyright © 2015 Pearson Education, Inc. 21 Cache memory - small blocks of memory located directly on and next to CPU chip – Stores recent or frequently used instructions – Faster access than RAM

Stage 1: The Fetch Stage Level 1 cache –Searched if next instruction is not in CPU register –Built onto CPU –Stores commands that have been used Copyright © 2015 Pearson Education, Inc. 22

Stage 1: The Fetch Stage Level 2 cache –Searched if instruction is not in Level 1 –Located on CPU or chip next to CPU –Takes longer to access –Contains more storage than Level 1 Copyright © 2015 Pearson Education, Inc. 23

Stage 1: The Fetch Stage Level 3 cache –Checks only if instruction is not in Level 1 or Level 2 –Checked before making longer trip to RAM –Holds between 2 and 12 megabytes of data –Can hold entire programs Copyright © 2015 Pearson Education, Inc. 24

How the CPU Works Stage 2: The Decode Stage CPU’s control unit decodes program’s instructions into commands Instruction set –Collection of commands CPU can execute –Written in assembly language –Assembly language translated into binary code Machine language – long strings of binary code Copyright © 2015 Pearson Education, Inc. 25

How the CPU Works Stage 3: The Execute Stage Arithmetic logic unit (ALU) –Mathematical operations Addition Subtraction Multiplication Division –Test comparisons of values (, =) –Logical OR, AND, and NOT operations –Word size is number of bits worked with at a time Copyright © 2015 Pearson Education, Inc. 26

How the CPU Works Stage 4: The Store Stage Results produced by ALU are stored in registers Instruction explains which register to use When entire instruction is completed, next instruction will be fetched The fetch–decode–execute–store cycle begins again Copyright © 2015 Pearson Education, Inc. 27

Making CPUs Even Faster Building a faster CPU is not easy Must consider time to design, manufacture, and test processor For release in 36 months, a CPU must perform at least twice as fast as currently available Copyright © 2015 Pearson Education, Inc. 28

Making CPUs Even Faster Manufacturers can increase CPU performance –Pipelining –Specialized, faster instructions for multimedia and graphics –Multiple independent processing paths inside the CPU Copyright © 2015 Pearson Education, Inc. 29

Making CPUs Even Faster Pipelining CPU works on more than one stage or instruction at a time Boosts CPU performance System clock indicates when instructions move to next process Can potentially run four times faster 30 Copyright © 2015 Pearson Education, Inc.

Making CPUs Even Faster Pipelining 31 Copyright © 2015 Pearson Education, Inc.

Making CPUs Even Faster Specialized Multimedia Instructions New processors incorporate multimedia instructions into basic instruction set Multimedia-specific instructions work to accelerate video and audio processing New instructions work to allow CPU to deliver faster data protection Copyright © 2015 Pearson Education, Inc. 32

Making CPUs Even Faster Multiple Processing Efforts Many high-end server systems use large number of processors Multicore processing –Quad-core processors have four separate parallel processing paths –Six- and eight-core processors are available Parallel processing uses multiple computers to work on portion of same problem simultaneously 33 Copyright © 2015 Pearson Education, Inc.

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. Copyright © 2015 Pearson Education, Inc.