The Fetch-Execute Cycle

Size: px
Start display at page:

Download "The Fetch-Execute Cycle"

Transcription

1 The Fetch-Execute Cycle Fetch the next instruction Decode the instruction Get data (if needed) Execute the instruction Remember: In a vn machine, both instructions and data are stored in the same memory! 1

2 The Fetch-Execute Cycle 2 Read pp of text!

3 RAM and ROM The memory used for the main memory (MM) of a computer is of 2 types: RAM and ROM Both can be accessed directly, i.e. in constant time, by providing a memory address. Both can be read. However, when it comes to writing

4 RAM and ROM Random Access Memory (RAM): can be changed (written) is volatile Read Only Memory (ROM): cannot be changed (written) is not volatile Take this with a grain of salt: Today s ROMs can be written, just not as fast as RAMs.

5 Secondary Storage The size of the MM (RAM+ROM) in today s computers ranges between The amounts of data we need to store are much larger! Example: Youtube video clips 20 GB Secondary storage is a.k.a. mass/volume/bulk storage. 5

6 Secondary Storage technologies Magnetic: drum, tape, floppy disk, hard disk (internal or external) Semiconductors: flash drive, SD card Optical: CD-R (WORM=Write Once Read Many times), DVD-R, DVD-R DL, Blue-Ray Emerging: spintronics (MRAM), Ferroelectric RAM, DNA storage, etc. 6

7 Other benefits of Secondary Storage Portability Reliability (backups) Modularity (add as you go) 7

8 The first truly mass storage device was the magnetic tape drive Magnetic Tape Tape drives have a major problem; can you spot it? Figure 5.4 A magnetic tape

9 The first high-volume auxiliary storage device was the magnetic tape drive Image sources:

10 Magnetic Disk - HDD Platter Amount of information (bits, bytes) is the same on all tracks Disc rotates at the same angular velocity no matter which track is being read same transfer rate on all tracks! Tracks near center are more densely packed with information

11 QUIZ: HDD A HDD has 512 Bytes/sector, 256 sectors/track, and 10 platters. The diameter of each platter is 10 cm, and each track is 1 mm wide. Calculate the total capacity of the drive in MB. Use binary Mega!

12 Solution A HDD has 512 Bytes/sector, 256 sectors/track, and 10 platters. The diameter of each platter is 100mm, and each track is 1mm wide. Calculate the total capacity of the drive in MB. Use binary Mega! 125 MB

13 Seek time Time it takes for read/write head to be over right track Latency Time it takes for sector to be in position under R/W head Access time = Seek time + latency Transfer rate (e.g. 100 MB/s) 13

14 QUIZ: HDD The arm of a HDD moves at an average velocity of 40 m/s. The platter diameter is 100 mm. What are the minimum and maximum possible seek times? 14 Calculate the average seek time.

15 15 Calculate the average seek time ms Solution The arm of a HDD moves at an average velocity of 40 m/s. The platter diameter is 100 mm. What are the minimum and maximum possible seek times?

16 QUIZ: HDD The spindle of a HDD rotates at 7200 RPM. What are the minimum and maximum possible latencies? Calculate the average latency. 16

17 Solution The spindle of a HDD rotates at 7200 RPM. What are the minimum and maximum possible latencies? Calculate the average latency ms

18 QUIZ: HDD If the previous 2 quizzes refer to the same HDD, what is its average access time? 18

19 Solution If the previous 2 quizzes refer to the same HDD, what is its average access time? 4.16 ms ms = 5.41 ms 19 EOL3

20 QUIZ: HDD A file is on the HDD, on 15 consecutive blocks of the same track. Each block stores 4 KB. Average seek time = 10 ms, average latency = 5 ms. Once the first block is under the head, data is transferred at a rate of 50 MB/s. Calculate the total time needed to transfer the file. 20

21 Solution A file is on the HDD, on 15 consecutive blocks of the same track. Each block stores 4 KB. Average seek time = 10 ms, average latency = 5 ms. Once the first block is under the head, data is transferred at a rate of 50 MB/s. Total time needed to transfer the file: ms 21

22 22 Source:

23 Magnetic Disks - Removable Floppy disks (Why "floppy"?) Year when they first became commercially available: 1969 (8-inch) 1976 (5¼-inch) 1982 (3½-inch) KB 87 KB-1.2 MB 1.44 MB 23

24 Magnetic Disks - Removable Zip disks Iomega, MB, 250 MB, 750 MB 24

25 Flash memory IBM 1998 Nonvolatile! Can be erased and rewritten But there s a rub: Flash Endurance No moving parts! Thumb drives Solid State Drives (SSD) 25

26 To do in notebook for next time: Calculate the cost per gigabyte for HDD and SDD 26 Source: October 2013

27 Optical Disks CD (600 MB) A compact disk that uses a laser to read information stored optically on a plastic disk; data is evenly distributed around track CD-ROM read-only memory CD-DA digital audio CD-WORM or CD-R user can write once, read many times CD-RAM or CD-RW user can both write and read many times DVD (4.7 GB) Digital Versatile Disk, used for storing audio and video DL = dual layer 8.5 GB Blu-Ray (25 GB) DL = dual layer 50 GB 27

28 Your turn! How many songs can be stored on each type of optical disk? CD (600 MB) DVD (4.7 GB) Blu-Ray (25 GB) Hints: The average MP3 file is 4 MB. Use binary multipliers! 28

29 Solution How many songs can be stored on each type of optical disk? CD (600 MB) DVD (4.7 GB) Blu-Ray (25 GB) Hints: The average MP3 file is 4 MB. Use binary multipliers! 29

30 Interesting difference between magnetic and optical disks: Unlike magnetic disks, data on optical disks is uniformly packed per sector length. Tracks near the center have less data than tracks near the periphery. To ensure a uniform transfer rate, the rotation speed changes as the read/write head moves in and out! 30

31 Read and take notes: Touch Screens 31

32 5.3 Embedded Systems Computers that are dedicated to perform a narrow range of functions as part of a larger system. Every computer that doesn t have a normal display and keyboard How many embedded systems do you think are in this room? 32

33 Embedded systems are everywhere today! communications automotive military medical consumer/home machine control (CNC) robotics entertainment Source: Source: www/ethio-civility.com 33

34 5.4 Parallel Architectures Remember that a vn architecture has one main memory and one CPU. There are two ways to evolve into nonvn architectures: 1. Multiple main memories (Harward arch.) 2. Multiple CPUs, a.k.a. parallel arch. 34

35 Parallel Arch.: Synchronous processing One approach to parallelism is to have multiple processors apply the same program to multiple data sets, i.e. Figure 5.8 Processors in a synchronous computing environment 35

36 Not in text Synchronous processing example: GPU = Graphics Processing Unit It was invented by NVIDIA in Image source:

37 Parallel Arch.: Pipelining Processors arranged in tandem, where each processor contributes one part to an overall computation Figure 5.9 Processors in a pipeline 37

38 Not in text Washer-dryer analogy 38

39 Not in text Train analogy 39

40 Find the # of steps in terms of n and k n k Hint: Concentrate on the last car! # of steps is n+k-1 40

41 QUIZ Pipelining A computer pipeline has 3 stages, as shown above. Each stage takes 8 ms to execute, and each instruction must go sequentially through all 3 stages. A program has 5 instructions. Calculate how long it takes to run it: without pipelining with pipelining 41

42 Parallel Arch.: Parallel Processor It s made of a number of vn processors which communicate through shared memory Unlike synchronous processing, there is no central control. Each CPU participates in a distributed control protocol! 42 Figure 5.10 Shared memory configuration of processors

43 To do in notebook for next time: Read pp of our text and take notes Answer end-of-chapter questions 29-36, Homework: 49, 54, 56, 63, 64 Thought Questions 3, 4 Due Monday, Oct.16 at beginning of class 43

Discussion of exam problems

Discussion of exam problems Discussion of exam problems 1 Hint for Homework problem 72: Show how to connect three Full Adders to implement a 2-bit ripplecarry adder 2 C D A B Connect to ground (0) Z X Y 3 Chapter 5 Computing Components

More information

Show how to connect three Full Adders to implement a 3-bit ripple-carry adder

Show how to connect three Full Adders to implement a 3-bit ripple-carry adder Show how to connect three Full Adders to implement a 3-bit ripple-carry adder 1 Reg. A Reg. B Reg. Sum 2 Chapter 5 Computing Components Yet another layer of abstraction! Components Circuits Gates Transistors

More information

Show how to connect three Full Adders to implement a 3-bit ripple-carry adder

Show how to connect three Full Adders to implement a 3-bit ripple-carry adder Show how to connect three Full Adders to implement a 3-bit ripple-carry adder 1 Reg. A Reg. B Reg. Sum 2 Chapter 5 Computing Components Yet another layer of abstraction! Components Circuits Gates Transistors

More information

Quiz on Ch.4 is at the end of Ch.4 slides

Quiz on Ch.4 is at the end of Ch.4 slides Quiz on Ch.4 is at the end of Ch.4 slides 1 Chapter 5 Computing Components Yet another layer of abstraction! Components Circuits Gates Transistors Chapter Goals Read an ad for a computer and understand

More information

1.1 Bits and Bit Patterns. Boolean Operations. Figure 2.1 CPU and main memory connected via a bus. CS11102 Introduction to Computer Science

1.1 Bits and Bit Patterns. Boolean Operations. Figure 2.1 CPU and main memory connected via a bus. CS11102 Introduction to Computer Science 1.1 Bits and Bit Patterns CS11102 Introduction to Computer Science Data Storage 1.1 Bits and Their Storage 1.2 Main Memory 1.3 Mass Storage 1.4 Representation of information as bit patterns Bit: Binary

More information

Chapter 5 Computing Components

Chapter 5 Computing Components Chapter Goals Chapter 5 Computing Components Read an ad for a computer and understand the jargon List the components and their function in a von Neumann machine Describe the fetch-decode-execute cycle

More information

TODAY AND TOMORROW. Storage CHAPTER

TODAY AND TOMORROW. Storage CHAPTER 1 TODAY AND TOMORROW 3 Storage CHAPTER Storage Systems Characteristics All storage systems have specific characteristics Storage medium (what data is stored on) Can be removable or nonremovable from the

More information

MEMORY. Computer memory refers to the hardware device that are used to store and access data or programs on a temporary or permanent basis.

MEMORY. Computer memory refers to the hardware device that are used to store and access data or programs on a temporary or permanent basis. MEMORY Computer memory refers to the hardware device that are used to store and access data or programs on a temporary or permanent basis. There are TWO TYPE of nature of memory in a computer. Temporary/

More information

INFS 214: Introduction to Computing

INFS 214: Introduction to Computing INFS 214: Introduction to Computing Session 6 Storage Technologies Lecturer: Dr. Ebenezer Ankrah, Dept. of Information Studies Contact Information: eankrah@ug.edu.gh College of Education School of Continuing

More information

The personal computer system uses the following hardware device types -

The personal computer system uses the following hardware device types - EIT, Author Gay Robertson, 2016 The personal computer system uses the following hardware device types - Input devices Input devices Processing devices Storage devices Processing Cycle Processing devices

More information

Memory Study Material

Memory Study Material Computer memory refers to the devices that are used to store data or programs on a temporary or permanent basis for use in a computer. Any data or instruction entered into the memory of a computer is considered

More information

Storage. Chapter3 ITBIS105

Storage. Chapter3 ITBIS105 Storage Chapter3 ITBIS105 IS-IT-UOB 2013 Storage What is storage? Holds data, instructions, and information for future use Storage medium is physical material used for storage Also called secondary storage

More information

Computer System Architecture

Computer System Architecture CSC 203 1.5 Computer System Architecture Department of Statistics and Computer Science University of Sri Jayewardenepura Secondary Memory 2 Technologies Magnetic storage Floppy, Zip disk, Hard drives,

More information

Computer Organization

Computer Organization Chapter 5 Computer Organization Figure 5-1 Computer hardware :: Review Figure 5-2 CPU :: Review CPU:: Review Registers are fast stand-alone storage locations that hold data temporarily Data Registers Instructional

More information

Unit 3 Part B. Computer Storage. Computer Technology

Unit 3 Part B. Computer Storage. Computer Technology Unit 3 Part B Computer Storage Computer Technology Storage The place in the computer where data is held while it is not needed for processing A storage device is device used to record (store) data The

More information

What is Data Storage?

What is Data Storage? What is Data Storage? When we talk about storing data, we mean putting the data in a known place. We can later come back to that place and get our data back again. Writing data or saving data are other

More information

Discovering Computers 2008

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

More information

FACTFILE: GCE DIGITAL TECHNOLOGY

FACTFILE: GCE DIGITAL TECHNOLOGY FACTFILE: GCE DIGITAL TECHNOLOGY AS2: FUNDAMENTALS OF DIGITAL TECHNOLOGY Hardware and Software Architecture 2 Learning Outcomes Students should be able to: explain the need for secondary storage; describe

More information

Technology in Action. Chapter Topics. Participation Question. Participation Question. Participation Question 8/8/11

Technology in Action. Chapter Topics. Participation Question. Participation Question. Participation Question 8/8/11 Technology in Action Chapter 6 Understanding and Assessing Hardware: Evaluating Your System 1 Chapter Topics To buy or to upgrade? Evaluating your system CPU RAM Storage devices Video card Sound card System

More information

A track on a magnetic disk is a concentric rings where data is stored.

A track on a magnetic disk is a concentric rings where data is stored. CS 320 Ch 6 External Memory Figure 6.1 shows a typical read/ head on a magnetic disk system. Read and heads separate. Read head uses a material that changes resistance in response to a magnetic field.

More information

Semiconductor Memory Types Microprocessor Design & Organisation HCA2102

Semiconductor Memory Types Microprocessor Design & Organisation HCA2102 Semiconductor Memory Types Microprocessor Design & Organisation HCA2102 Internal & External Memory Semiconductor Memory RAM Misnamed as all semiconductor memory is random access Read/Write Volatile Temporary

More information

Storage. How does volatility compare? What is a storage device and a storage medium? Today s standard disk is 3.5 wide

Storage. How does volatility compare? What is a storage device and a storage medium? Today s standard disk is 3.5 wide 1 Chapter 7 Storage 2 Chapter 7 Objectives 3 Memory Versus Storage 1 What is storage? 2 Media and devices used to store and retrieve data, instructions,and information 4 Memory Versus Storage 1 How does

More information

General Items: Reading Materials: Miscellaneous: Lecture 9 / Chapter 7 COSC1300/ITSC 1401/BCIS /19/2004 ? H ? T

General Items: Reading Materials: Miscellaneous: Lecture 9 / Chapter 7 COSC1300/ITSC 1401/BCIS /19/2004 ? H ? T General Items:? H Reading Materials:? T Miscellaneous: F.Farahmand 1 / 11 File: lec8chap7f04.doc Electronic Storage - The medium on which we can keep data, instructions, and information - Examples: Floppy

More information

1. True or False? For tasks like Web surfing, sufficient memory can make up for a slow processor.

1. True or False? For tasks like Web surfing, sufficient memory can make up for a slow processor. Review questions for Chapter 5 Computer Components 1. True or False? For tasks like Web surfing, sufficient memory can make up for a slow processor. 2. True or False? A megabyte of memory space is larger

More information

Contents. Memory System Overview Cache Memory. Internal Memory. Virtual Memory. Memory Hierarchy. Registers In CPU Internal or Main memory

Contents. Memory System Overview Cache Memory. Internal Memory. Virtual Memory. Memory Hierarchy. Registers In CPU Internal or Main memory Memory Hierarchy Contents Memory System Overview Cache Memory Internal Memory External Memory Virtual Memory Memory Hierarchy Registers In CPU Internal or Main memory Cache RAM External memory Backing

More information

Magnetic Disk. Optical. Magnetic Tape. RAID Removable. CD-ROM CD-Recordable (CD-R) CD-R/W DVD

Magnetic Disk. Optical. Magnetic Tape. RAID Removable. CD-ROM CD-Recordable (CD-R) CD-R/W DVD External Memory Magnetic Disk RAID Removable Optical CD-ROM CD-Recordable (CD-R) CD-R/W DVD Magnetic Tape Disk substrate coated with magnetizable material (iron oxide rust) Substrate used to be aluminium

More information

16/06/56. Secondary Storage. Secondary Storage. Secondary Storage The McGraw-Hill Companies, Inc. All rights reserved.

16/06/56. Secondary Storage. Secondary Storage. Secondary Storage The McGraw-Hill Companies, Inc. All rights reserved. Distinguish between primary and secondary storage. Discuss the important characteristics of secondary storage, including media, capacity, storage devices, and access speed. Describe hard disk platters,

More information

Topic 4: Storage Devices

Topic 4: Storage Devices Topic 4: Storage Devices 4.1 Introduction A storage device is a computer peripheral which is used to store data and programs for a specific interval of time. A computer system usually contains several

More information

Backing Storage Media

Backing Storage Media Backing Storage Media Key Words The following words will crop up as part of the following presentation. You should use your notes sheet to log information about them when it is covered. You will be quizzed

More information

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

William Stallings Computer Organization and Architecture 8 th Edition. Chapter 6 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

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

Chapter 6A. Describing Storage Devices. Describing Storage Devices. Types of Storage Devices. Store data when computer is off Two processes

Chapter 6A. Describing Storage Devices. Describing Storage Devices. Types of Storage Devices. Store data when computer is off Two processes Chapter 6A Types of Storage Devices Describing Storage Devices Store data when computer is off Two processes Writing data Reading data 2 Describing Storage Devices Storage terms Media is the material storing

More information

BCN1043. By Dr. Mritha Ramalingam. Faculty of Computer Systems & Software Engineering

BCN1043. By Dr. Mritha Ramalingam. Faculty of Computer Systems & Software Engineering BCN1043 By Dr. Mritha Ramalingam Faculty of Computer Systems & Software Engineering mritha@ump.edu.my http://ocw.ump.edu.my/ authors Dr. Mohd Nizam Mohmad Kahar (mnizam@ump.edu.my) Jamaludin Sallim (jamal@ump.edu.my)

More information

Chapter 2. Working with Disks and Other Removable Media

Chapter 2. Working with Disks and Other Removable Media Chapter 2 Working with Disks and Other Removable Media In This Chapter Understanding and Selecting Storage Obtaining Information about Computer Disks Assigning a Volume Label Working with USB Flash Drives

More information

UNIT 2 Data Center Environment

UNIT 2 Data Center Environment UNIT 2 Data Center Environment This chapter provides an understanding of various logical components of hosts such as file systems, volume managers, and operating systems, and their role in the storage

More information

Pharmacy college.. Assist.Prof. Dr. Abdullah A. Abdullah

Pharmacy college.. Assist.Prof. Dr. Abdullah A. Abdullah The kinds of memory:- 1. RAM(Random Access Memory):- The main memory in the computer, it s the location where data and programs are stored (temporally). RAM is volatile means that the data is only there

More information

Session: Hardware Topic: Disks. Daniel Chang. COP 3502 Introduction to Computer Science. Lecture. Copyright August 2004, Daniel Chang

Session: Hardware Topic: Disks. Daniel Chang. COP 3502 Introduction to Computer Science. Lecture. Copyright August 2004, Daniel Chang Lecture Session: Hardware Topic: Disks Daniel Chang Basic Components CPU I/O Devices RAM Operating System Disks Considered I/O devices Used to hold data and programs before they are loaded to memory and

More information

Advanced Parallel Architecture Lesson 4 bis. Annalisa Massini /2015

Advanced Parallel Architecture Lesson 4 bis. Annalisa Massini /2015 Advanced Parallel Architecture Lesson 4 bis Annalisa Massini - 2014/2015 Internal Memory RAM Many memory types are random access individual words of memory are directly accessed through wired-in addressing

More information

Storage Devices for Database Systems

Storage Devices for Database Systems Storage Devices for Database Systems 5DV120 Database System Principles Umeå University Department of Computing Science Stephen J. Hegner hegner@cs.umu.se http://www.cs.umu.se/~hegner Storage Devices for

More information

Holds data, instructions, and information for future use Storage medium is physical material used for storage

Holds data, instructions, and information for future use Storage medium is physical material used for storage Chapter 3 Storage Storage What is storage? Holds data, instructions, and information for future use Storage medium is physical material used for storage Also called secondary storage such as : floppy disks,

More information

General Computing Concepts. Coding and Representation. General Computing Concepts. Computing Concepts: Review

General Computing Concepts. Coding and Representation. General Computing Concepts. Computing Concepts: Review Computing Concepts: Review Coding and Representation Computers represent all information in terms of numbers ASCII code: Decimal number 65 represents A RGB: (255,0,0) represents the intense red Computers

More information

Computers Are Your Future

Computers Are Your Future Computers Are Your Future 2006 Prentice-Hall, Inc. Computers Are Your Future Chapter 7 Input/Output and Storage 2006 Prentice-Hall, Inc Slide 2 Input Input is any data entered into the computer s memory

More information

Computers Are Your Future Prentice-Hall, Inc.

Computers Are Your Future Prentice-Hall, Inc. Computers Are Your Future 2006 Prentice-Hall, Inc. Computers Are Your Future Chapter 7 Input/Output and Storage 2006 Prentice-Hall, Inc Slide 2 What You Will Learn About ü The purpose of special keys and

More information

CS 33. Memory Hierarchy I. CS33 Intro to Computer Systems XVI 1 Copyright 2016 Thomas W. Doeppner. All rights reserved.

CS 33. Memory Hierarchy I. CS33 Intro to Computer Systems XVI 1 Copyright 2016 Thomas W. Doeppner. All rights reserved. CS 33 Memory Hierarchy I CS33 Intro to Computer Systems XVI 1 Copyright 2016 Thomas W. Doeppner. All rights reserved. Random-Access Memory (RAM) Key features RAM is traditionally packaged as a chip basic

More information

Computer Organization: A Programmer's Perspective

Computer Organization: A Programmer's Perspective A Programmer's Perspective Computer Architecture and The Memory Hierarchy Gal A. Kaminka galk@cs.biu.ac.il Typical Computer Architecture CPU chip PC (Program Counter) register file ALU Main Components

More information

Secondary Storage Devices: Magnetic Disks Optical Disks Floppy Disks Magnetic Tapes CENG 351 1

Secondary Storage Devices: Magnetic Disks Optical Disks Floppy Disks Magnetic Tapes CENG 351 1 Secondary Storage Devices: Magnetic Disks Optical Disks Floppy Disks Magnetic Tapes CENG 351 1 Secondary Storage Devices Two major types of secondary storage devices: 1. Direct Access Storage Devices (DASDs)

More information

Computer Principles and Applications SSC. 151 Dr. Abdel-Hameed Nawar Spring Solution Key to Problem Set 3

Computer Principles and Applications SSC. 151 Dr. Abdel-Hameed Nawar Spring Solution Key to Problem Set 3 Social Science Computing Department Faculty of Economics and Political Science Computer Principles and Applications Cairo University SSC. 151 Dr. Abdel-Hameed Nawar Spring 2009 Name: ID No. Date : Section

More information

What is the typical configuration of a computer sold today? 1-1

What is the typical configuration of a computer sold today? 1-1 What is the typical configuration of a computer sold today? 1-1 Computer Hardware Components In this chapter: How did the computer become known as the stored-program computer? Do they all have the same

More information

STORAGE. Memory Versus Storage

STORAGE. Memory Versus Storage STORAGE Memory Versus Storage Memory Memory, which is composed of one or more chips on the motherboard, holds data and instruction while they are being processed by the CPU. The contents of volatile memory,

More information

COMPUTER STORAGE DEVICES

COMPUTER STORAGE DEVICES COMPUTER STORAGE DEVICES A storage device records and retrieves items to and from a storage medium. A storage media is the actual physical material that holds data and programs. Writing is the process

More information

Computers. Storage, storage units & accessing. R. S., Elektronika,

Computers. Storage, storage units & accessing. R. S., Elektronika, Computers Storage, storage units & accessing R. S., Elektronika, 10. 12. 2008 Data storage devices A data storage device is a device for recording (storing) information (data). Recording can be done using

More information

Intentionally Blank 0

Intentionally Blank 0 Intentionally Blank 0 Technology in Action Chapter 2 Looking at Computers: Understanding the Parts 1 Understanding Your Computer: Computers are Data Processing Devices Perform four major functions Input:

More information

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

William Stallings Computer Organization and Architecture 6 th Edition. Chapter 6 External Memory William Stallings Computer Organization and Architecture 6 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

Storage Technologies and the Memory Hierarchy

Storage Technologies and the Memory Hierarchy Storage Technologies and the Memory Hierarchy 198:231 Introduction to Computer Organization Lecture 12 Instructor: Nicole Hynes nicole.hynes@rutgers.edu Credits: Slides courtesy of R. Bryant and D. O Hallaron,

More information

Today: Secondary Storage! Typical Disk Parameters!

Today: Secondary Storage! Typical Disk Parameters! Today: Secondary Storage! To read or write a disk block: Seek: (latency) position head over a track/cylinder. The seek time depends on how fast the hardware moves the arm. Rotational delay: (latency) time

More information

Ch. 1: Computer System part I

Ch. 1: Computer System part I Chapter 1 Computer System Ch. 1: Computer System part I Benjamas Panyangam 2013 Revision by Suphakit Awiphan Ph.D. Adapted for English Section by Kittipitch Kuptavanich And Prakarn Unachak Computer Classification

More information

FUNCTIONS OF COMPONENTS OF A PERSONAL COMPUTER

FUNCTIONS OF COMPONENTS OF A PERSONAL COMPUTER FUNCTIONS OF COMPONENTS OF A PERSONAL COMPUTER Components of a personal computer - Summary Computer Case aluminium casing to store all components. Motherboard Central Processor Unit (CPU) Power supply

More information

Introduction to Computers

Introduction to Computers Introduction to Computers Considers: Definition of computer Computer system devices Central Processing Unit Introduction to software What Is A Computer? A computer is an electronic device, operating under

More information

Storage. CS 3410 Computer System Organization & Programming

Storage. CS 3410 Computer System Organization & Programming Storage CS 3410 Computer System Organization & Programming These slides are the product of many rounds of teaching CS 3410 by Deniz Altinbuke, Kevin Walsh, and Professors Weatherspoon, Bala, Bracy, and

More information

Storage System COSC UCB

Storage System COSC UCB Storage System COSC4201 1 1999 UCB I/O and Disks Over the years much less attention was paid to I/O compared with CPU design. As frustrating as a CPU crash is, disk crash is a lot worse. Disks are mechanical

More information

Table 6.1 Physical Characteristics of Disk Systems

Table 6.1 Physical Characteristics of Disk Systems Table 6.1 Physical Characteristics of Disk Systems Head Motion Fixed head (one per track) Movable head (one per surface) Disk Portability Nonremovable disk Removable disk Sides Single sided Double sided

More information

External Memory. Computer Architecture. Magnetic Disk. Outline. Data Organization and Formatting. Write and Read Mechanisms

External Memory. Computer Architecture. Magnetic Disk. Outline. Data Organization and Formatting. Write and Read Mechanisms Computer Architecture Prof. Dr. Nizamettin AYDIN naydin@yildiz.edu.tr nizamettinaydin@gmail.com External Memory http://www.yildiz.edu.tr/~naydin 1 2 Outline Types of External Memory Magnetic Disk Magnetic

More information

Sir Sadiq s computer notes for class IX. Chapter no 4. Storage Devices

Sir Sadiq s computer notes for class IX. Chapter no 4. Storage Devices 17 Q: Define Computer memory or storage. Ans: Memory: Memory refers to the place where data is kept for later use. For example, a human being has a memory where he/she stores the things that can be recalled

More information

Discovering Computers Fundamentals, 2011 Edition. Living in a Digital World

Discovering Computers Fundamentals, 2011 Edition. Living in a Digital World Discovering Computers Fundamentals, 2011 Edition Living in a Digital World Objectives Overview Describe the characteristics of an internal hard disk including capacity, platters, read/write heads, cylinders,

More information

Objectives Overview. Chapter 7 Types of Storage. Instructor: M. Imran Khalil. MSc-IT 1st semester Fall Discovering Computers 2012

Objectives Overview. Chapter 7 Types of Storage. Instructor: M. Imran Khalil. MSc-IT 1st semester Fall Discovering Computers 2012 Chapter 7 Types of Storage Instructor: M. Imran Khalil MSc-IT 1 st Semester Fall 2016 Discovering Computers 2012 Your Interactive Guide to the Digital World Objectives Overview Differentiate between storage

More information

Introduction To Computer Hardware. Hafijur Rahman

Introduction To Computer Hardware. Hafijur Rahman Introduction To Computer Hardware Lecture 2 Hafijur Rahman What is a Computer? A computer is an electronic device, which can input, process, and output data. input processing output A computer is a machine

More information

Chapter One. Introduction to Computer System

Chapter One. Introduction to Computer System Principles of Programming-I / 131101 Prepared by: Dr. Bahjat Qazzaz -------------------------------------------------------------------------------------------- Chapter One Introduction to Computer System

More information

The Memory Hierarchy /18-213/15-513: Introduction to Computer Systems 11 th Lecture, October 3, Today s Instructor: Phil Gibbons

The Memory Hierarchy /18-213/15-513: Introduction to Computer Systems 11 th Lecture, October 3, Today s Instructor: Phil Gibbons The Memory Hierarchy 15-213/18-213/15-513: Introduction to Computer Systems 11 th Lecture, October 3, 2017 Today s Instructor: Phil Gibbons 1 Today Storage technologies and trends Locality of reference

More information

vinodsrivastava.wordpress.com

vinodsrivastava.wordpress.com vinodsrivastava.wordpress.com SECTION 3 STORAGE SYSTEM This Section you will learn about: BACK-UP STORAGE NEED OF BACK-UP ACCESSING DATA FROM STORAGE TYPE OF BACKUP(Secondary Storage) Devices o Magnetic-

More information

Grade 5 lesson 2 Computer storage and computer care and you

Grade 5 lesson 2 Computer storage and computer care and you Grade 5 lesson 2 Computer storage and computer care and you COMPUTER STORAGE 1 Storage is a means to hold and store data to present and future use. All computers have some sort of storage to function properly.

More information

Semiconductor Memory Types. Computer & Microprocessor Architecture HCA103. Memory Cell Operation. Semiconductor Memory.

Semiconductor Memory Types. Computer & Microprocessor Architecture HCA103. Memory Cell Operation. Semiconductor Memory. Semiconductor Memory Types Computer & Microprocessor Architecture HCA103 Internal & External Memory UTM-RHH Slide Set 5 1 UTM-RHH Slide Set 5 2 Semiconductor Memory RAM Misnamed as all semiconductor memory

More information

Overview of Storage & Indexing (i)

Overview of Storage & Indexing (i) ICS 321 Spring 2013 Overview of Storage & Indexing (i) Asst. Prof. Lipyeow Lim Information & Computer Science Department University of Hawaii at Manoa 4/3/2013 Lipyeow Lim -- University of Hawaii at Manoa

More information

lesson 3 Transforming Data into Information

lesson 3 Transforming Data into Information essential concepts lesson 3 Transforming Data into Information This lesson includes the following sections: How Computers Represent Data How Computers Process Data Factors Affecting Processing Speed Extending

More information

Chapter 10: Mass-Storage Systems

Chapter 10: Mass-Storage Systems COP 4610: Introduction to Operating Systems (Spring 2016) Chapter 10: Mass-Storage Systems Zhi Wang Florida State University Content Overview of Mass Storage Structure Disk Structure Disk Scheduling Disk

More information

Storage. What is storage? Holds data, instructions, and information for future use Storage medium is physical material used for storage

Storage. What is storage? Holds data, instructions, and information for future use Storage medium is physical material used for storage Storage 1 Storage What is storage? Holds data, instructions, and information for future use Storage medium is physical material used for storage Also called secondary storage p. 7.02 Fig. 7-1 2 Storage

More information

Elementary Computing CSC M. Cheng, Computer Science 1

Elementary Computing CSC M. Cheng, Computer Science 1 Elementary Computing CSC 100 2014-07-14 M. Cheng, Computer Science 1 CPU and Memory Inside of a computer CPU and RAM Clock Speed & Multi-core Microprocessor How a CPU works Secondary Storage 2014-07-14

More information

Basic Computer Hardware Notes in PDF

Basic Computer Hardware Notes in PDF Basic Computer Hardware Notes in PDF Computer Awareness is tested in almost every exam. Some exams like SBI PO, SBI Clerk, IBPS PO, IBPS Clerk, SSC CGL, Railways RRB etc. require you to have Basic Computer

More information

15/09/15. Introduction to Computers & The Internet. Contents. Computer hardware and software. Input and output devices CPU. Memory.

15/09/15. Introduction to Computers & The Internet. Contents. Computer hardware and software. Input and output devices CPU. Memory. Introduction to Computers & The Internet Dr. Ahmad Reeves Computer Science Dep. Lecture 2 Contents Computer hardware and software Input and output devices CPU Memory Storage Motherboard Computers Have

More information

COMPUTER SYSTEM. COMPUTER SYSTEM IB DP Computer science Standard Level ICS3U. COMPUTER SYSTEM IB DP Computer science Standard Level ICS3U

COMPUTER SYSTEM. COMPUTER SYSTEM IB DP Computer science Standard Level ICS3U. COMPUTER SYSTEM IB DP Computer science Standard Level ICS3U C A N A D I A N I N T E R N A T I O N A L S C H O O L O F H O N G K O N G 5.1 Introduction 5.2 Components of a Computer System Algorithm The Von Neumann architecture is based on the following three characteristics:

More information

Mass-Storage Structure

Mass-Storage Structure CS 4410 Operating Systems Mass-Storage Structure Summer 2011 Cornell University 1 Today How is data saved in the hard disk? Magnetic disk Disk speed parameters Disk Scheduling RAID Structure 2 Secondary

More information

Chapter 6 Part 1 Understanding Hardware

Chapter 6 Part 1 Understanding Hardware Chapter 6 Part 1 Understanding Hardware CS10001- Computer Literacy Chapter 6: Understanding and Assessing Hardware 1 System Evaluation The subsystems to understand: CPU subsystem Memory subsystem Storage

More information

Foundations of Computer Systems

Foundations of Computer Systems 18-600 Foundations of Computer Systems Lecture 12: The Memory Hierarchy John Shen & Zhiyi Yu October 10, 2016 Required Reading Assignment: Chapter 6 of CS:APP (3 rd edition) by Randy Bryant & Dave O Hallaron

More information

Lecture 18: Memory Systems. Spring 2018 Jason Tang

Lecture 18: Memory Systems. Spring 2018 Jason Tang Lecture 18: Memory Systems Spring 2018 Jason Tang 1 Topics Memory hierarchy Memory operations Cache basics 2 Computer Organization Computer Processor Memory Devices Control Datapath Input Output So far,

More information

1. What is the difference between primary storage and secondary storage?

1. What is the difference between primary storage and secondary storage? 1. What is the difference between primary storage and secondary storage? Primary Storage is - Limited - Volatile - Expensive - Fast (May be accessed directly from the CPU) - Retrieving a single character

More information

Introduction to computers

Introduction to computers Introduction to Computers 1 Introduction to computers You will learn what are the basic components of a computer system and the rudiments of how those components work. Are Computers Really So Confusing?

More information

CO212 Lecture 6: Memory Organization III

CO212 Lecture 6: Memory Organization III CO212 Lecture 6: Memory Organization III Shobhanjana Kalita, Dept. of CSE, Tezpur University Slides courtesy: Computer Architecture and Organization, 9 th Ed, W. Stallings External Memory Magnetic disks

More information

FY04: jennifer george. Course Information

FY04: jennifer george. Course Information FY04: Course Information Autumn Term Jennifer George Email: mas02jg@gold.ac.uk Office Hours: Mondays 3.00pm 5.00pm (email for appointments) Office: Room 4, 29 St James 1 Lectures & Labs Lectures: RHB 306

More information

Disks, Memories & Buffer Management

Disks, Memories & Buffer Management Disks, Memories & Buffer Management The two offices of memory are collection and distribution. - Samuel Johnson CS3223 - Storage 1 What does a DBMS Store? Relations Actual data Indexes Data structures

More information

A Review of Chapter 5 and. CSc 2010 Spring 2012 Instructor: Qian Hu

A Review of Chapter 5 and. CSc 2010 Spring 2012 Instructor: Qian Hu A Review of Chapter 5 and Chapter 6 Chapter 5 Computer Systems Organization Von Neumann Architecture 4 Components Memory Input/output ALU Control Unit Two major features Stored program concept Sequential

More information

SEN361 Computer Organization. Prof. Dr. Hasan Hüseyin BALIK (6 th Week)

SEN361 Computer Organization. Prof. Dr. Hasan Hüseyin BALIK (6 th Week) + SEN361 Computer Organization Prof. Dr. Hasan Hüseyin BALIK (6 th Week) + Outline 2. The computer system 2.1 A Top-Level View of Computer Function and Interconnection 2.2 Cache Memory 2.3 Internal Memory

More information

INTRODUCTION TO Data Storage

INTRODUCTION TO Data Storage Introduction to Computing INTRODUCTION TO Data Storage CPU AND MICROPROCESSOR Memory Used to store data, instructions, and information The operating system and other system software Application programs

More information

UNIT 3 SECONDARY STORAGE TECHNIQUES

UNIT 3 SECONDARY STORAGE TECHNIQUES Basic Computer Organisation UNIT 3 SECONDARY STORAGE TECHNIQUES Structure Page No. 3.0 Introduction 64 3.1 Objectives 64 3.2 Secondary Storage Systems 65 3.3 Hard Drives 65 3.3.1 Characteristics: Drive

More information

Monday, May 4, Discs RAID: Introduction Error detection and correction Error detection: Simple parity Error correction: Hamming Codes

Monday, May 4, Discs RAID: Introduction Error detection and correction Error detection: Simple parity Error correction: Hamming Codes Monday, May 4, 2015 Topics for today Secondary memory Discs RAID: Introduction Error detection and correction Error detection: Simple parity Error correction: Hamming Codes Storage management (Chapter

More information

True/False Indicate whether the statement is true or false. Bubble A for True and B for False

True/False Indicate whether the statement is true or false. Bubble A for True and B for False 1A Name _ Midterm Review Part 1 Lesson 1 and 2 True/False Indicate whether the statement is true or false. Bubble A for True and B for False 1. A computer is an electronic device that receives data (input),

More information

True/False Indicate whether the statement is true or false. Bubble A for True and B for False

True/False Indicate whether the statement is true or false. Bubble A for True and B for False 1 Name Midterm Review Part 1 Lesson 1 and 2 "B" True/False Indicate whether the statement is true or false. Bubble A for True and B for False 1. Eight bits are equal to one byte. 2. A computer is an electronic

More information

CSC1201 Computer Applications. Budditha Hettige Department of Computer Science

CSC1201 Computer Applications. Budditha Hettige Department of Computer Science CSC1201 Computer Applications Budditha Hettige Department of Computer Science Session 01 Introduction to Computers What is a computer? is a machine comprise of electronic components has ability to store

More information

Random Access Memory (RAM)

Random Access Memory (RAM) Random Access Memory (RAM) Key features RAM is traditionally packaged as a chip. Basic storage unit is normally a cell (one bit per cell). Multiple RAM chips form a memory. Static RAM (SRAM) Each cell

More information

Digital Circuits ECS 371

Digital Circuits ECS 371 Digital Circuits ECS 371 Dr. Prapun Suksompong prapun@siit.tu.ac.th Lecture 25 Office Hours: BKD 3601-7 Monday 9:00-10:30, 1:30-3:30 Tuesday 10:30-11:30 1 Announcement Reading Assignment: Chapter 7: 7-1,

More information

Day 3. Storage Devices + Types of Memory + Measuring Memory + Computer Performance

Day 3. Storage Devices + Types of Memory + Measuring Memory + Computer Performance Day 3 Storage Devices + Types of Memory + Measuring Memory + Computer Performance 11-10-2015 12-10-2015 Storage Devices Storage capacity uses several terms to define the increasing amounts of data that

More information

COMPUTER ARCHITECTURE

COMPUTER ARCHITECTURE COMPUTER ARCHITECTURE 8 Memory Types & Technologies RA - 8 2018, Škraba, Rozman, FRI Memory types & technologies - objectives 8 Memory types & technologies - objectives: Basic understanding of: The speed

More information