CS 2 Main Memory and Backing Store. 2 0100 1000 Memory address (1) Memory is “place’ to store digital signals (0 1)

Slides:



Advertisements
Similar presentations
Storage Devices Primary storage: is the storage provided
Advertisements

Storage Devices.
Computer Systems I’m ONLY a machine!.
Professor Michael J. Losacco CIS 1110 – Using Computers Storage Chapter 6.
Backing Storage Chapter 18.
Storage Devices and Media
CANETE, Jivan Ray GOMEZ, Edgar Jr. JITO, Louisan Veth.
Memory. When we receive some instruction or information we retain them in our memory. Similarly a computer stores the instructions for solving a problem,
3.1 Storage. Overview Compare the following storage devices in terms of storage capacity, cost, speed of data retrieval and suitability for specific purposes:
Chapter 3 – Computer Hardware Computer Components – Hardware (cont.) Lecture 3.
Storage Devices Presented by: Saba Mudassar. Storage Devices Primary storage: is the storage provided by memory in a computer system e.g. ROM/RAM. Secondary.
The two types of storage: Primary Storage Secondary Storage
Memory. Random Access Memory Defined What is memory? operating system and other system software that control the usage of the computer equipment application.
Computer Systems I’m ONLY a machine! Standard Grade Revision.
Hardware Case that houses the computer Monitor Keyboard and Mouse Disk Drives – floppy disk, hard disk, CD Motherboard Power Supply (PSU) Speakers Ports.
Storage. Memory RAM Virtual Memory Cache Memory ROM Motherboard.
Computing Hardware Starter.
Chapter 2: CPU &Data Storage. CPU Each computer has at least one CPU Each computer has at least one CPU CPU execute instructions to carry out tasks –
MAC OS – Unit A Page: 10-11, Investigating Data Processing Understanding Memory.
Chapter 1 1.  The computer system consists of: 1. Hardware: Physical Components, like the system unit,monitor,keyboard, mouse, camera, printer … etc.
Storing Data: Electronic Filing Cabinets What You Will Learn Difference between memory and storage How storage media are categorized Measuring a storage.
Introduction to Computers
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
WHAT IS COMPUTER STORAGE? Computer storage is the storing of data in an electromagnetic form to be accessed by a computer processor.
Computer Hardware Information Technology Week 5 and 6
GCSE Information Technology Storing data Data storage devices can be divided into 2 main categories: Backing storage is used to store programs and data.
AS Computing Storage devices. Primary storage  A computer’s main memory (RAM) is known as primary memory.  Primary memory is volatile; when the computer.
TheTeacher Computing Data Storage Computing. TheTeacher Computing Primary Storage One of the fundamental properties of a computer is that it can store.
Overview of Physical Storage Media
Chidambaranathan C.M SRM University,Haryana. Memory:- As the word implies “memory” means the place where we have to store any thing, this is very essential.
8 SECONDARY STORAGE CHAPTER
CIM101 : Introduction to computer Lecture 3 Memory.
Data Storage. 3 types of storage to remember ROM RAM Secondary or backing storage.
SECONDARY STORAGE DEVICES. Agenda of Today’s Lecture  Introduction to Hardware  Types of hardware devices  Storage Devices  Secondary Storage devices.
Our Lady of the Rosary College S.2 Computer Literacy Lesson 8 Storage Unit Mr. Ku Heung Chin.
 Bits & Bytes Bits & Bytes  Units of data Units of data  Storage devices Storage devices  Storage Types Storage Types  Secondary Storage Secondary.
1 Course Title: IT IN BUSINESS Course Instructor: ADEEL ANJUM Chapter No: 04 1 BY ADEEL ANJUM (MCS, CCNA,WEB DEVELOPER)
Allow computers to store programs and information for use at a later date Storage Devices.
COMPUTER MEMORY & DATA STORAGE. ROM ROM is short for Read Only Memory. –I–It is permanent, long-term memory which cannot be erased or changed in any way;
Storage of Data Instructions and data are held in main memory which is divided into millions of addressable storage.
By : Reem Hasayen. A storage device is a hardware device capable of storing information. There are two types of storage devices used in computers 1. Primary.
Computer Organization. The Five Hardware Units General purpose computers use the "Von Neumann" architecture Also referred to as "stored program" architecture.
CS 101 – Sept. 28 Main vs. secondary memory Examples of secondary storage –Disk (direct access) Various types Disk geometry –Flash memory (random access)
Computer Systems. Bits Computers represent information as patterns of bits A bit (binary digit) is either 0 or 1 –binary  “two states” true and false,
STORAGE DEVICES Introduction Comparision Storage Hierarchy Slide 1.
Storage Devices Primary storage: is the storage provided by memory in a computer system e.g. ROM/RAM. Secondary storage: is storage provided by peripheral.
Storage devices 1. Storage Storage device : stores data and programs permanently its retained after the power is turned off. The most common type of storage.
Memory The term memory is referred to computer’s main memory, or RAM (Random Access Memory). RAM is the location where data and programs are stored (temporarily),
Main Memory Main memory – –a collection of storage locations, –each with a unique identifier called the address. Word- –Data are transferred to and from.
Computer Systems I’m ONLY a machine! Ashkarali P Asst. Professor GCM Wayanad Ashkarali, GCM.
Computer Performance & Storage Devices Computer Technology.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 1 Looking Inside the Computer System.
Copyright © 2003 Prentice Hall, Inc 1 Chapter 4 Storing Data: Electronic Filing Cabinets NEXT SLIDE.
ICT IGCSE Theory – Revision Presentation 3.1 Storage devices and media Chapter 3: Storage devices and media Identify storage devices,
STORAGE DEVICES Towards the end of this unit you will be able to identify the type of storage devices and their storage capacity.
Reference: Chp 6 Introduction to Computers by Peter Norton
Memory and storage AS identifies the main hardware components of at least two types of computer. AS states and discusses the implications.
STORAGE DEVICES Towards the end of this unit you will be able to identify the type of storage devices and their storage capacity.
Introduction to Computers
COMPUTER MEMORY & DATA STORAGE
Introduction to Computers
COMPUTER MEMORY & DATA STORAGE
STORAGE DEVICES Towards the end of this unit you will be able to identify the type of storage devices and their storage capacity.
Secondary Storage Devices
Introduction to Computers
Standard Grade Revision
2.C Memory GCSE Computing Langley Park School for Boys.
1 BY Prof. S. DAS (PhD, UK). 2 CONTENTS Introduction RAM,ROM,PROM,EPROM Auxiliary Storage Devices-Magnetic Tape, Hard Disk, Floppy Disk Optical Disks:
AS Level ICT Selection and use of storage requirements, media, and devices: storage and storage capacity Unit 1 Topic a - Selection and use of storage.
Presentation transcript:

CS 2 Main Memory and Backing Store

Memory address (1) Memory is “place’ to store digital signals (0 1)

3 Memory address (2) …. … Memory can allowed Read / Write To R/W data, you must know where it is? Address = location

4 Memory address (3) What is the MEORY SIZE? ….

5 Memory Size (1) WORD?

6 Memory Size (2) ONE WOR D Depends on Computer Type Operating systemRequired word size MS DOS8 bits MS Windows bits MS Windows 95/98/NT/2000/XP 32 bits Linux32 bits Table of word sizes

7 Wikipedia – 64-bit

8 1 kilobyte (1KB) = 2 bytes = bytes 1 kilobyte (1KB) = 2 10 bytes =1024 bytes 1 megabyte (1MB) = 2 KB = 2 bytes 1 megabyte (1MB) = 2 10 KB = 2 20 bytes 1 Tbyte (1TB) = 2 GB = 2 bytes 1 Tbyte (1TB) = 2 10 GB = 2 40 bytes Memory Size (3) 1 gigabyte (1GB) = 2 MB = 2 bytes 1 gigabyte (1GB) = 2 10 MB = 2 30 bytes Questions...

9 CS 2.2 Exercise

10 Exercise 1 1. How many bits are there in 1 Mbytes? Soln: 1Mbytes =1 x 1024 x 1024 bytes = x 8 bits = bits

11 Exercise 1 2. A Computer has 4K words of main storage. Each word comprises 24 bits. How many bytes are there in the whole memory? How address lines are required? Soln: # of bytes in whole memory = 4K x 3 bytes  12 KB # of address lines required: Since 2 n  12KB, 2 13 = 8192 and 2 14 =  n = 14

12 Exercise 1 3. A 40 Mbytes memory chip is _______ times a 512 Kbytes chip. Soln: 40MB  512 KB =40 x 1024 KB  512 KB =80  A 40 Mbytes memory chip is 80 times a 512 Kbytes chip.

13 Exercise 1 4. If the addresses of the locations of a computer are from 0 to 20000, how many address bits are required for addresssing? Soln: # of address lines required: Since 2 n  20001, and 2 15 =  n = 15

14Storage ─ stores programs and data Storage Unit Main Memory Backing Store Random Access Memory (RAM) Read Only Memory (ROM) Store large amounts of data, programs and information permanently even when the computer is turned off.

15 Random Access Memory (RAM) ─ temporarily stores programs and data that are to be executed and data that are to be executed or processed by the CPU or processed by the CPU Any area of RAM can be accessed directly and immediately by the CPU. RAM

16 RAM Virtual memory –Part of the Hard disk for extending RAM –Capacity of RAM is fixed –Data not frequently used are moved to the hard disk to make room for new data Swapping –Moving data between RAM and Hard disk –Done by the computer automatically –Transparent to user

17 RAM Too much Swapping –Reduce performance of computer, or –Lead to system crash To reduce Swapping –Increase the size of RAM

18 Read-Only Memory (ROM) - stores the essential software of the computer system. ‘Read-only’ means ROM can be read but not changed. ROM

19 ROM The contents of ROM are preset by the ROM manufacturer, and can’t be changed by users. BIOS is an example of ROM.. BIOS is an example of ROM..

20 RAM vs ROM RAMROM It is volatile, i.e. data stored will disappear if the power supply is turned off. It is non-volatile, i.e. the memory will retain its content even if the power is turned off. Data can be read from it or written into, i.e. Read-write. Data init can be read only and cannot be over written, i.e. Read-only. It is used for temporary storage of running program and working data. It is used for storing permanent system programs such as BIOS.

21 yComplementary Metal-Oxide Semiconductor yContents can be changed yNon-volatile yStores configuration about a computer, including xCapacity of the hard disk xTypes of existing ports, keyboard and monitor xCurrent time and date yCMOS does not store programs CMOS

22 ySmall amount of high speed memory yDesigned to supply CPU with the most frequently requested data and instruction yFirst locate in cache first, then RAM Cache

23 Comparison

24 Why should we have secondary storage? Backing Store  Large Large storage capacity  Permanent Permanent storage  Lower Lower cost Secondary storage provides permanent storage for large amounts of programs and data that need not be immediately accessed by the CPU.

25 Magnetic Tape  used for backup data in computers data in computers  sequential access Magnetic Tape (1)

26 File store on magnetic tape Magnetic Tape (2) Tape File consists on Header, Data blocks and Inter Blocks Gap (IBG) To retrieve a record, you must read all record first. Sequential Access SLOWER!SLOWER!

27 Hard disk drive Removable hard disk Magnetic Disk (1) Magnetic Disk Floppy disk

28 Magnetic Disk File Magnetic Disk (2)

29 CD-ROM Drive Direct access (fast) CD Writer It can be used to read data from and write data to optical disks such as CD-R and CD-RW. CD-ROM (1) Optical Disk Drive Data is read-only. Compact disk read-only memory

30 Optical Disk Information is stored by using a laser beam to burn holes on a thin coating of metal. Another laser beam is used to read the hole patterns. CD-ROM (2) Usage Encyclopedias Film (VCD)

31 CD-ROM (3)

32 DVD Digital Versatile Disk DVD  R, DVD  RW, DVD-RAM 4.7GB storage DL (Dual / Double Layer) 8.5GB storage

33 Hard Disk

34 Hard Disk

35 Semi-conducting Media (Flash memory cards) Uses semi-conductor to record data. High speed in transferring data, small in size, portable and no mechanical movement. Becomes popular. E.g.: CF, MS, SD, MMC, xD, T-flash, etc. Web site of SanDisk

36 Removable Disks Provide both the storage capacity and fact access time of hard disk and the probability of floppy disks. Examples: –Iomega’s ZIP (100MB) –JAZ (1-2 GB) –Imation’s Superdisk (120MB)

37Buffer Disk/ Tape CPU Speed of CPU is MUCH Faster than any Backing Store Buffer is needed.Buffer is needed. Usually is RAM or Cache.Usually is RAM or Cache. Buffer is needed.Buffer is needed. Usually is RAM or Cache.Usually is RAM or Cache.

38 Comparison between different backing store Cost (/ MB)Speed Flash memory $2Fast Hard disk$0.004 Compact disc$ Magnetic tape $0.001 Floppy disk$1.4Slow Expensive Cheap

39 Comparison between different backing store Storage capacity Access mode Portable Flash memory???DirectYes Hard diskHighestDirectNo Compact discDirectYes Magnetic tapeSequentia l Yes Floppy diskLowestDirectYes

40 Factors affect the performance of computer Speed of CPU Capacity of RAM Speed of hard disk Free space of hard disk Width of bus system Speed of peripherals Capability of Video cards Cache memory

41 CS 2.4 Exercise

42 Exercise 2 1.Which of the following are the units of data organisation for a magnetic disk? (1)Cylinder (2)File (3)Record (4)Sector (5)Track

43 Exercise 2 2. Which of the following storage media is non-erasable? A.Random access memory B.Magnetic tape C.Hard disk D.Read only memory E.Floppy disk

44 Exercise 2 3. A secondary storage device is used because (1) it provides non-volatile storage; (2) it can store a large amount of data; (3) it runs at a great speed.

45 Comparison between main memory and backing store Main MemoryBacking Store Function Store processing program and data Store program and data after processing Storage capacityLow (512MB)High (160GB) CostHigh ($ /MB)Low ($0.004/MB) Access modeRandom accessDisk: direct Tape: sequential Access timeFastSlow PerformanceROM: non-volatile RAM: volatile Non-volatile

END