Technology in Action. Early Computer Switches. Electrical Switches. Transistors. Integrated Circuits 5/24/2010. Technology in Focus: Under the Hood

Similar documents
Unit A451: Computer systems and programming. Section 2: Computing Hardware 1/5: Central Processing Unit

Management Challenge. Managing Hardware Assets. Central Processing Unit. What is a Computer System?

The Central Processing Unit:

Logical Operations. Control Unit. Contents. Arithmetic Operations. Objectives. The Central Processing Unit: Arithmetic / Logic Unit.

Chapter 6. Inside the System Unit. What You Will Learn... Computers Are Your Future. What You Will Learn... Describing Hardware Performance

Chapter 4 System Unit Components. Discovering Computers Your Interactive Guide to the Digital World

what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored?

Discovering Computers Living in a Digital World

CHAPTER 2: HARDWARE BASICS: INSIDE THE BOX

CPU Organization and Assembly Language

CSCI 4717 Computer Architecture. Function. Data Storage. Data Processing. Data movement to a peripheral. Data Movement

Computer System: User s View. Computer System Components: High Level View. Input. Output. Computer. Computer System: Motherboard Level

Chapter 4: Computer Codes

Chapter 2 Logic Gates and Introduction to Computer Architecture

MICROPROCESSOR AND MICROCOMPUTER BASICS

Number Representation

Microprocessor or Microcontroller?

Memory Systems. Static Random Access Memory (SRAM) Cell

Parts of a Computer. Preparation. Objectives. Standards. Materials Micron Technology Foundation, Inc. All Rights Reserved

Programming Logic controllers

2011, The McGraw-Hill Companies, Inc. Chapter 3

MICROPROCESSOR. Exclusive for IACE Students iacehyd.blogspot.in Ph: /422 Page 1

Computer Systems Structure Main Memory Organization

Introduction to Computer Architecture Concepts

Introduction to Microprocessors

Hardware: Input, Processing, and Output Devices. A PC in Every Home. Assembling a Computer System

Central Processing Unit (CPU)

Basic Concepts of Information Technology (IT)

Computers. Hardware. The Central Processing Unit (CPU) CMPT 125: Lecture 1: Understanding the Computer

Introducción. Diseño de sistemas digitales.1

Binary Numbers. Binary Octal Hexadecimal

Section 1.4 Place Value Systems of Numeration in Other Bases

Machine Architecture and Number Systems. Major Computer Components. Schematic Diagram of a Computer. The CPU. The Bus. Main Memory.

Digital Electronics Detailed Outline

Definition of Computers. INTRODUCTION to COMPUTERS. Historical Development ENIAC

STUDY GUIDE CHAPTER 1

Today s topics. Digital Computers. More on binary. Binary Digits (Bits)

Computer Systems Design and Architecture by V. Heuring and H. Jordan

Chapter 5 Instructor's Manual

This lesson can be adapted to the grade level by the presenter. Decide the level of content and activities as appropriate.

Computer Performance. Topic 3. Contents. Prerequisite knowledge Before studying this topic you should be able to:

Introduction to Information System Layers and Hardware. Introduction to Information System Components Chapter 1 Part 1 of 4 CA M S Mehta, FCA

TYPES OF COMPUTERS AND THEIR PARTS MULTIPLE CHOICE QUESTIONS

Multiple Choice Questions(Computer)

İSTANBUL AYDIN UNIVERSITY

Acknowledgments. Thanks to the following web site and people for the materials and images used in this presentation:

Microprocessor & Assembly Language

Chapter 2 Basic Structure of Computers. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan

Base Conversion written by Cathy Saxton

Count the Dots Binary Numbers

Main Memory & Backing Store. Main memory backing storage devices

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

CSCA0102 IT & Business Applications. Foundation in Business Information Technology School of Engineering & Computing Sciences FTMS College Global

OC By Arsene Fansi T. POLIMI

Chap-02, Hardware and Software. Hardware Model

Lecture 3: Modern GPUs A Hardware Perspective Mohamed Zahran (aka Z) mzahran@cs.nyu.edu

COMPUTER SCIENCE AND ENGINEERING - Microprocessor Systems - Mitchell Aaron Thornton

Computer Science 281 Binary and Hexadecimal Review

Chapter 6: From Digital-to-Analog and Back Again

HOMEWORK # 2 SOLUTIO

CHAPTER 4 MARIE: An Introduction to a Simple Computer

Computer Organization. and Instruction Execution. August 22

Oct: 50 8 = 6 (r = 2) 6 8 = 0 (r = 6) Writing the remainders in reverse order we get: (50) 10 = (62) 8

Upon completion of unit 1.1, students will be able to

1. Convert the following base 10 numbers into 8-bit 2 s complement notation 0, -1, -12

CHAPTER 7: The CPU and Memory

(Refer Slide Time: 02:39)

Understanding Digital Components

Bachelors of Computer Application Programming Principle & Algorithm (BCA-S102T)

1 Classical Universal Computer 3

Solution for Homework 2

LSN 2 Number Systems. ECT 224 Digital Computer Fundamentals. Department of Engineering Technology

Lecture 2: Computer Hardware and Ports.

Memory is implemented as an array of electronic switches

LSN 2 Computer Processors

AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR

Today. Binary addition Representing negative numbers. Andrew H. Fagg: Embedded Real- Time Systems: Binary Arithmetic

Copyright 2012 Pearson Education, Inc. Chapter 1 INTRODUCTION TO COMPUTING AND ENGINEERING PROBLEM SOLVING

CS101 Lecture 26: Low Level Programming. John Magee 30 July 2013 Some material copyright Jones and Bartlett. Overview/Questions

Binary Representation. Number Systems. Base 10, Base 2, Base 16. Positional Notation. Conversion of Any Base to Decimal.

SECTION C [short essay] [Not to exceed 120 words, Answer any SIX questions. Each question carries FOUR marks] 6 x 4=24 marks

Interfacing To Alphanumeric Displays

Outline. hardware components programming environments. installing Python executing Python code. decimal and binary notations running Sage

1 PERSONAL COMPUTERS

Computer Architecture

Instruction Set Architecture (ISA)

Introduction to Computers and Programming

1 Computer hardware. Peripheral Bus device "B" Peripheral device. controller. Memory. Central Processing Unit (CPU)

DNA Data and Program Representation. Alexandre David

CHAPTER 3 Boolean Algebra and Digital Logic

Technical Support Bulletin Nr.18 Modbus Tips

EMBEDDED SYSTEM BASICS AND APPLICATION

NAND Flash FAQ. Eureka Technology. apn5_87. NAND Flash FAQ

Advanced Computer Architecture-CS501. Computer Systems Design and Architecture 2.1, 2.2, 3.2

MICROPROCESSOR BCA IV Sem MULTIPLE CHOICE QUESTIONS

CSCA0201 FUNDAMENTALS OF COMPUTING. Chapter 1 History of Computers

Block diagram of typical laptop/desktop

Chapter 8 Memory Units

Transcription:

Technology in Action Technology in Focus: Under the Hood 1 2 Electrical Switches The system unit contains the CPU The CPU uses a large number of switches Two states: 1 or 0 (on or off) Binary language consists of two numbers: 1 or 0 These switches are used to Lock process data Early Computer Switches Vacuum tubes Allow or block the flow of electrical current Take up a large amount of space Generate heat and burn out frequently Impractical due to size and reliability issues 3 4 Transistors Transistors Electrical switches built of layers of silicon Early transistors were built in separate units as small metal rods Each rod was a small on/off switch Smaller and faster than vacuum tubes Produced less heat Integrated Circuits Made of semiconductor material, silicon Contain huge number of transistors, resistors, capacitors, and diodes Small size, only ¼ inch in diameter 5 6 1

Microprocessors Chip that contains CPU Intel 4004 First complete microprocessor on a single integrated circuit Built in 1971 Contained 2,300 transistors Current CPUs contain more than 500 million transistors Base 10 Number System Organized plan for representing a number Base 10 or decimal notation Uses 10 digits (0 9) System used to represent all of the numeric values we use each day 10 3 1,000s place 10 2 100s place 10 1 10s place 10 0 1s place 6 * 1,000 + 9 * 100 + 5 * 10 + 4 * 1 (6,000 + 900 + 50 + 4) = 6,954 7 8 Base 2 Number System Hexadecimal Notation: Base 16 Base 2 or binary Uses two digits (1,0) Computers use binary because each switch can be in one of two positions: on or off. 2 3 8s place 2 2 4s place 2 1 2s place 2 0 1s place 1 0 1 1 (8 + 0 + 2 + 1) = 11 9 Base 16 (0 9, A F) Character representation Base 10 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Base 16 0 1 2 3 4 5 6 7 8 9 A B C D E F Hex 1A43 = 6,723 in Base 10 16 3 4,096s place 16 2 256s place 16 1 16s place 16 0 1s place 1 A 4 3 1 * 4,096 + 10 * 256 + 4 * 16 + 3 * 1 4,096 + 2,560 + 64 + 3 6,723 10 ASCII EBCDIC and Unicode American Standard Code for Information Interchange Pronounced As-key Represents each letter or character as an 8-bit (or 1-byte) binary code. ASCII Code Represents This Symbol ASCII Code Represents This Symbol 01000001 A 01100001 a 01000010 B 01100010 b 01000011 C 01100011 c 01011010 Z 00100011 # 00100001! 00100100 $ 00100010 00100101 % 11 EBCDIC Used by older mainframe computers Unicode Uses 16 bits (2 bytes) Multilanguage support Currently assigns more than 96,000 unique character symbols 12 2

Decimal Numbers Floating-point standard established by IEEE 32-bit (4-byte) system First bit (sign bit) indicates positive or negative Next 8 bits indicate magnitude (hundreds, millions, etc.) Remaining 23 bits store number CPU Machine Cycle All CPUs must perform a series of similar steps: Fetch Decode Execute Store 13 14 System Clock Control Unit 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) Manages switches inside the CPU Remembers Sequence of processing stages How switches are set for each stage Uses beat of system clock to move switch to correct on or off setting for each stage 15 16 Stage 1: The Fetch Stage Cache Memory Data and program instructions stored in various areas of the computer Data moved from storage to RAM CPU accesses RAM and moves data into registers Cache memory Stores recent or frequently used instructions Faster to access than RAM 17 18 3

Stage 2: The Decode Stage The CPU s control unit decodes a program s instructions into commands Instruction set The collection of commands a CPU can interpret Written in assembly language for programmers. Assembly language is translated into machine language for the CPU Stage 3: The Execute Stage Arithmetic logic unit (ALU) performs Mathematical operations Addition Subtraction Multiplication Division Test comparisons (<, >, =) Logical OR, AND, and NOT operations 19 20 Stage 4: The Store Stage Results produced by the ALU in Stage 3 are stored in the registers Moore s Law The number of transistors on a processor doubles every 18 months The first 8086 chip had 29,000 transistors and ran at 5 MHz Today s Penryn chip for notebook computers has 820 million transistors and runs at 2.6 GHz 21 22 Pipelining Boosts CPU performance CPU works on more than one stage or instruction at a time Multiple Processing Multiple processors or computers work on a problem simultaneously Dual- or multicore: Multiple processors in one computer Parallel processing: Multiple computers working on one problem Problem must be able to be divided into a set of independent tasks 23 24 4

DNA Computers Use DNA molecules and special enzymes instead of silicon chips 330 trillion operations per second 100,000 times faster than current silicon-based computers No practical applications yet 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 2011 Pearson Education, Inc. Publishing as Prentice Hall 25 Technology in Focus 26 5