Computer Hardware: Basic Definitions

Size: px
Start display at page:

Download "Computer Hardware: Basic Definitions"

Transcription

1 Computer Hardware: Basic Definitions Programming: The planning, scheduling, or performing of a task or event Computer program: A sequence of instructions for a computer to execute Computer: An electronic, programmable device that can store, retrieve, and process data Modern computers based on the von Neumann architecture Information: General, abstract knowledge Data: Information to be processed by a computer Must be in form computer can understand Computer converts data to information Computer system consists of 2 general components: 1. Hardware 2. Software Units Unit Quantity symbol Bit (binary digit) atomic piece of storage/memory b Byte: 8 bits smallest standard size of storage/data B Second s Hertz Speed H Common prefixes Prefix Value Symbol Quantity Tera 2 40 = 1, 099, 511, 627, 776 t memory, speed Giga 2 30 = 1, 073, 741, 824 g memory, speed Mega 2 20 = 1, 048, 576 m memory, speed Kilo 2 10 = 1, 024 k memory, speed Milli 10 3 (0.001) m time Micro 10 6 ( ) µ time Nano 10 9 ( ) n time 1

2 Computer Hardware: Basic Definitions (2) Approximations Prefix Approximate Value Tera = 1, 000, 000, 000, 000 Giga 10 9 = 1, 000, 000, 000 Mega 10 6 = 1, 000, 000 Kilo 10 3 = 1, 000 2

3 Computer Hardware: Basic Components Represents physical components 2 general types Computer proper 1. Main memory 2. Central Processing Unit (CPU) 3. Bus Peripherals Add-ons E.g., printer, DVD drive, hard disk 3

4 Computer Hardware: Memory - Intro Refers to data storage components of computer Hierarchy of memory types: Type Speed Cost Nature Register fastest most expensive volatile Cache volatile RAM slowest least expensive volatile ROM nonvolatile Volatile memory loses its contents when computer is powered off Stores everything used by the computer: programs, data,... Stored electronically Standard approach uses bi-stable (two-state) device Transistors used - electronic switches When voltage applied to base, electricity flows from collector to emitter Switch is on No voltage to base, no flow Switch is off Transistor represents a bit(binary digit) of data Each transistor can represent 2 values : on, and off Values represented as 1 and 0 Byte considered basic unit of storage 4

5 Computer Hardware: Memory - RAM RAM stands for Random Access Memory Consists of a linear sequence of storage locations (cells, words,...) Each byte has a unique address, numbered from 0 to total amount of memory - 1 Often, bytes grouped together into words Memory generally measured in terms of mega or gigabytes RAM is primary storage area for computer during operation Often referred to as primary storage, main memory Stores both programs and data When power turned off, all switches open Memory becomes Contents must be loaded during operation Physically exists as an array of cells Each row and column has a wired connection To access a particular memory cell, activate the connections for its row and column 5

6 Computer Hardware: Memory - RAM (2) Types of RAM Dynamic (DRAM) Electricity stored in a capacitor Transistor controls amount (voltage) stored If greater than about 50% capacity 1 If less than about 50% capacity 0 Capacitors lose charge over time (msec) Computer must refresh value in each bit on a regular basis Done thousands of times per second Hence: dynamic RAM Static (SRAM) Uses multiple transistors per bit Value does not need to be refreshed Compared to DRAM 1. Faster (no need to refresh) 2. More expensive 3. Larger Hence, not used for main memory Typical time to access data: 50 nsec 6

7 Computer Hardware: Memory - ROM ROM stands for Read Only Memory Often called BIOS (Basic Input Output System) Data permanently stored - cannot be changed Hardwired using diodes Stores parts of operating system needed to start computer 7

8 Computer Hardware: Seconday Storage - Intro Secondary storage refers to memory that is not part of the computer proper Examples: Disks Tapes CDR DVD Flash memory These types of memory are nonvolatile: They retain their contents when unpowered Without secondary storage, programs, data, etc. computer every time it was turned on These devices generally are magnetic or optical in nature would need to be typed into a 8

9 Computer Hardware: Secondary Storage - Magnetic Devices 1. Disks Typical disk structure: Bits stored as alignments of magnetic particles Microscopic magnetic particles have north and south poles One alignment corresponds to a 1 bit, the other to a 0 bit Data bits appear sequentially along a track Disk addresses consist of track, block, and byte offset Block size multiple of 512 bytes Data transfer is a whole block at a time 9

10 Computer Hardware: Secondary Storage - Magnetic Devices (2) Read/write process: Given a disk address to access Disk spins Typically 7200 rpm 8.33 msec per 1 rotation Position arm over appropriate track Called seek time E.g., 0.02 msec to move to adjacent track Wait until appropriate block rotates under head - latency time (fast) Called (rotational) latency E.g., 0.02 msec to move to adjacent track Best case: 0 msec Worst case: 8.33 msec Read the block Called read time Requires 8.33/n msec, where n is number of blocks per track 10

11 Disk pack Computer Hardware: Secondary Storage - Magnetic Devices (3) Set of disks packaged as a rigid unit Each arm has 2 read/write heads - one for each adjacent surface Actuator moves arms as a unit Disk address will include surface Cylinder: set of tracks that can be read/written for a given position of the actuator Data transfers flow through a buffer Part of memory reserved for data transfers Usually can hold several disk blocks Want efficient data transfer Factors that affect transfer speed: Physical record structure File organization Buffer management 11

12 2. Tape Computer Hardware: Secondary Storage - Magnetic Devices (4) Disk is a random access device Can access disk address independently of others Tape has 8 tracks Each track stores one bit Bytes stored sequentially along tape Tape is sequential access device Given an address, must pass over all data that precedes it Significantly slower than disk Used for long-term storage of files 12

13 Computer Hardware: Secondary Storage - Optical Devices CDR and DVD basically the same Structure is similar to disk structure, except have continuous spiral instead of separate tracks Bits stored as differences of reflectivity Laser shines on disk Light is reflected into a sensor Bright interpreted as 1, dull as 0 CDROM Plastic substrate has bumps burned in with laser Shiny aluminum coated over the substrate Laser light shining on a bump reflected away from sensor, so appears dark (representing a 0 ) Data cannot be changed 13

14 Computer Hardware: Secondary Storage - Optical Devices (2) CD-R Uses a heat-sensitive, translucent dye instead of bumps When heated, dye becomes opaque To write a 0, heat spot on CD with write laser More powerful than read laser Read laser not strong enough to affect dye Can only be written once 14

15 Computer Hardware: Secondary Storage - Optical Devices (3) CD-RW Uses a phase-change chemical In crystalline form, is translucent In amorphous form, is opaque When melted and cooled quickly, becomes amorphous When melted and cooled slowly, becomes crystalline Initially, compound in crystalline form To write a 0, melt and cool quickly To overwrite a 0 with a 1, melt and cool slowly 15

16 Computer Hardware: Flash Memory Flash memory is like ROM on the motherboard However, it uses an EEPROM - Eelectronically Erasable Programmable ROM Using transistors and quantum effects at the atomic level, a charge can be semipermanantly stored in a memory cell The charge can be removed at a later date 16

17 1. Integers (whole numbers) Computer Hardware: Representation Each digit of a binary integer represents a power of 2 In decimal (base 10), each digit represents a power of 10: = In binary (base 2), each digit represents a power of 2: = = = Note that the largest value that can be represented is limited by the amount of storage allocated If 1 byte is used for integers, the largest integer that can be represented is = = 255 If 2 bytes are used for integers, the largest integer that can be represented is = = To convert decimal representation to binary: Cast out 2 s Steps: (a) Divide decimal representation by 2 (b) Write down the remainder (c) Repeat the previous 2 steps, using the quotient for the dividend (d) Continue until quotient is 0 (e) Write the remainders in the reverse order in which they were calculated Example: (a) 53/2 = 26R1 (b) 26/2 = 13R0 (c) 13/2 = 6R1 (d) 6/2 = 3R0 (e) 3/2 = 1R1 (f) 1/2 = 0R1 (g) Answer =

18 Computer Hardware: Representation (2) Negative integers are represented using a leading 1 One s complement A leading 1 means a negative number A leading 0 means a positive number Remaining digits interpreted as above Example: = ( ) = ( ) = There is a problem with this representation: = = Two s complement Developed to eliminate above problem To represent an integer in two s complement representation: (a) Write the binary representation as usual (b) Flip all the digits (1 0, 0 1) (c) Add 1 Example: (a) Binary representation of +53: (b) Flip all the digits: (c) Add 1: Note that using either approach cuts the size of the largest integer that can be represented in half One s complement: Largest positive integer (1 byte): = Smallest negative integer (1 byte): = Two s complement: Largest positive integer (1 byte): = Smallest negative integer (1 byte): =

19 2. Floating point (real) numbers Computer Hardware: Representation (3) Represented using scientific notation: = 327, 460, 000 In the computer, only the values are stored: sign mantissa sign exponent Since storage is of fixed size, a fixed set of bits are used for the mantissa and exponent In addition, the decimal point is assumed to be in a specific location For example (base 10): (a) Assuming decimal is in front of first digit of mantissa (b) 4 digits for mantissa (c) 2 digits for exponent 327, 460, 000 = This leads to loss of precision (inability to represent all digits in original) It increases the range of values that can be represented: Largest value: (As opposed to in decimal using 8 digits) Binary representation is used for mantissa, exponent, and signs in the computer 19

20 Computer Hardware: Representation (4) 3. Characters There is no direct correlation between printable characters and binary representation Arbitrary codes are used ASCII (American Standard Code for Information Interchange) Standard code for representing characters Uses 7 bits A represented by = a represented by = represented by = Note: Character 1 not the same as the integer 1 Unicode Extension of ASCII Uses up to 4 bytes EBCDIC 4. Parity bits IBM standard for mainframes Extra bit to help insure data integrity Odd parity means the number of 1 s in a byte will add to an odd number The parity bit is set to insure this is the case For example: If an extended byte does not have the proper parity, an error has occured 20

21 Computer Hardware: Representation (5) 5. Hexadecimal Used to simplify representation of binary values Hexadecimal is base 16 Requires 16 digits Uses letters in addition to the digits 0-9 hex digit A B C D E F value Every byte can be represented by a pair of hex digits Example: is represented as 1101 = = D, 0010 = 2 10 = 2, or D

22 Computer Hardware: Central Processing Unit (CPU) Brains of computer Components: 1. Registers Special high-speed memory cells local to the CPU 2. Arithmetic Logic Unit (ALU) Performs computations 3. Control unit (CU) Controls operation of the system 22

23 Computer Hardware: Central Processing Unit (CPU) (2) Operation based on von Neumann architecture 1. Computer composed of following systems (a) Memory (b) CPU (c) IO system 2. Programs are stored in memory 3. Program statements are executed sequentially 23

24 Storage local to CPU Computer Hardware: CPU - Registers High-speed memory directly accessible to CPU components Examples: 1. General purpose registers to hold operands and results of computations 2. Accumulator - Specially designated register for operands and results Memory Address Register (MAR) Stores address of memory location to be accessed Must be large enough to store largest address in memory address space E.g., 4GB = 2 30 memory requires 31 bits 7. Memory Data Register (MDR) Stores data to be retrieved from or saved to memory One or more bytes in width 8. Instruction Register (IR) Holds instruction being executed Must be large enough to hold largest instruction E.g., 4, 8, 16 bytes 9. Program Counter (PC) Holds address (in memory) of next instruction to be executed Must be large enough to store largest address of memory reserved for holding programs 24

25 Types of operations performed: Arithmetic Addition Subtraction Logic AND OR NOT EXCLUSIVE OR Shifts Shift left Shift right Rotate left Rotate right Computer Hardware: CPU - ALU 25

26 Computer Hardware: CPU - ALU (2) Operands can be loaded from registers, or from elsewhere Results can be stored into a register, or elsewhere The control line selects the operation to be performed Can be designed to perform more complex operations But requires more circuitry 26

27 Manages operation of computer Operates using following cycle 1. Retrieve instruction from memory Computer Hardware: CPU - CU (a) This step referred to as a fetch (b) A copy of the instruction is loaded into the IR (c) Increment the PC It now holds the address of the next instruction to be executed 2. Decode the instruction Each instruction is in binary format Instructions of form opcode operands There is one opcode for each specific operation the CPU can perform Operands may take the form of actual values (e.g., 105, c ) or addresses (where values are stored) Instructions may have from 0 to 3 operands For example: bit opcode, 8 bit operand Performs x = y

28 Computer Hardware: CPU - CU (2) The instruction decoder circuit reads the opcode of the instruction The circuitry of this decoder converts the opcode into signals that carry out the execution of the instruction; e.g. To add the contents of 2 registers and store the results into another register To load the value at a particular memory address into the MDR The signals enable various bus lines and devices needed for the task 3. Execute instruction The circuitry carries out the task 28

29 Computer Hardware: CPU - Memory Access Execution may require transfer of data between memory and CU Fetch (read) 1. Load address into MAR 2. Copy contents of address into MDR 3. A fetch is non-destructive - contents of address are unaffected 29

30 Store (write) Computer Hardware: CPU - Memory Access (2) 1. Load address into MAR 2. Load value into MDR 3. Copy contents of MDR into address 4. A write is destructive - original contents of address are lost 30

31 Computer Hardware: CPU - Cache Memory To speed up processing, CPU may have cache memory This is high-speed memory local to CPU Access time about 10 ns Generally a few KB in size Operation based on Principle of Locality: What has been recently accessed is likely to be accessed again in near future Used as follows: When CPU needs something from memory Search cache for item if not found in cache retrieve from main memory store in cache To see how it improves speed: Assume memory fetch requires 50 ns Assume memory fetch requires 10 ns Assume data will be found in cache 60% of the time Average time to fetch a piece of data: ( ) + (0.4 ( )) = = 30 ns on average Why not use cache for RAM if so fast? Expensive 31

32 Speed measured in Hertz (mega, giga) Computer Hardware: CPU - Processing Speed This refers to how fast the system clock ticks MIPS (Millions of Instructions Per Second) May require more than one clock tick per instruction FLOPS (FLOating Point operations per Second) Considered a more realistic measurement of speed The system clock controls the speed at which instructions are executed In general, each major step in CPU takes one clock cycle: Fetch Decode Execute Fetch data from memory Write result to memory Bus width affects transfer speeds If bus width is 16 bits, but data is 32 bits, requires 2 memory fetches 32

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

Computers. Hardware. The Central Processing Unit (CPU) CMPT 125: Lecture 1: Understanding the Computer Computers CMPT 125: Lecture 1: Understanding the Computer Tamara Smyth, tamaras@cs.sfu.ca School of Computing Science, Simon Fraser University January 3, 2009 A computer performs 2 basic functions: 1.

More information

Writing Assignment #2 due Today (5:00pm) - Post on your CSC101 webpage - Ask if you have questions! Lab #2 Today. Quiz #1 Tomorrow (Lectures 1-7)

Writing Assignment #2 due Today (5:00pm) - Post on your CSC101 webpage - Ask if you have questions! Lab #2 Today. Quiz #1 Tomorrow (Lectures 1-7) Overview of Computer Science CSC 101 Summer 2011 Main Memory vs. Auxiliary Storage Lecture 7 July 14, 2011 Announcements Writing Assignment #2 due Today (5:00pm) - Post on your CSC101 webpage - Ask if

More information

Computer Systems Structure Main Memory Organization

Computer Systems Structure Main Memory Organization Computer Systems Structure Main Memory Organization Peripherals Computer Central Processing Unit Main Memory Computer Systems Interconnection Communication lines Input Output Ward 1 Ward 2 Storage/Memory

More information

CHAPTER 7: The CPU and Memory

CHAPTER 7: The CPU and Memory CHAPTER 7: The CPU and Memory The Architecture of Computer Hardware, Systems Software & Networking: An Information Technology Approach 4th Edition, Irv Englander John Wiley and Sons 2010 PowerPoint slides

More information

Memory Basics. SRAM/DRAM Basics

Memory Basics. SRAM/DRAM Basics Memory Basics RAM: Random Access Memory historically defined as memory array with individual bit access refers to memory with both Read and Write capabilities ROM: Read Only Memory no capabilities for

More information

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

Machine Architecture and Number Systems. Major Computer Components. Schematic Diagram of a Computer. The CPU. The Bus. Main Memory. 1 Topics Machine Architecture and Number Systems Major Computer Components Bits, Bytes, and Words The Decimal Number System The Binary Number System Converting from Decimal to Binary Major Computer Components

More information

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

Logical Operations. Control Unit. Contents. Arithmetic Operations. Objectives. The Central Processing Unit: Arithmetic / Logic Unit. Objectives The Central Processing Unit: What Goes on Inside the Computer Chapter 4 Identify the components of the central processing unit and how they work together and interact with memory Describe how

More information

RAM & ROM Based Digital Design. ECE 152A Winter 2012

RAM & ROM Based Digital Design. ECE 152A Winter 2012 RAM & ROM Based Digital Design ECE 152A Winter 212 Reading Assignment Brown and Vranesic 1 Digital System Design 1.1 Building Block Circuits 1.1.3 Static Random Access Memory (SRAM) 1.1.4 SRAM Blocks in

More information

Chapter 3: Computer Hardware Components: CPU, Memory, and I/O

Chapter 3: Computer Hardware Components: CPU, Memory, and I/O Chapter 3: Computer Hardware Components: CPU, Memory, and I/O What is the typical configuration of a computer sold today? The Computer Continuum 1-1 Computer Hardware Components In this chapter: How did

More information

Block diagram of typical laptop/desktop

Block diagram of typical laptop/desktop What's in a computer? logical or functional organization: "architecture" what the pieces are, what they do, how they work how they are connected, how they work together what their properties are physical

More information

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

Chapter 6. Inside the System Unit. What You Will Learn... Computers Are Your Future. What You Will Learn... Describing Hardware Performance What You Will Learn... Computers Are Your Future Chapter 6 Understand how computers represent data Understand the measurements used to describe data transfer rates and data storage capacity List the components

More information

With respect to the way of data access we can classify memories as:

With respect to the way of data access we can classify memories as: Memory Classification With respect to the way of data access we can classify memories as: - random access memories (RAM), - sequentially accessible memory (SAM), - direct access memory (DAM), - contents

More information

Module 2. Embedded Processors and Memory. Version 2 EE IIT, Kharagpur 1

Module 2. Embedded Processors and Memory. Version 2 EE IIT, Kharagpur 1 Module 2 Embedded Processors and Memory Version 2 EE IIT, Kharagpur 1 Lesson 5 Memory-I Version 2 EE IIT, Kharagpur 2 Instructional Objectives After going through this lesson the student would Pre-Requisite

More information

Primary Memory. Input Units CPU (Central Processing Unit)

Primary Memory. Input Units CPU (Central Processing Unit) Basic Concepts of Computer Hardware Primary Memory Input Units CPU (Central Processing Unit) Output Units This model of the typical digital computer is often called the von Neuman compute Programs and

More information

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

Management Challenge. Managing Hardware Assets. Central Processing Unit. What is a Computer System? Management Challenge Managing Hardware Assets What computer processing and storage capability does our organization need to handle its information and business transactions? What arrangement of computers

More information

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

Chapter 2 Basic Structure of Computers. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan Chapter 2 Basic Structure of Computers Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan Outline Functional Units Basic Operational Concepts Bus Structures Software

More information

Chapter 8 Memory Units

Chapter 8 Memory Units Chapter 8 Memory Units Contents: I. Introduction Basic units of Measurement II. RAM,ROM,PROM,EPROM Storage versus Memory III. Auxiliary Storage Devices-Magnetic Tape, Hard Disk, Floppy Disk IV.Optical

More information

The Central Processing Unit:

The Central Processing Unit: The Central Processing Unit: What Goes on Inside the Computer Chapter 4 Objectives Identify the components of the central processing unit and how they work together and interact with memory Describe how

More information

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

CSCA0102 IT & Business Applications. Foundation in Business Information Technology School of Engineering & Computing Sciences FTMS College Global CSCA0102 IT & Business Applications Foundation in Business Information Technology School of Engineering & Computing Sciences FTMS College Global Chapter 2 Data Storage Concepts System Unit The system unit

More information

CHAPTER 2: HARDWARE BASICS: INSIDE THE BOX

CHAPTER 2: HARDWARE BASICS: INSIDE THE BOX CHAPTER 2: HARDWARE BASICS: INSIDE THE BOX Multiple Choice: 1. Processing information involves: A. accepting information from the outside world. B. communication with another computer. C. performing arithmetic

More information

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

1 Computer hardware. Peripheral Bus device B Peripheral device. controller. Memory. Central Processing Unit (CPU) 1 1 Computer hardware Most computers are organized as shown in Figure 1.1. A computer contains several major subsystems --- such as the Central Processing Unit (CPU), memory, and peripheral device controllers.

More information

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

what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored? Inside the CPU how does the CPU work? what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored? some short, boring programs to illustrate the

More information

What's in a computer?

What's in a computer? What's in a computer? logical or functional organization: "architecture" what the pieces are, what they do, how they work how they are connected, how they work together what their properties are physical

More information

CPU Organisation and Operation

CPU Organisation and Operation CPU Organisation and Operation The Fetch-Execute Cycle The operation of the CPU 1 is usually described in terms of the Fetch-Execute cycle. 2 Fetch-Execute Cycle Fetch the Instruction Increment the Program

More information

MICROPROCESSOR AND MICROCOMPUTER BASICS

MICROPROCESSOR AND MICROCOMPUTER BASICS Introduction MICROPROCESSOR AND MICROCOMPUTER BASICS At present there are many types and sizes of computers available. These computers are designed and constructed based on digital and Integrated Circuit

More information

Main Memory & Backing Store. Main memory backing storage devices

Main Memory & Backing Store. Main memory backing storage devices Main Memory & Backing Store Main memory backing storage devices 1 Introduction computers store programs & data in two different ways: nmain memory ntemporarily stores programs & data that are being processed

More information

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

Chapter 4 System Unit Components. Discovering Computers 2012. Your Interactive Guide to the Digital World Chapter 4 System Unit Components Discovering Computers 2012 Your Interactive Guide to the Digital World Objectives Overview Differentiate among various styles of system units on desktop computers, notebook

More information

Tech Application Chapter 3 STUDY GUIDE

Tech Application Chapter 3 STUDY GUIDE Name: Class: Date: Tech Application Chapter 3 STUDY GUIDE Multiple Choice Identify the letter of the choice that best completes the statement or answers the question. 1. This type of device retains data

More information

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

Hardware: Input, Processing, and Output Devices. A PC in Every Home. Assembling a Computer System C H A P T E R 3 Hardware: Input, Processing, and Output Devices A PC in Every Home February 3, 2000 Ford will make available to all 330,000 employees hourly and salaried an HP Pavilion PC, an HP DeskJet

More information

Discovering Computers 2011. Living in a Digital World

Discovering Computers 2011. Living in a Digital World Discovering Computers 2011 Living in a Digital World Objectives Overview Differentiate among various styles of system units on desktop computers, notebook computers, and mobile devices Identify chips,

More information

Memory Systems. Static Random Access Memory (SRAM) Cell

Memory Systems. Static Random Access Memory (SRAM) Cell Memory Systems This chapter begins the discussion of memory systems from the implementation of a single bit. The architecture of memory chips is then constructed using arrays of bit implementations coupled

More information

CSCA0201 FUNDAMENTALS OF COMPUTING. Chapter 5 Storage Devices

CSCA0201 FUNDAMENTALS OF COMPUTING. Chapter 5 Storage Devices CSCA0201 FUNDAMENTALS OF COMPUTING Chapter 5 Storage Devices 1 1. Computer Data Storage 2. Types of Storage 3. Storage Device Features 4. Other Examples of Storage Device 2 Storage Devices A storage device

More information

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

Parts of a Computer. Preparation. Objectives. Standards. Materials. 1 1999 Micron Technology Foundation, Inc. All Rights Reserved Parts of a Computer Preparation Grade Level: 4-9 Group Size: 20-30 Time: 75-90 Minutes Presenters: 1-3 Objectives This lesson will enable students to: Identify parts of a computer Categorize parts of a

More information

Homework # 2. Solutions. 4.1 What are the differences among sequential access, direct access, and random access?

Homework # 2. Solutions. 4.1 What are the differences among sequential access, direct access, and random access? ECE337 / CS341, Fall 2005 Introduction to Computer Architecture and Organization Instructor: Victor Manuel Murray Herrera Date assigned: 09/19/05, 05:00 PM Due back: 09/30/05, 8:00 AM Homework # 2 Solutions

More information

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

2011, The McGraw-Hill Companies, Inc. Chapter 3 Chapter 3 3.1 Decimal System The radix or base of a number system determines the total number of different symbols or digits used by that system. The decimal system has a base of 10 with the digits 0 through

More information

1. Memory technology & Hierarchy

1. Memory technology & Hierarchy 1. Memory technology & Hierarchy RAM types Advances in Computer Architecture Andy D. Pimentel Memory wall Memory wall = divergence between CPU and RAM speed We can increase bandwidth by introducing concurrency

More information

Chapter 2: Computer-System Structures. Computer System Operation Storage Structure Storage Hierarchy Hardware Protection General System Architecture

Chapter 2: Computer-System Structures. Computer System Operation Storage Structure Storage Hierarchy Hardware Protection General System Architecture Chapter 2: Computer-System Structures Computer System Operation Storage Structure Storage Hierarchy Hardware Protection General System Architecture Operating System Concepts 2.1 Computer-System Architecture

More information

Chapter 2 Logic Gates and Introduction to Computer Architecture

Chapter 2 Logic Gates and Introduction to Computer Architecture Chapter 2 Logic Gates and Introduction to Computer Architecture 2.1 Introduction The basic components of an Integrated Circuit (IC) is logic gates which made of transistors, in digital system there are

More information

MICROPROCESSOR BCA IV Sem MULTIPLE CHOICE QUESTIONS

MICROPROCESSOR BCA IV Sem MULTIPLE CHOICE QUESTIONS MICROPROCESSOR BCA IV Sem MULTIPLE CHOICE QUESTIONS 1) Which is the microprocessor comprises: a. Register section b. One or more ALU c. Control unit 2) What is the store by register? a. data b. operands

More information

Memory is implemented as an array of electronic switches

Memory is implemented as an array of electronic switches Memory Structure Memory is implemented as an array of electronic switches Each switch can be in one of two states 0 or 1, on or off, true or false, purple or gold, sitting or standing BInary digits (bits)

More information

Here is a diagram of a simple computer system: (this diagram will be the one needed for exams) CPU. cache

Here is a diagram of a simple computer system: (this diagram will be the one needed for exams) CPU. cache Computer Systems Here is a diagram of a simple computer system: (this diagram will be the one needed for exams) CPU cache bus memory controller keyboard controller display controller disk Computer Systems

More information

1 PERSONAL COMPUTERS

1 PERSONAL COMPUTERS PERSONAL COMPUTERS 1 2 Personal computer a desktop computer a laptop a tablet PC or a handheld PC Software applications for personal computers include word processing spreadsheets databases web browsers

More information

To understand how data is processed, by a computer, we can draw a simple analogy between computers and humans.

To understand how data is processed, by a computer, we can draw a simple analogy between computers and humans. UNIT 3 MEMORY SYSTEM Memory System Structure Page No. 3.0 Introduction 43 3.1 Objectives 46 3.2 Memory Types and Storage Devices 46 3.2.1 Semiconductor (Main) Memory 52 3.2.2 Magnetic Memory 56 3.2.3 Optical

More information

(Refer Slide Time: 00:01:16 min)

(Refer Slide Time: 00:01:16 min) Digital Computer Organization Prof. P. K. Biswas Department of Electronic & Electrical Communication Engineering Indian Institute of Technology, Kharagpur Lecture No. # 04 CPU Design: Tirning & Control

More information

Chapter 1 Computer System Overview

Chapter 1 Computer System Overview Operating Systems: Internals and Design Principles Chapter 1 Computer System Overview Eighth Edition By William Stallings Operating System Exploits the hardware resources of one or more processors Provides

More information

Introduction To Computers: Hardware and Software

Introduction To Computers: Hardware and Software What Is Hardware? Introduction To Computers: Hardware and Software A computer is made up of hardware. Hardware is the physical components of a computer system e.g., a monitor, keyboard, mouse and the computer

More information

Computer Architecture

Computer Architecture Computer Architecture Random Access Memory Technologies 2015. április 2. Budapest Gábor Horváth associate professor BUTE Dept. Of Networked Systems and Services ghorvath@hit.bme.hu 2 Storing data Possible

More information

Basic Concepts of Information Technology (IT)

Basic Concepts of Information Technology (IT) Basic Concepts of Information Technology (IT) Objectives Define Computer and Identify the Four Basic Computing Functions Identify the Different Types of Computers Describe Hardware Devices and Their Uses

More information

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

Computer Performance. Topic 3. Contents. Prerequisite knowledge Before studying this topic you should be able to: 55 Topic 3 Computer Performance Contents 3.1 Introduction...................................... 56 3.2 Measuring performance............................... 56 3.2.1 Clock Speed.................................

More information

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

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware A+ Guide to Managing and Maintaining Your PC, 7e Chapter 1 Introducing Hardware Objectives Learn that a computer requires both hardware and software to work Learn about the many different hardware components

More information

Central Processing Unit (CPU)

Central Processing Unit (CPU) Central Processing Unit (CPU) CPU is the heart and brain It interprets and executes machine level instructions Controls data transfer from/to Main Memory (MM) and CPU Detects any errors In the following

More information

ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-17: Memory organisation, and types of memory

ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-17: Memory organisation, and types of memory ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-17: Memory organisation, and types of memory 1 1. Memory Organisation 2 Random access model A memory-, a data byte, or a word, or a double

More information

William Stallings Computer Organization and Architecture 7 th Edition. Chapter 6 External Memory

William Stallings Computer Organization and Architecture 7 th Edition. Chapter 6 External Memory William Stallings Computer Organization and Architecture 7 th Edition Chapter 6 External Memory Types of External Memory Magnetic Disk RAID Removable Optical CD-ROM CD-Recordable (CD-R) CD-R/W DVD Magnetic

More information

CHAPTER 6: Computer System Organisation 1. The Computer System's Primary Functions

CHAPTER 6: Computer System Organisation 1. The Computer System's Primary Functions CHAPTER 6: Computer System Organisation 1. The Computer System's Primary Functions All computers, from the first room-sized mainframes, to today's powerful desktop, laptop and even hand-held PCs, perform

More information

Memory. The memory types currently in common usage are:

Memory. The memory types currently in common usage are: ory ory is the third key component of a microprocessor-based system (besides the CPU and I/O devices). More specifically, the primary storage directly addressed by the CPU is referred to as main memory

More information

Record Storage and Primary File Organization

Record Storage and Primary File Organization Record Storage and Primary File Organization 1 C H A P T E R 4 Contents Introduction Secondary Storage Devices Buffering of Blocks Placing File Records on Disk Operations on Files Files of Unordered Records

More information

Computer Basics: Chapters 1 & 2

Computer Basics: Chapters 1 & 2 Computer Basics: Chapters 1 & 2 Definition of a Computer What does IPOS stand for? Input Process Output Storage Other types of Computers Name some examples of other types of computers, other than a typical

More information

MICROPROCESSOR. Exclusive for IACE Students www.iace.co.in iacehyd.blogspot.in Ph: 9700077455/422 Page 1

MICROPROCESSOR. Exclusive for IACE Students www.iace.co.in iacehyd.blogspot.in Ph: 9700077455/422 Page 1 MICROPROCESSOR A microprocessor incorporates the functions of a computer s central processing unit (CPU) on a single Integrated (IC), or at most a few integrated circuit. It is a multipurpose, programmable

More information

CHAPTER 4 MARIE: An Introduction to a Simple Computer

CHAPTER 4 MARIE: An Introduction to a Simple Computer CHAPTER 4 MARIE: An Introduction to a Simple Computer 4.1 Introduction 195 4.2 CPU Basics and Organization 195 4.2.1 The Registers 196 4.2.2 The ALU 197 4.2.3 The Control Unit 197 4.3 The Bus 197 4.4 Clocks

More information

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

1. Convert the following base 10 numbers into 8-bit 2 s complement notation 0, -1, -12 C5 Solutions 1. Convert the following base 10 numbers into 8-bit 2 s complement notation 0, -1, -12 To Compute 0 0 = 00000000 To Compute 1 Step 1. Convert 1 to binary 00000001 Step 2. Flip the bits 11111110

More information

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

LSN 2 Number Systems. ECT 224 Digital Computer Fundamentals. Department of Engineering Technology LSN 2 Number Systems Department of Engineering Technology LSN 2 Decimal Number System Decimal number system has 10 digits (0-9) Base 10 weighting system... 10 5 10 4 10 3 10 2 10 1 10 0. 10-1 10-2 10-3

More information

Chapter 1: Digital Systems and Binary Numbers

Chapter 1: Digital Systems and Binary Numbers Chapter 1: Digital Systems and Binary Numbers Digital age and information age Digital computers general purposes many scientific, industrial and commercial applications Digital systems telephone switching

More information

150127-Microprocessor & Assembly Language

150127-Microprocessor & Assembly Language Chapter 3 Z80 Microprocessor Architecture The Z 80 is one of the most talented 8 bit microprocessors, and many microprocessor-based systems are designed around the Z80. The Z80 microprocessor needs an

More information

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

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

More information

The string of digits 101101 in the binary number system represents the quantity

The string of digits 101101 in the binary number system represents the quantity Data Representation Section 3.1 Data Types Registers contain either data or control information Control information is a bit or group of bits used to specify the sequence of command signals needed for

More information

University of Dublin Trinity College. Storage Hardware. Owen.Conlan@cs.tcd.ie

University of Dublin Trinity College. Storage Hardware. Owen.Conlan@cs.tcd.ie University of Dublin Trinity College Storage Hardware Owen.Conlan@cs.tcd.ie Hardware Issues Hard Disk/SSD CPU Cache Main Memory CD ROM/RW DVD ROM/RW Tapes Primary Storage Floppy Disk/ Memory Stick Secondary

More information

William Stallings Computer Organization and Architecture 8 th Edition. External Memory

William Stallings Computer Organization and Architecture 8 th Edition. External Memory William Stallings Computer Organization and Architecture 8 th Edition Chapter 6 External Memory Types of External Memory Magnetic Disk RAID Removable Optical CD-ROM CD-Recordable (CD-R) CD-R/W DVD Magnetic

More information

CPU Organization and Assembly Language

CPU Organization and Assembly Language COS 140 Foundations of Computer Science School of Computing and Information Science University of Maine October 2, 2015 Outline 1 2 3 4 5 6 7 8 Homework and announcements Reading: Chapter 12 Homework:

More information

Basic Computer Organization

Basic Computer Organization Chapter 2 Basic Computer Organization Objectives To provide a high-level view of computer organization To describe processor organization details To discuss memory organization and structure To introduce

More information

Price/performance Modern Memory Hierarchy

Price/performance Modern Memory Hierarchy Lecture 21: Storage Administration Take QUIZ 15 over P&H 6.1-4, 6.8-9 before 11:59pm today Project: Cache Simulator, Due April 29, 2010 NEW OFFICE HOUR TIME: Tuesday 1-2, McKinley Last Time Exam discussion

More information

Central Processing Unit

Central Processing Unit Chapter 4 Central Processing Unit 1. CPU organization and operation flowchart 1.1. General concepts The primary function of the Central Processing Unit is to execute sequences of instructions representing

More information

Today we will learn about:

Today we will learn about: Storage Devices Today we will learn about: Storage Devices Ancient technology (from my days as a student) Floppies CD_ROM, DVDs Hard drives Magnetic tape Storage versus Memory Memory holds data, programs

More information

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

Computer System: User s View. Computer System Components: High Level View. Input. Output. Computer. Computer System: Motherboard Level System: User s View System Components: High Level View Input Output 1 System: Motherboard Level 2 Components: Interconnection I/O MEMORY 3 4 Organization Registers ALU CU 5 6 1 Input/Output I/O MEMORY

More information

Data Storage. 1s and 0s

Data Storage. 1s and 0s Data Storage As mentioned, computer science involves the study of algorithms and getting machines to perform them before we dive into the algorithm part, let s study the machines that we use today to do

More information

Outline. mass storage hash functions. logical key values nested tables. storing information between executions using DBM files

Outline. mass storage hash functions. logical key values nested tables. storing information between executions using DBM files Outline 1 Files and Databases mass storage hash functions 2 Dictionaries logical key values nested tables 3 Persistent Data storing information between executions using DBM files 4 Rule Based Programming

More information

Microprocessor or Microcontroller?

Microprocessor or Microcontroller? Microprocessor or Microcontroller? A little History What is a computer? [Merriam-Webster Dictionary] one that computes; specifically : programmable electronic device that can store, retrieve, and process

More information

MULTIPLE CHOICE FREE RESPONSE QUESTIONS

MULTIPLE CHOICE FREE RESPONSE QUESTIONS MULTIPLE CHOICE FREE RESPONSE QUESTIONS World ORT Union I n p u t d e v i c e s Where would you find the letters QUERTY? A. Mouse B. Keyboard C.Numeric Keypad How did the computer mouse get its name? A.

More information

Chapter 7 Memory and Programmable Logic

Chapter 7 Memory and Programmable Logic NCNU_2013_DD_7_1 Chapter 7 Memory and Programmable Logic 71I 7.1 Introduction ti 7.2 Random Access Memory 7.3 Memory Decoding 7.5 Read Only Memory 7.6 Programmable Logic Array 77P 7.7 Programmable Array

More information

2 COMPUTER ORGANISATION

2 COMPUTER ORGANISATION 2 COMPUTER ORGANISATION 2.1 INTRODUCTION In the previous lesson we discussed about the evolution of computer. In this lesson we will provide you with an overview of the basic design of a computer. You

More information

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

CSCI 4717 Computer Architecture. Function. Data Storage. Data Processing. Data movement to a peripheral. Data Movement CSCI 4717/5717 Computer Architecture Topic: Functional View & History Reading: Sections 1.2, 2.1, & 2.3 Function All computer functions are comprised of four basic operations: Data processing Data storage

More information

Computer Peripherals

Computer Peripherals Computer Peripherals Reading: Chapter 10 (except 10.6) Peripherals Devices that are separate from the basic computer Not the CPU, memory, or power supply Classified as input, output, and storage Connect

More information

Let s put together a Manual Processor

Let s put together a Manual Processor Lecture 14 Let s put together a Manual Processor Hardware Lecture 14 Slide 1 The processor Inside every computer there is at least one processor which can take an instruction, some operands and produce

More information

Multiple Choice Questions(Computer)

Multiple Choice Questions(Computer) Multiple Choice Questions(Computer) 1. Which of the following is the product of data processing a. information b. data c. software program d. system 2. The process of putting data into a location is called

More information

INTRODUCTION The collection of data that makes up a computerized database must be stored physically on some computer storage medium.

INTRODUCTION The collection of data that makes up a computerized database must be stored physically on some computer storage medium. Chapter 4: Record Storage and Primary File Organization 1 Record Storage and Primary File Organization INTRODUCTION The collection of data that makes up a computerized database must be stored physically

More information

Week One Lecture Note 1.0 INTRODUCTION TO COMPUTER 1.1 WHAT IS COMPUTER?

Week One Lecture Note 1.0 INTRODUCTION TO COMPUTER 1.1 WHAT IS COMPUTER? Week One Lecture Note 1.0 INTRODUCTION TO COMPUTER 1.1 WHAT IS COMPUTER? A Computer is a device or set of devices that work under the control of a stored program, automatically accepts and processes data

More information

Chapter 4 Register Transfer and Microoperations. Section 4.1 Register Transfer Language

Chapter 4 Register Transfer and Microoperations. Section 4.1 Register Transfer Language Chapter 4 Register Transfer and Microoperations Section 4.1 Register Transfer Language Digital systems are composed of modules that are constructed from digital components, such as registers, decoders,

More information

Chapter 01: Introduction. Lesson 02 Evolution of Computers Part 2 First generation Computers

Chapter 01: Introduction. Lesson 02 Evolution of Computers Part 2 First generation Computers Chapter 01: Introduction Lesson 02 Evolution of Computers Part 2 First generation Computers Objective Understand how electronic computers evolved during the first generation of computers First Generation

More information

Handout 17. by Dr Sheikh Sharif Iqbal. Memory Unit and Read Only Memories

Handout 17. by Dr Sheikh Sharif Iqbal. Memory Unit and Read Only Memories Handout 17 by Dr Sheikh Sharif Iqbal Memory Unit and Read Only Memories Objective: - To discuss different types of memories used in 80x86 systems for storing digital information. - To learn the electronic

More information

Discovering Computers 2008. Chapter 7 Storage

Discovering Computers 2008. Chapter 7 Storage Discovering Computers 2008 Chapter 7 Storage Chapter 7 Objectives Differentiate between storage devices and storage media Describe the characteristics of magnetic disks Describe the characteristics of

More information

Computer Organization. and Instruction Execution. August 22

Computer Organization. and Instruction Execution. August 22 Computer Organization and Instruction Execution August 22 CSC201 Section 002 Fall, 2000 The Main Parts of a Computer CSC201 Section Copyright 2000, Douglas Reeves 2 I/O and Storage Devices (lots of devices,

More information

1.1 Electronic Computers Then and Now

1.1 Electronic Computers Then and Now 1.1 Electronic Computers Then and Now The first electronic computer was built in the late 1930s by Dr.John Atanasoff and Clifford Berry at Iowa State University in USA. They designed their computer to

More information

Memory Hierarchy. Arquitectura de Computadoras. Centro de Investigación n y de Estudios Avanzados del IPN. adiaz@cinvestav.mx. MemoryHierarchy- 1

Memory Hierarchy. Arquitectura de Computadoras. Centro de Investigación n y de Estudios Avanzados del IPN. adiaz@cinvestav.mx. MemoryHierarchy- 1 Hierarchy Arturo Díaz D PérezP Centro de Investigación n y de Estudios Avanzados del IPN adiaz@cinvestav.mx Hierarchy- 1 The Big Picture: Where are We Now? The Five Classic Components of a Computer Processor

More information

Count the Dots Binary Numbers

Count the Dots Binary Numbers Activity 1 Count the Dots Binary Numbers Summary Data in computers is stored and transmitted as a series of zeros and ones. How can we represent words and numbers using just these two symbols? Curriculum

More information

Base Conversion written by Cathy Saxton

Base Conversion written by Cathy Saxton Base Conversion written by Cathy Saxton 1. Base 10 In base 10, the digits, from right to left, specify the 1 s, 10 s, 100 s, 1000 s, etc. These are powers of 10 (10 x ): 10 0 = 1, 10 1 = 10, 10 2 = 100,

More information

COMPUTER SCIENCE AND ENGINEERING - Microprocessor Systems - Mitchell Aaron Thornton

COMPUTER SCIENCE AND ENGINEERING - Microprocessor Systems - Mitchell Aaron Thornton MICROPROCESSOR SYSTEMS Mitchell Aaron Thornton, Department of Electrical and Computer Engineering, Mississippi State University, PO Box 9571, Mississippi State, MS, 39762-9571, United States. Keywords:

More information

Levent EREN levent.eren@ieu.edu.tr A-306 Office Phone:488-9882 INTRODUCTION TO DIGITAL LOGIC

Levent EREN levent.eren@ieu.edu.tr A-306 Office Phone:488-9882 INTRODUCTION TO DIGITAL LOGIC Levent EREN levent.eren@ieu.edu.tr A-306 Office Phone:488-9882 1 Number Systems Representation Positive radix, positional number systems A number with radix r is represented by a string of digits: A n

More information

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

This lesson can be adapted to the grade level by the presenter. Decide the level of content and activities as appropriate. Binary Coding Preparation Grade Level: K-5 Group Size: 20-30 Time: 50 Minutes Presenters: 1-3 This lesson can be adapted to the grade level by the presenter. Decide the level of content and activities

More information

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

Acknowledgments. Thanks to the following web site and people for the materials and images used in this presentation: Computers Hardware Acknowledgments Thanks to the following web site and people for the materials and images used in this presentation: -Wikipedia -Prof. Patrice Koehl -Prof. Chirs Nitta -Sean Davis -Nick

More information

McGraw-Hill Technology Education McGraw-Hill Technology Education

McGraw-Hill Technology Education McGraw-Hill Technology Education McGraw-Hill Technology Education McGraw-Hill Technology Education Copyright 2006 by The McGraw-Hill Companies, Inc. All rights reserved. Copyright 2006 by The McGraw-Hill Companies, Inc. All rights reserved.

More information

Introduction to Computer Architecture Concepts

Introduction to Computer Architecture Concepts to Computer Architecture Concepts 1. We will start at the very beginning, first with the fundamental concepts behind the modern digital computer, and then some details of their implementation. Many people,

More information