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.

Slides:



Advertisements
Similar presentations
MUHAMMAD AHMED HUSSAIN
Advertisements

Computer Hardware.
Chapter 4 The Central Processing Unit
Calera High School Dawn Bone
What is Hardware? Hardware is the physical parts of the computer system – the parts that you can touch and see. A motherboard, a CPU, a keyboard and a.
 2002 Prentice Hall Hardware Basics: Inside The Box Chapter 2.
FIRST COURSE Essential Computer Concepts. New Perspectives on Microsoft Office 2007: Windows XP Edition 2 Objectives Compare the types of computers Describe.
SECTION 4a Transforming Data into Information.
Computer Hardware.
Computer Architecture. Central Processing Unit (CPU)- micro processor The Personal Computer.
©1999 Addison Wesley Longman2.1 A Bit About Bits A bit (binary digit) –is the smallest unit of information –can have two values - 1 and 0. Binary digits,
Introduction to Information Technology: Your Digital World © 2013 The McGraw-Hill Companies, Inc. All rights reserved.Using Information Technology, 10e©
Main Memory Lecture 2 CSCI 1405, CSCI 1301 Introduction to Computer Science Fall 2009.
Hardware Basics: Inside the Box 2  2001 Prentice Hall2.2 Chapter Outline “There is no invention – only discovery.” Thomas J. Watson, Sr. What Computers.
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.
Computer Systems CS208. Major Components of a Computer System Processor (CPU) Runs program instructions Main Memory Storage for running programs and current.
Computer Hardware Information Technology Week 5 and 6
MIS 175 Spring Learning Objectives When you finish this chapter, you will: –Recognize major components of an electronic computer. –Understand how.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
MOTHERBOARD holds the and connects directly or indirectly to every part of the PC. holds the processor, memory and expansion slots and connects directly.
Aug CMSC 104, LECT-021 Machine Architecture and Number Systems Some material in this presentation is borrowed form Adrian Ilie From The UNIVERSITY.
Lesson 3 — How a Computer Processes Data
Lecture 7 Computer Componets and Peripherials. ©1999 Addison Wesley Longman2.2 What Computers Do Four basic functions of computers include: –Receive input.
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 System Unit: Processing and Memory Prepared by : Mrs. Sara salih.
E0001 Computers in Engineering1 The System Unit & Memory.
Slide 1 Computer Confluence 7/e © 2006 Prentice-Hall, Inc.
The Computer Systems By : Prabir Nandi Computer Instructor KV Lumding.
Slide 1. Slide 2 Hardware Basics: Inside the Box © 2008 Prentice-Hall, Inc.
GRAP 3175 Computer Applications for Drafting Unit II Computer Hardware.
CPU (CENTRAL PROCESSING UNIT): processor chip (computer’s brain) found on the motherboard.
What is a Computer ? Computers are Electronic Machines that process (performs calculation and manipulation) Data under the control of Set of Instructions.
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.
Slide 1 Tomorrow’s Technology and You 8 th Edition © 2008 Prentice-Hall, Inc.
MAC OS – Unit A Page: 10-11, Investigating Data Processing Understanding Memory.
Computer Hardware Information Technology Week 5 and 6
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.
Computer Confluence 7/e © 2006 Prentice-Hall, Inc.
1 Hardware and Software b Hardware the physical, tangible parts of a computerthe physical, tangible parts of a computer keyboard, monitor, wires, chips,
BAT3O / BTX4C. Definition: A computer is an electronic machine that 1) takes in data and instructions (input) 2) works with the data (processing) 3) puts.
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
PARTS OF THE COMPUTER PREPARED BY: RENATO R. DE VERA II.
FIRST COURSE Essential Computer Concepts. XP New Perspectives on Microsoft Office 2007: Windows XP Edition2 What Is a Computer? A computer is an electronic.
CSCI-100 Introduction to Computing Hardware Part I.
The Computer System CS 103: Computers and Application Software.
The Computer System.
/17 Binary Code & CPUs Digital Signals
CS 125 Lecture 2 Martin van Bommel. Hardware vs Software Hardware - physical components you can see and touch –e.g. processor, keyboard, disk drive Software.
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.
 A computer is an electronic device that receives data (input), processes data, stores data, and produces a result (output).  It performs only three.
BY MANJU Lesson 21 Computer Hardware. System Components A computer system requires many components to do its job: Input: Device to input data so it can.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Information Technology INT1001 Lecture 2 1. Computers Are Your Future Tenth Edition Chapter 6: Inside the System Unit Copyright © 2009 Pearson Education,
IC 3 BASICS, Internet and Computing Core Certification Computing Fundamentals Lesson 2 How Does a Computer Process Data?
General Concepts of ICT. Be able to identify the main components of a general- purpose computer:  central processing unit (CPU)  main/internal memory.
Computers Inside & Out. How have computers affected your life? How has technology affected your life?
Computer Performance & Storage Devices Computer Technology.
Computer Hardware. 7/23/2016M. Eyadat2 Objectives –Explain why most computers are digital –Describe the role of the ALU –List factors that affect performance.
CHAPTER 2 PART 1 Paulina Treviño de Anda #29 pg. 6,7 Paula Michelle Valenti García #30 pg. 8,9 Gregorio Humberto Villarreal Quiroga #31 pg. 2,3 María Gabriela.
Chapter 2.
Discovering Computers 2011: Living in a Digital World Chapter 4
The Central Processing Unit
General Architecture of Digital Computer
Computer Hardware.
Computers: Tools for an Information Age
Computers: Tools for an Information Age
Presentation transcript:

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 and Memory

©1999 Addison Wesley Longman2.3 What Computers Do Four basic functions of computers include: –Receive input –Process information –Produce output –Store information

©1999 Addison Wesley Longman2.4 Input Devices Computers accept information from the outside world. The keyboard is the most common input device. Pointing devices like the mouse also receive input.

©1999 Addison Wesley Longman2.5 Process Information The processor, or central processing unit (CPU), processes information, and performs all the necessary arithmetic calculations. The CPU is like the “brain” of the computer.

©1999 Addison Wesley Longman2.6 Output Devices Computers produce information and send it to the outside world. A video monitor is a common output device. Printers also produce output.

©1999 Addison Wesley Longman2.7 Store Information Memory and storage devices are used to store information. Primary storage is the computer’s main memory. Secondary storage uses disks or other media. Primary storage Secondary storage

©1999 Addison Wesley Longman2.8 A Bit About Bits A bit (binary digit) –is the smallest unit of information –can have two values - 1 and 0. Binary digits, or bits, can represent numbers, codes, or instructions. OnOff

©1999 Addison Wesley Longman2.9 Bits as Numbers Binary number system - a system that denotes all numbers and combinations of two digits. The binary system uses two digits to represent the numbers 0 and 1.

©1999 Addison Wesley Longman2.10 Number System (I) decimal system ( base 10 ) octal system ( base 8 ) binary system ( base 2 )

©1999 Addison Wesley Longman2.11 Number System (II) decimal octal binary

©1999 Addison Wesley Longman2.12 To Represent Negative Numbers biased sign magnitude 1’s complement 2’s complement

©1999 Addison Wesley Longman2.13 Biased Numbers decimalBCDbiased

©1999 Addison Wesley Longman2.14 Sign Magnitude Numbers sign magnitude

©1999 Addison Wesley Longman2.15 1‘s Complement Numbers

©1999 Addison Wesley Longman2.16 2‘s Complement Numbers

©1999 Addison Wesley Longman2.17 1‘s Complement Addition BCD addition carry end around result always correct when two operands have different sign overflow when two positive operands add to a negative result underflow when two negative operands add to a positive result

©1999 Addison Wesley Longman2.18 2‘s complement Addition BCD addition carry dropped result always correct when two operands have different sign overflow when two positive operands add to a negative result underflow when two negative operands add to a positive result

©1999 Addison Wesley Longman2.19 Floating Point Representation = * = * = = * 10 1 = * 10 2 = * 10 3 — normalized form = * 10 4 … = = * 2 5

©1999 Addison Wesley Longman2.20 PDP-11, VAX-11 Floating Point Representation precision 1/2 24 ~ 1/10 7 range ~ …….0 8 bits 23 bits mantissa sign

©1999 Addison Wesley Longman2.21 IBM360/370 Floating Point Representation = B = 15.C H =.15C * 16 2 precision 1/2 21 ~ 1/10 6 range = ~ C 0 0 0

©1999 Addison Wesley Longman2.22 Bits as Codes ASCII - American Standard Code for Information Interchange - most widely used code, represents each character as a unique 8-bit code.

©1999 Addison Wesley Longman2.23 Code & Character Sets ASCII ( American Standard Code for Information Interchange ) — 7 bit ABCDEF 0 | 1 | 2 |!“#$%&`()*+-,./ 3 | |PQRSTUVWXYZ 6 |abcdefghIjklmno 7 |pqrstuvwxyz

©1999 Addison Wesley Longman2.24 Code & Character Sets (IV) EBCDIC ( extended BCD for information exchange code ) — 8 bit ABCDEF 8|abcdefghi 9|jklmnopqr A|stuvwxyz B| C|ABCDEFGHI D|JKLMNOPQR E|STUVWXYZ F|

©1999 Addison Wesley Longman2.25 Chinese Characters Big-52 byte( 16 bit )13461 字 CNS byte( 24 bit )48222 字

©1999 Addison Wesley Longman2.26 File & Record files –program file –data file Record –field –sub-field

©1999 Addison Wesley Longman2.27 Type of Data numerical –integer, real, double precision, complex, … non-numerical –character string, boolean

©1999 Addison Wesley Longman2.28 Bits as Instructions The computer stores programs as collections of bits. For instance, might instruct the computer to add two numbers.(OP code) Other bit instructions might include where to find numbers stored in memory or where to store them.(operands)

©1999 Addison Wesley Longman2.29 Bits, Bytes, and Buzzwords Common terms might describe file size or memory size: Bit: smallest unit of information Byte: a grouping of eight bits of information K: (kilobyte); about 1,000 bytes of information - technically 1024 bytes equals 1K of storage.

©1999 Addison Wesley Longman2.30 Bits, Bytes, and Buzzwords MB: (megabyte); about 1 million bytes of information GB: (gigabyte); about 1 billion bytes of information TB: (terabyte); about 1 million megabytes of information

©1999 Addison Wesley Longman2.31 The Computer’s Core: The CPU and Memory The transformations are performed by the CPU - the central processing unit or processor. The microprocessor, which is a silicon chip, is located on the motherboard.

©1999 Addison Wesley Longman2.32 The Computer’s Core: The CPU and Memory When you purchase a computer, the selection of the CPU is a very important choice. There are two factors that are very important to computer users are: - Compatibility - Speed

©1999 Addison Wesley Longman2.33 Compatibility Not all software is compatible with any given CPU. Each computer has a unique instruction set - a vocabulary of instructions the processor can execute. New microprocessors can usually run older software, but new software is not usually compatible with old microprocessors.

©1999 Addison Wesley Longman2.34 Speed The computer’s speed is measured by the speed of its internal clock - a device to synchronize the electric pulses. Speed is measured in units called megahertz (mHz).

©1999 Addison Wesley Longman2.35 Speed The architecture of a computer determines its speed. CISC - complex computer instructions set computer RISC - reduced instruction set computer

©1999 Addison Wesley Longman2.36 CPU family CISC –Intel X86, Pentium –Motorola 680x0 RISC –PowerPC, MIPS, SPARC, Alpha

©1999 Addison Wesley Longman2.37 Primary Storage: The Computer’s Memory RAM (random access memory): –is the most common type of primary storage, or computer memory. –used to store program instructions and data temporarily –unique addresses and can store in any location –can quickly retrieve information –will not remain if power goes off (volatile).

©1999 Addison Wesley Longman2.38 Primary Storage: The Computer’s Memory ROM (read-only memory): –information is stored permanently on a chip. –contains startup instructions and other permanent data.

©1999 Addison Wesley Longman2.39 Buses, Ports, and Peripherals Information travels between components through groups of wires called buses.

©1999 Addison Wesley Longman2.40 Buses, Ports, and Peripherals Peripherals: –are external devices for receiving input or producing output (keyboard, monitor, and mouse). –communicate with other parts of the system.

©1999 Addison Wesley Longman2.41 Buses, Ports, and Peripherals –provide attachment and communication with external devices by means of: slots (for internal attachment) ports (for external attachments)