/17 Binary Code & CPUs Digital Signals

Slides:



Advertisements
Similar presentations
The Central Processing Unit: What Goes on Inside the Computer.
Advertisements

The Central Processing Unit: What Goes on Inside the Computer.
 2002 Prentice Hall Hardware Basics: Inside The Box Chapter 2.
Basic Computer Hardware and Software.
SECTION 4a Transforming Data into Information.
Computer Hardware.
Computer Architecture. Central Processing Unit (CPU)- micro processor The Personal Computer.
 The central processing unit (CPU) interprets and executes instructions.  The “brains” of the computer.  The speed of the processor is how fast it.
Processing Data.
Hardware Basics: Inside the Box 2  2001 Prentice Hall2.2 Chapter Outline “There is no invention – only discovery.” Thomas J. Watson, Sr. What Computers.
Chapter 2 Processing Data Peter Norton’s Introduction to Computers
Computers Chapter 4 Inside the Computer © 2005 Prentice-Hall, Inc.Slide 2.
66 CHAPTER THE SYSTEM UNIT. © 2005 The McGraw-Hill Companies, Inc. All Rights Reserved. 6-2 Competencies Describe the four basic types of system units.
Chapter 4 The Central Processing Unit: What goes on Inside the Computer.
Computer Systems CS208. Major Components of a Computer System Processor (CPU) Runs program instructions Main Memory Storage for running programs and current.
Introduction to Computer Terminology
M206 – Data Measurement. Introduction ‘Have you ever wondered how the computer interprets data?’ This is the language that the computer understands. This.
Chapter 4  Converts data into information  Control center  Set of electronic circuitry that executes stored program instructions  Two parts ◦ Control.
V Material obtained from summer workshop in Guildford County.
/4 Binary Code & CPUs Digital Signals
66 CHAPTER THE SYSTEM UNIT. © 2005 The McGraw-Hill Companies, Inc. All Rights Reserved. 6-2 Competencies Describe the four basic types of system units.
Computers: Information Technology in Perspective By Long and Long Copyright 2002 Prentice Hall, Inc. Computers: Information Technology in Perspective.
2/6: CPUs & Memory CPUs –Parts of a sample CPU –Types of CPUs available ROM RAM –different kinds & uses inc. VRAM, SRAM image courtesy of How Computers.
1 More on Computer Components Computer switches Binary number system Inside the CPU Cache memory Types of RAM Computer buses Creating faster CPUs NEXT.
Georgia Institute of Technology Introduction to Programming Part 2 Barb Ericson Georgia Institute of Technology May 2006.
E0001 Computers in Engineering1 The System Unit & Memory.
XP Practical PC, 3e Chapter 16 1 Looking “Under the Hood”
The Computer Systems By : Prabir Nandi Computer Instructor KV Lumding.
GRAP 3175 Computer Applications for Drafting Unit II Computer Hardware.
CPU (CENTRAL PROCESSING UNIT): processor chip (computer’s brain) found on the motherboard.
1 Inside the Computer Chapter 6 Copyright Prentice-Hall, Inc
Chapter Two Hardware Basics: Inside the Box. ©1999 Addison Wesley Longman2.2 Chapter Outline What Computers Do A Bit About Bits The Computer’s Core: CPU.
MAC OS – Unit A Page: 10-11, Investigating Data Processing Understanding Memory.
Lesson 2 — How Does A Computer Process Data?
Hardware & Software The CPU & Memory.
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.
McGraw-Hill Technology Education © 2006 by the McGraw-Hill Companies, Inc. All rights reserved. 66 CHAPTER THE SYSTEM UNIT.
Copyright Prentice-Hall, Inc Chapter 2.
The Central Processing Unit: What Goes on Inside the Computer
Computer Systems TexPREP Summer Camp Computer Science.
COMPUTER MAINTENANCE REPAIR & TROUBLESHOOTING Powered by DeSiaMore1.
Inside your computer. Hardware Review Motherboard Processor / CPU Bus Bios chip Memory Hard drive Video Card Sound Card Monitor/printer Ports.
Computer Confluence 7/e © 2006 Prentice-Hall, Inc.
Computers © 2005 Prentice-Hall, Inc.Slide 1. Computers Chapter 4 Inside the Computer © 2005 Prentice-Hall, Inc.Slide 2.
Computer Systems. This Module Components Home PC Inputs Processor Memory Motherboards Auxiliary Storage Outputs.
FIRST COURSE Essential Computer Concepts. XP New Perspectives on Microsoft Office 2007: Windows XP Edition2 What Is a Computer? A computer is an electronic.
Computer Science Binary. Binary Code Remember the power supply that is inside your computer and how it sends electricity to all of the components? That.
CSCI-100 Introduction to Computing Hardware Part I.
Chapter 2 Turning Data into Something You Can Use
Unit C-Hardware & Software1 GNVQ Foundation Unit C Bits & Bytes.
Chapter Two Hardware Basics: Inside the Box ©1999 Addison Wesley Longman2.2 Chapter Outline What Computers Do A Bit About Bits The Computer’s Core: CPU.
ASCII AND EBCDIC CODES By : madam aisha.
Basic Computer Hardware and Software. Guilford County SciVis V
Memory The term memory is referred to computer’s main memory, or RAM (Random Access Memory). RAM is the location where data and programs are stored (temporarily),
COMPUTER SYSTEM A computer system is define as combination of components designed to process data and store files. A computer system consists of four.
Basic Computer Hardware and Software.
Computer Hardware. 7/23/2016M. Eyadat2 Objectives –Explain why most computers are digital –Describe the role of the ALU –List factors that affect performance.
Information Technology (IT). Information Technology – technology used to create, store, exchange, and use information in its various forms (business data,
Basic Computer Hardware and Software.
TexPREP Summer Camp Computer Science
BUSINESS PLUG-IN B3 HARDWARE AND SOFTWARE BASICS
Computers © 2005 Prentice-Hall, Inc. Slide 1.
Computer Hardware Introduction.
Basic Computer Hardware and Software.
Computers Are Your Future
Computers: Tools for an Information Age
Chapter 2 Processing Data Peter Norton’s  Introduction to Computers Data Useful output.
Information Technology Department
Technology 3 Bits & Bytes.
Computers: Tools for an Information Age
Presentation transcript:

0110101001101101 10010110 9/17 Binary Code & CPUs Digital Signals digital versus analog, examples Binary Numbers Transistors: introduction Binary Code bits & bytes types: ASCII, UNICODE, EBCDIC CPUs Parts of a sample CPU Types of CPUs available 0110101001101101 10010110

Digital Signals: why they are discussed. Virtually everything in a computer runs in a digital system: data storage, communication, output on the screen, … Everything is in its lowest form either ON or OFF, UP or DOWN, YES or NO. Bits & bytes are combinations of digital signals and codes.

Digital Signals: what are they? Digital signals have two settings: ON or OFF. Examples: smoke signals, Morse code, fluorescent lights, pass or fail Anything that can be compared to ON or OFF can be a digital signal: Magnets: north or south Voltage: high or low Light: light or dark Gates: open or shut

Digital Signals versus Analog Signals Digital signals have two settings: ON or OFF. Analog signals have ranges of settings: dimmer switches, human voices, ocean waves Sound: Digital versus analog. Analog is a wave: continuous, gradual Digital is a step: non-continuous, ON/OFF Analog signal Digital signal

Binary Numbers A digital system Can represent any decimal number with only two characters: 0 & 1 Why not use decimal numbers? Computers use digital systems (on or off) Decimal Binary 0 0 1 1 2 10 3 11 4 100 5 101 6 110 7 111 8 1000 9 1001 10 1010 11 1011 12 1100

Transistors: tiny ON/OFF switches Tiny electrical gates with two paths: 1. Control path (gatekeeper) 2. Signal path (goes through gate) Only two possible states: gate is OPEN or gate is CLOSED. Transistors are what make up computer chips. AMD Athlon chip has 22 million transistors. Image courtesy of AMD

Binary Code: Bits & Bytes Bit: a single element of code. 0 or 1. Contraction of “Binary digit” Byte: a collection of 8 bits. 00000000. Possible number of different bytes: 256 00000000 00000001 00000010 00000011 00000100 00000101 00000110 00000111 00001000 00001001 00001010 00001011 00001100 00001101 00001110 00001111 00010000 00010001 00010010 00010011 00010100 00010101 00010110 00010111 00011000 00011001 00011010 00011011 00011100 00011101 00011110 00011111 etc.

Binary Code: Bits & Bytes Each byte represents 1 character or command. A simple text file ( log.txt ) can be only a few hundred bytes. A spreadsheet ( book1.xls ) can be millions. kilobyte: KB 2 to the 10th (1,024) bytes. megabyte: MB 2 to the 20th (1,048,576) gigabyte: GB 2 to the 30th (1,073,741,824) terabyte: TB 2 to the 40th (1,099,511,627,766)

When is a kilobyte NOT a kilobyte? Common usage (not exactly correct, but close) kilobyte: KB 1,000 bytes megabyte: MB 1,000,000 bytes gigabyte: GB 1,000,000,000 bytes terabyte: TB 1,000,000,000,000 bytes

Why we don’t type in binary digits. Codes (lookup tables) in the computer. Each character corresponds to a byte. As we type, the keystrokes are translated into bytes by the computer. The computer reverse-translates to show the characters on the monitor. Common code sets: ASCII, UNICODE, EBCDIC

Code Types. ASCII “As-key” American Standard Code for Information Interchange. 1st half of the slots in the table are for “standard” ASCII characters. The second half contains the “extended” ASCII character set. UNICODE uses 2 bytes/char rather than 1. Supports many more characters (34,168). Esp. used for non-English languages EBCDIC “eb-see-dik” Extended Binary Coded Decimal Interchange Code. Mainly used on mainframe computers

The CPU CPU terms CPU brands & models capacity, -bit clock speed, MHz CISC, RISC CPU brands & models image courtesy of AMD.com

CPU: Central Processing Unit The Microprocessor or CPU (Central Processing Unit) is the “brains” of the computer. All other components (RAM, monitor, disk drive) act like bridges to link you & the processor.                                                image courtesy of AMD.com

Coprocessors Coprocessors are also in PC’s. They handle functions like graphics, 3-D acceleration, and sound cards. Help reduce the load on the main processor. image courtesy of How Computers Work

Data Capacity refers to the amount of data that the processor can process at one time. If a number is bigger than what the processor can handle, it breaks it down into manageable parts, processes it, and puts it back together. 8 bit processor: handles numbers up to 8 bits long (2 to the 8th power: 256) 16 bit processors handle numbers up to 2 to the 16th power or 65,536) 32, 64 bit processing (etc.)

Clock Speed Timer that everything in the processor uses as a pacesetter. Measured in MegaHertz (millions of cycles per second) Same model of processors can have their clock speeds compared. Different models of processors cannot be compared so easily. image from http://web.scps.k12.fl.us/site/agenda/default.htm

! Instruction Sets A chip’s vocabulary. Types of instructions that a chip can perform. Bigger does not necessarily equal better in instruction sets. CISC: Complex instruction set chips use complex instructions to process instructions. RISC: Reduced instruction set chips break down instructions before processing with a simpler instruction set.

Types of chips: Intel Intel Pentium 4 – specs Up to 2.20 GHz Rapid execution engine Intel Pentium III - specs up to 1.33 GHz 70 new instructions for 3D, voice recognition, etc. integrated 256 KB L2 cache Intel Celeron - specs economy chip up to 1.30 MHz integrated 128 KB L2 cache                                images courtesy of TigerDirect.com, Intel

Types of chips: AMD AMD Athlon XP - specs AMD Athlon - specs Designed for Windows XP, (works w/ other OS’s) Up to 1.67 GHz (but runs faster than Pentium 4 2.0 GHz) integrated 256 KB L2 cache 266 MHz system bus AMD Athlon - specs up to 1.4 GHz AMD Duron – specs economical up to 1.3 GHz 128 KB L1 cache, 64 KB L2 cache images courtesy of AMD

Types of Chips: Other Brands Cyrix MII Motorola PowerPC Apple Sun Digital others available images courtesy of Sun