Technology in Action Alan Evans Kendall Martin Mary Anne Poatsy Tenth Edition Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.

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
CENTRAL PROCESSING UNIT
SECTION 4a Transforming Data into Information.
GCSE Computing - The CPU
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.
COMPONENTS OF THE SYSTEM UNIT
Data Representation in Computers
Technology in Action Alan Evans Kendall Martin Mary Anne Poatsy Eleventh Edition Copyright © 2015 Pearson Education, Inc.
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.
Copyright © 2003 by Prentice Hall Module 5 Central Processing Unit 1. Binary representation of data 2. The components of the CPU 3. CPU and Instruction.
Chapter 4 The Components of the System Unit. Today The System Unit Motherboard CPU Control Unit ALU Machine Cycle System Clock Data Representation Memory.
Your Interactive Guide to the Digital World Discovering Computers 2012 Edited by : Noor Alhareqi.
Computer Systems Organization CS 1428 Foundations of Computer Science.
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.
CHAPTER 4 The Central Processing Unit. Chapter Overview Microprocessors Replacing and Upgrading a CPU.
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.
NEXT SLIDE © 2006 Prentice-Hall, Inc. 1 Technology In Action.
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: Tools for an Information Age
Computers Inside and Out
Edited by : Noor Alhareqi
McGraw-Hill Technology Education
McGraw-Hill Technology Education
Computers: Tools for an Information Age
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 Tenth Edition Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall

Technology in Action Technology in Focus: Under the Hood Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall

Switches Computer system –Can be viewed as an enormous collection of on/off switches –Are combined in different ways to perform addition, subtraction, and move data around Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall 2

Switches Electrical Switches Computers only understand two states of existence –Binary language consists of two numbers: 1 or 0 –Electrical switches are devices that can be switched between 1 and 0 signifying “On” and “Off” Lock Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall 3 –Computers are built from 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 © 2014 Pearson Education, Inc. Publishing as Prentice Hall 4

Switches Vacuum Tubes (cont.) Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall 5

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 Produced less heat, could be switched quickly, and were less expensive Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall 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 © 2014 Pearson Education, Inc. Publishing as Prentice Hall 7 Tiny regions of semiconductor material

Number Systems The Base-10 Number System ,000s place s place s place s place 6 * 1, * * * 1 (6,000) + (900) + (50) + (4) = 6,954 Number system is an organized plan for representing a number Base 10 uses 10 digits (0–9) To represent a number, you break it down into groups of ones, tens, hundreds, etc. Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall 8

Number Systems The Base-2 (or Binary) Number System Base 2 or binary uses two digits (0 or 1) Describes value as sum of powers of 2: 1, 2, 4, 8, 16, 32, 64, and so on 2 3 8s place 2 2 4s place 2 1 2s place 2 0 1s place 1011 (8) + (0) + (2) + (1) = 11 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall 9

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

Number Systems Hexadecimal Notation Hexadecimal notation is 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 © 2014 Pearson Education, Inc. Publishing as Prentice Hall 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 called a bit –8 binary digits (or bits) create one byte Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall 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 © 2014 Pearson Education, Inc. Publishing as Prentice Hall 13

Number Systems Representing Characters: Unicode (cont.) 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 © 2014 Pearson Education, Inc. Publishing as Prentice Hall 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 © 2014 Pearson Education, Inc. Publishing as Prentice Hall 15

Number Systems Interpretation Positive and negative integers can be stored using signed integer notation Decimal numbers are stored according to the IEEE floating-point standard Letters and symbols are stored according to the ASCII code or Unicode Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall 16

How the CPU Works Machine cycle refers to a series of general steps a CPU performs –Fetch –Decode –Execute –Store Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall 17

How the CPU Works The Control Unit Manages switches inside the 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 © 2014 Pearson Education, Inc. Publishing as Prentice Hall 18

How the CPU Works The System Clock Moves CPU from one stage of the 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 © 2014 Pearson Education, Inc. Publishing as Prentice Hall 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 © 2014 Pearson Education, Inc. Publishing as Prentice Hall 20

Stage 1: The Fetch Stage (cont.) Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall 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 (cont.) Cache Memory (cont.) Level 1 –Searched if next instruction is not in CPU register –Built onto the CPU –Stores commands that have just been used Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall 22

Stage 1: The Fetch Stage (cont.) Cache Memory (cont.) Level 2 –Searched if instruction is not in Level 1 –Located on CPU or chip next to CPU Level 3 –Checks only if instruction is not in Level 1 or Level 2 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall 23

How the CPU Works Stage 2: The Decode Stage CPU’s control unit decodes a program’s instructions into commands Instruction set –The collection of commands a CPU can execute –Written in assembly language –Assembly language is translated into binary code Machine Language – long strings of binary code Copyright © Pearson Education, Inc. Publishing as Prentice Hall 24

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 © 2014 Pearson Education, Inc. Publishing as Prentice Hall 25

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

Making CPUs Even Faster Building a faster CPU is not easy Must consider time it will take to design, manufacture, and test the processor To create a CPU for release in 36 months, it must perform at least twice as fast as what is currently available Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall 27

Making CPUs Even Faster (cont.) Manufacturers can increase CPU performance in several ways –Pipelining –Specialized, faster instructions –Multiple independent processing paths inside the CPU Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall 28

Making CPUs Even Faster Pipelining CPU works on more than one stage or instruction at a time Boosts CPU performance 29 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall

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

Making CPUs Even Faster Multiple Processing Efforts Many high-end server systems use a 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 31 Copyright © 2014 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. Copyright © 2014 Pearson Education, Inc. Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall