Chapter 2: CPU &Data Storage. CPU Each computer has at least one CPU Each computer has at least one CPU CPU execute instructions to carry out tasks –

Slides:



Advertisements
Similar presentations
Chapter 4 The Central Processing Unit
Advertisements

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.
The Central Processing Unit: What Goes on Inside the Computer.
The Central Processing Unit: What Goes on Inside the Computer.
 2002 Prentice Hall Hardware Basics: Inside The Box Chapter 2.
Computer Technology Part 2 Megan Rees Elk Ridge Middle.
M. Guymon - Pleasant Grove High - Spring 2003 Computer Performance & Storage Devices Computer Technology.
Computer Performance & Storage Devices Computer Technology.
Hardware Basics: Inside the Box 2  2001 Prentice Hall2.2 Chapter Outline “There is no invention – only discovery.” Thomas J. Watson, Sr. What Computers.
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
Chapter 3: Where are programs and data stored?. What kinds of memory are there? The main memory The main memory –ROM: Read-only memory Store permanently.
M. Guymon Pleasant Grove High School Spring 2003 Computer Performance & Storage Devices Computer Technology Day 2.
Memory. When we receive some instruction or information we retain them in our memory. Similarly a computer stores the instructions for solving a problem,
Chapter 4  Converts data into information  Control center  Set of electronic circuitry that executes stored program instructions  Two parts ◦ Control.
Chapter 3 – Computer Hardware Computer Components – Hardware (cont.) Lecture 3.
Memory. Random Access Memory Defined What is memory? operating system and other system software that control the usage of the computer equipment application.
Computer Systems. Basic Components Auxiliary Storage OutputProcessor Main Memory Input.
Computers Central Processor Unit. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS Memory.
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.
Computer Basics COMPUTER TECHNOLOG Y 1. What Is a Computer? An electronic device Accepts data and instructions Manipulates, processes, and displays the.
CS 111 – Aug – 1.3 –Information arranged in memory –Types of memory –Disk properties Commitment for next day: –Read pp , In other.
 Design model for a computer  Named after John von Neuman  Instructions that tell the computer what to do are stored in memory  Stored program Memory.
MAC OS – Unit A Page: 10-11, Investigating Data Processing Understanding Memory.
CHAPTER 5. Next Exit Main Memory and Backing Storage Devices... Main Memory and Backing Storage Devices... Main memory temporarily stores programs and.
Hardware & Software The CPU & Memory.
Introduction to Computers
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
Hardware: The CPU & Storage Chapter 5 How to Buy a Multimedia Computer.
Course ILT Basics of information technology Unit objectives Define “information technology” (IT), distinguish between hardware and software, and identify.
GCSE Information Technology Storing data Data storage devices can be divided into 2 main categories: Backing storage is used to store programs and data.
COMPUTER TECHNOLOGY MRS. SEALE COMPUTER PERFORMANCE.
The Central Processing Unit: What Goes on Inside the Computer
Chapter 2 part 2. Computer Processing Speeds Milliseconds - thousands of a second Microseconds - millionths of a second Nanoseconds - billionths of a.
1 Introduction to Computers By Masseta ICT Dept. Mzumbe University.
© CCI Learning Solutions Inc. 1 Lesson 2: Elements of a Personal Computer System unit Microprocessor chip How memory is measured What ROM is What RAM is.
Our Lady of the Rosary College S.2 Computer Literacy Lesson 8 Storage Unit Mr. Ku Heung Chin.
Computer Confluence 7/e © 2006 Prentice-Hall, Inc.
Memory and Storage Computer Technology K. Steere.
IT Groundwork ICS3UC - Unit 1 Hardware. Overview of Computer System.
COMPUTER BASICS Computer Technology. WHAT IS A COMPUTER?  Electronic  Accepts data and instructions  Manipulates, processes, and displays the information.
Computer Systems. This Module Components Home PC Inputs Processor Memory Motherboards Auxiliary Storage Outputs.
© 2011 Pearson Education, publishing as Addison-Wesley Chapter 1: Computer Systems Presentation slides for Java Software Solutions for AP* Computer Science.
FIRST COURSE Essential Computer Concepts. XP New Perspectives on Microsoft Office 2007: Windows XP Edition2 What Is a Computer? A computer is an electronic.
1 Course Title: IT IN BUSINESS Course Instructor: ADEEL ANJUM Chapter No: 04 1 BY ADEEL ANJUM (MCS, CCNA,WEB DEVELOPER)
Thursday 8 th October, 2015 Information Technology Fundamentals of Hardware & Software.
Computer Technology Part 2 Megan Rees Elk Ridge Middle.
Identifying Hardware Components in a Computer (continued) Clock Speed (continued) The computer has a system clock that generates a regular electronic beat.
Computer Performance. Boot Process (Booting) Sequence of events that occurs between the time you turn on a computer and the time that it becomes ready.
Chapter 2 Turning Data into Something You Can Use
Unit C-Hardware & Software1 GNVQ Foundation Unit C Bits & Bytes.
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
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),
MEMORY is part of the Central Processing Unit, or CPU, where data and information are stored. There are two main types of memory in a computer – RAM.
Computer Performance & Storage Devices Computer Technology.
Information Technology (IT). Information Technology – technology used to create, store, exchange, and use information in its various forms (business data,
Computer Performance & Storage Devices Computer Technology #2.
APPENDIX A Hardware and Software Basics
Computer Performance & Storage Devices
Hardware specifications
Computer Science 210 Computer Organization
BUSINESS PLUG-IN B3 HARDWARE AND SOFTWARE BASICS
Introduction to Computers
Introduction to Computers
PRIMARY STORAGE.
PRIMARY STORAGE.
Introduction to Computers
Computer Performance & Storage Devices
1 BY Prof. S. DAS (PhD, UK). 2 CONTENTS Introduction RAM,ROM,PROM,EPROM Auxiliary Storage Devices-Magnetic Tape, Hard Disk, Floppy Disk Optical Disks:
Computer Performance & Storage Devices
AS Level ICT Selection and use of storage requirements, media, and devices: storage and storage capacity Unit 1 Topic a - Selection and use of storage.
Presentation transcript:

Chapter 2: CPU &Data Storage

CPU Each computer has at least one CPU Each computer has at least one CPU CPU execute instructions to carry out tasks – MS Word CPU execute instructions to carry out tasks – MS Word Examples of microprocessors Examples of microprocessors –Pentium IV by Intel –PowerPC by Apple-IBM-Motorola Manufacture of CPUs defines its own set of instructions Manufacture of CPUs defines its own set of instructions –That is why a program for Pentium would not run on PowerPC

CPU Speed System clock System clock –It controls all the operations in a computer –For a given CPU, the execution of each instruction requires a fixed # of pulses to complete. E.g., ADD X, Y, Z – 10 pulses E.g., ADD X, Y, Z – 10 pulses –The pulses, also called clock cycles, are generated by a circuit called system clock E.g., 2.1GHz system clock generates 2.1 billion pulses per second E.g., 2.1GHz system clock generates 2.1 billion pulses per second E.g., 800MHz generates 800 million pulses per second. E.g., 800MHz generates 800 million pulses per second.

CPU Speed CPU A - 2.0GHz CPU A - 2.0GHz –2 billion pulses per second –Size of each pulse = 1,000,000,000 ns/2,000,000,000 = 0.5 nanoseconds (billionth seconds) = 0.5 nanoseconds (billionth seconds) –ADD X, Y, Z – 10 pulses = 5 ns CPU B - 1.0GHz CPU B - 1.0GHz –1 billion pulses per second –Size of each pulse = 1,000,000,000ns/1,000,000,000 = 1 ns = 1 ns –ADD X, Y, Z – 10 pulses = 10 ns CPU A is twice as fast as CPU B CPU A is twice as fast as CPU B The faster the system clock, the more powerful the CPU. The faster the system clock, the more powerful the CPU.

Clock Speed Hz(hertz): 1 clock cycle per second Hz(hertz): 1 clock cycle per second –Size of each pulse = 1 second KHZ(Kilohertz): 1 thousand pulses per second KHZ(Kilohertz): 1 thousand pulses per second –Size of each pulse = 1 millisecond MHz (Megahertz): 1 million pulses per second MHz (Megahertz): 1 million pulses per second –Size of each pulse = 1 microsecond GHz (Gigahertz): 1 billion pulses per second GHz (Gigahertz): 1 billion pulses per second –Size of each pulse = 1 nanosecond

CPU Power Many of today’s CPUs have more than one processors in them Many of today’s CPUs have more than one processors in them Traditional CPUs execute one instruction at a time Traditional CPUs execute one instruction at a time Dual-Core processor can execute two instructions at the same time Dual-Core processor can execute two instructions at the same time A dual-core processor is “twice” as fast as a single-core processor of the same system clock A dual-core processor is “twice” as fast as a single-core processor of the same system clock

Types of Memory The main memory The main memory –ROM: Read-only memory Store permanently instructions for system startup. Store permanently instructions for system startup. Its contents cannot be modified. Its contents cannot be modified. Its contents written by the manufacture Its contents written by the manufacture –RAM Transitory (volatile) memory – when the power is turned off, its contents is lost. Transitory (volatile) memory – when the power is turned off, its contents is lost. Applications and user data are temporarily stored here for processing. Applications and user data are temporarily stored here for processing. Contains operating system, programs being executed, and data being processed Contains operating system, programs being executed, and data being processed

Memory Access Time The speed of a RAM chip is called memory access time The speed of a RAM chip is called memory access time The time needed for read from or write into the RAM The time needed for read from or write into the RAM –40ns RAM – needs 40ns to read from RAM –80ns RAM – needs 80ns to read from RAM RAM is much slower than CPU RAM is much slower than CPU Most CPUs requires minimum RAM Access time Most CPUs requires minimum RAM Access time

Memory Units Bit: binary digit – store 0 or 1 Bit: binary digit – store 0 or 1 Byte: 8 bits – a character Byte: 8 bits – a character KB: kilobyte – 1000 bytes KB: kilobyte – 1000 bytes MB: megabytes – 1 million bytes MB: megabytes – 1 million bytes GB: gigabytes – 1 billion bytes GB: gigabytes – 1 billion bytes TB: terabytes – 1 trillion bytes TB: terabytes – 1 trillion bytes

Type of Storage Hard disks Hard disks –Permanent storage – its contents do not depend on power –Permanent, but not forever –Where applications are installed –Where user files are stored –Where virtual memory is located CDs CDs –Compact discs –Data are written to and read from using laser –Permanent storage –Read-only –Burn CDs – write once and read many

Hard Disks Rigid circular steel platters with magnetic coating Rigid circular steel platters with magnetic coating Platters spin at high speed Platters spin at high speed Each surface is formatted into circular bands called tracks and each track is divided into segments called sectors Each surface is formatted into circular bands called tracks and each track is divided into segments called sectors Data are stored on the sectors Data are stored on the sectors Each surface has a read/write (R/W) head for reading and writing from/to the surface Each surface has a read/write (R/W) head for reading and writing from/to the surface To read from or write to a sector, the R/W head of each surface moves to the track and wait for the sector to spin under the R/W head and then read or write. To read from or write to a sector, the R/W head of each surface moves to the track and wait for the sector to spin under the R/W head and then read or write.

Cylinders, Tracks, and Sectors

Hard Disks: Read/Write

Summary – chapter 2 CPU – central processing unit CPU – central processing unit Instruction set – the set of instructions a given CPU understands Instruction set – the set of instructions a given CPU understands System clock – generates a sequence of pulses System clock – generates a sequence of pulses ROM – fast, read only and permanent ROM – fast, read only and permanent RAM – fast, allow read and write, transitory/volatile RAM – fast, allow read and write, transitory/volatile Hard disks – permanent, very high capacity, slow compared to RAM/ROM Hard disks – permanent, very high capacity, slow compared to RAM/ROM –Tracks/sectors

Terminology CPU CPU System clock System clock Clock cycles/pulses Clock cycles/pulses Instruction set Instruction set Single processor CPUs Single processor CPUs Multi-processor CPUs Multi-processor CPUs RAM/ROM RAM/ROM –Memory access time Hard disks Hard disks –Cylinder/Track/Sector Transitory/volatile RAM Transitory/volatile RAM Permanent storage Permanent storage