COMP 4—Power Tools for the Mind 1 What’s in the box? 1 Memory and Storage –Primary Organization Types Attributes –Auxiliary (Secondary) Types Technology.

Slides:



Advertisements
Similar presentations
CY1001 Introduction to Computer Systems Storage Devices
Advertisements

Term Project Grade 9 Section B Due december 18 Find and research one Emerging technology not studied in class. It can be a prototype or already available.
Storage Devices.
Types Of Storage Device
Section 5a Types of Storage Devices.
Computer Performance & Storage Devices Computer Technology.
What Is A Computer System?
Data Storage Lecture 3 CSCI 1405, CSCI 1301 Introduction to Computer Science Fall 2009.
1 Chapter 6 Storage and Multimedia: The Facts and More.
Introduction to Computers
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
Backing Storage Chapter 18.
Storage Devices and Media
TEE COURSE GRADE 10 MODULE 7 - PC HARDWARE Memory and Storage Devices
Storage device.
What is Data Storage? ‘Storing’ data, we mean putting the data in a known place. ‘ Writing ’ data or ‘ saving ’ data are other ways of saying ‘storing’
AS Level ICT Selection and use of storage requirements, media, and devices: Devices and media.
Chapter 3 – Computer Hardware Computer Components – Hardware (cont.) Lecture 3.
Computer Fundamentals
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.
Presented by: Manjeet Singh. Secondary Storage Devices Magnetic media Tape Disks Optical Media Compact Discs CD-R, WORM (Write Once, Read Many) CD-RW.
Information Technology Storage Devices Prof. Adnan Khalid.
Computer Hardware. “ Copyright 2005 John Wiley & Sons Inc.” TG 12 Chapter Outline Introduction The Central Processing Unit Computer Memory Evolution of.
Comp 1001: IT & Architecture - Joe Carthy 1 Information Representation: Summary All Information is stored and transmitted in digital form in a computer.
Computer Systems I’m ONLY a machine! Standard Grade Revision.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
1 Chapter 3 Understanding Computers, 11 th Edition Storage Medium The physical material on which a computer keeps data, instructions and information. Can.
 Memory Memory  Types of Memory Types of Memory  Memory Representation Memory Representation  Random Access Memory Random Access Memory  Read Only.
HARDWARE: CPU & STORAGE How to Buy a Multimedia Computer System.
INFO1 – Practical problem solving in the digital world
Lecture 4: Secondary Storage. I. Secondary Storage (Hard Drives) Secondary Storage Secondary Storage: holds data and programs for future use by providing.
 Design model for a computer  Named after John von Neuman  Instructions that tell the computer what to do are stored in memory  Stored program Memory.
CHAPTER 5. Next Exit Main Memory and Backing Storage Devices... Main Memory and Backing Storage Devices... Main memory temporarily stores programs and.
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
Introduction to Computers
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
1 Introduction to Computers Lect 1 Won’t tell you much you don’t know. (Misleading– the course gets more conceptual as we create webpages.) Will go into.
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.
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.
Chapter 2 part 2. Computer Processing Speeds Milliseconds - thousands of a second Microseconds - millionths of a second Nanoseconds - billionths of a.
1 Introduction to Computers By Masseta ICT Dept. Mzumbe University.
Storing data – Storage devices and media. What is a storage device?  A storage device is any device used in a computer to store information.  A storage.
SECONDARY STORAGE DEVICES. Agenda of Today’s Lecture  Introduction to Hardware  Types of hardware devices  Storage Devices  Secondary Storage devices.
 Identify computer system components.  Explain how the CPU works.  Differentiate between RAM and ROM.  Describe how data is represented.  Identify.
© 2011 Pearson Education, publishing as Addison-Wesley Chapter 1: Computer Systems Presentation slides for Java Software Solutions for AP* Computer Science.
CSCI-100 Introduction to Computing Hardware Part I.
Storage of Data Instructions and data are held in main memory which is divided into millions of addressable storage.
CS 101 – Sept. 28 Main vs. secondary memory Examples of secondary storage –Disk (direct access) Various types Disk geometry –Flash memory (random access)
STORAGE DEVICES Introduction Comparision Storage Hierarchy Slide 1.
Storage Devices.
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),
STORAGE DEVICES Storage devices are categorized by the method they use to store files.
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.
What do you mean by external storage devices? External storage devices are the devices that temporarily store information for transporting from computer.
Computer Performance & Storage Devices Computer Technology.
Copyright © 2003 Prentice Hall, Inc 1 Chapter 4 Storing Data: Electronic Filing Cabinets NEXT SLIDE.
Introduction to Programming. Key terms  CPU  I/O Devices  Main memory  Secondary memory  Operating system  User interface  Application  GUI 
Computer Graphics HARDWARE. Computers  Computers are automatic, electronic machines that –accept data & instructions from a user (INPUT) –store the data.
Introduction to Computers
Introduction to Computers
Secondary Storage Devices
Introduction to Computers
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:
Lesson 9 Types of Storage Devices.
Presentation transcript:

COMP 4—Power Tools for the Mind 1 What’s in the box? 1 Memory and Storage –Primary Organization Types Attributes –Auxiliary (Secondary) Types Technology What we’ll cover for this lecture topic:

COMP 4—Power Tools for the Mind 2 What’s in the box? 2 Computers basically have two-level storage: Processor CU ALU Inputs Storage Memory RAM ROM Outputs Primary storage: MEMORY (chips) Secondary/Auxiliary storage: STORAGE ( disks… )

COMP 4—Power Tools for the Mind 3 What’s in the box? 3 –Functional unit for storing & retrieving all 5 kinds of information -- used by the processor. –“electronic storage == no moving parts” ( fast!!!!) –For every transformation : –The processor must fetch a basic instruction, one at a time, and copy it to its own special storage registers before it can do any operation/transformation on data. –The processor also has to copy the data into its own special storage registers ( more about the actual process later). –The processor is also electronic … and very FAST !!! –We don’t want to slow down the processor. Therefore we use electronic storage (rather than electromechanical). Primary Memory

COMP 4—Power Tools for the Mind 4 What’s in the box? 4 Digression: a basic machine language statement: –OP CODE: part of machine code (a bunch of bits) that tells the CPU which operation to perform (add, multiply, compare,...) –OPERAND: also part of the machine code (another bunch of bits) that tells the CPU at which memory address the data is stored that is should operate on. You will see a lot on about this soon when we study the architecture of the CPU and how it operates on data (e.g. transforms data).

COMP 4—Power Tools for the Mind 5 What’s in the box? 5 –Each is called a memory cell or a memory location. –Each cell is identified by a unique binary address. –Each cell contains a certain number of bits (usually eight). –Similar to what in a spreadsheet? –Why is uniqueness important? Arrangement ( similar to P.O. boxes ): –MEMORY: Holds INSTRUCTIONS & DATA that we are interested in processing NOW. # # # # #

COMP 4—Power Tools for the Mind 6 What’s in the box? Memory addressing –Just as Excel uses a cell reference in a formula to locate a cell and to read the data stored in that cell, a program uses a memory address. –So a memory cell address is similar to a spreadsheet’s absolute cell reference (e.g. $B$24). –The cell contents can change, but the cell address or reference to the cell is always the same. –A program can write to and read from a memory cell through their address. LOAD# A ADDA 1 STOREA # # memory Register A CPU _ _ _ _ 1

COMP 4—Power Tools for the Mind 7 What’s in the box? 7 –What happens to data when we write or read? –What happens when you type (write) something into a spreadsheet cell that already contained some data? –Writing destroys what was stored there. –What happens if an Excel formula reads a data value from another cell: –Reading does not destroy what is stored there. It just “hand-over” a copy. –“32-bit memory-addressing” means that the computer uses memory addresses that are 32 bits long: –the “address bus” are the wires that carry bits between the CPU and the memory –a 32-bit bus carries 32 bits at a time GB (billion) different addressable memory cells.

COMP 4—Power Tools for the Mind 8 What’s in the box? 8 –UNLIKE a spreadsheet cell, a single memory cell can hold much less: 8 bits –Cannot address bits individually (grouped by 8) # One memory cell:

COMP 4—Power Tools for the Mind 9 What’s in the box? 9 How many memory cells are required to hold one ASCII character? How many cells required to hold a bit pattern that can represent a single pixel with a “24-bit color”? How many cells required to hold an standard precision integer (which requires 32 bits)? How many cells required to hold an high precision real number (which requires 64 bits)? And…….what is the term for 8 bits (which happens to fit perfectly into one memory cell)? Interesting digression #

COMP 4—Power Tools for the Mind 10 What’s in the box? 10 –So, each memory cell (location) can hold 8 bits, or one byte. –Those 8 bits, in turn, could represent, at a given time: Part of an integer or real number Integers: typically 32 bits; Real: either 32 or 64 bits The bit pattern for one alphanumeric character (one character byte) Part of a bit pattern for a sound sample. The bit pattern for one pixel with “8-bit color.” 1/3 rd of a bit pattern for one pixel with “24-bit color.” A part of an instruction.

COMP 4—Power Tools for the Mind 11 What’s in the box? 11 Logical structure of 1 memory cell: 8 bits Physical structure of 1 memory cell: 8 capacitors What did we say keeps track of what kind of information a bit pattern (in memory) is representing at a given moment? the program (e.g. software) Total primary memory and auxiliary storage in one’s computer is measured in bytes. –Kilobyte (KB or K): ~ 1 thousand 2 10 –Megabyte (MB): ~ 1 million2 20 –Gigabyte (GB): ~ 1 billion2 30 –Terabyte (TB): ~ 1 trillion2 40

COMP 4—Power Tools for the Mind 12 What’s in the box? 12 –RAM: Random Access Memory RAM is fast. –Virtually no speed penalty for accessing bits, no matter which cell they’re in: “ Random access ” RAM is writable (by the user). (launch; load; edit…) RAM is volatile. Stores what’s being used now: Mostly determined by whom? Often called “ user memory” -- Typically 256 or 512 MB (and up) for personal computers. Advice: Buy as much as you can afford. Affects overall speed of system (page faults, caching) Types of primary memory

COMP 4—Power Tools for the Mind 13 What’s in the box? 13 –ROM (read-only memory) Contents pre-written and permanent: non-volatile. Typically small: <1 MB Stores bootstrap program. Stores BIOS (very basic parts of the operating system that rarely change are hardwired in ROM) Often called: Firmware. Why do you suppose? “Virtual Memory” Textbook has a good explanation of this process so I won’t cover it much here. Just understand the basic idea behind it. Just for culture: Other flavors of nonvolatile primary memory: PROM; EPROM; EEPROM Flash Drives CMOS (battery-powered; see text for more info) use disk space to simulate RAM

COMP 4—Power Tools for the Mind 14 What’s in the box? 14 Processor CU ALU Inputs Storage Memory RAM ROM Outputs

COMP 4—Power Tools for the Mind 15 What’s in the box? 15 – Want more memory than is affordable in electronic memory. Cheaper: shares one set of electronics for R and W (the head). –But much slower : at least by 10,000 times. –Physically moves medium past R/W mechanism. – Need non-volatile storage that is recordable. Auxiliary Storage Primary memory : like your closet Access is frequent and fast; but less is taken at a time (4 - 8 bytes). Secondary storage : like your attic Access is less frequent and much slower; but a whole block of data is taken at a time. ( bytes)

COMP 4—Power Tools for the Mind 16 What’s in the box? 16 Most common form of storage. Magnetized spots on a surface, which may be –on a tape, which itself moves past a R/W head (like audio tape) Device: tape drive or unit Medium: tape (reel or cartridge) –on a disk, whose R/W head moves over it as it spins. A disk may be floppy or rigid A disk may be fixed permanently in the drive or removable. Device: disk drive Medium: disk MAGNETIC Storage

COMP 4—Power Tools for the Mind 17 What’s in the box? 17 The resulting magnetic field can be in one of two different orientations (polarities): North-South (clockwise) South-North (counter-clockwise) A moving electrical charge (current) creates a magnetic field... depending on the direction that the current flows How a magnetic recording works “INDUCTION”

COMP 4—Power Tools for the Mind 18 What’s in the box? 18 So: we can send a current through a wire (the R/W mechanism) to magnetize a spot on an iron surface nearby. The spot (with magnetic field around it) will have one of two orientations. This way the head records (writes) physical representations of 0s and 1s on the iron surface.

COMP 4—Power Tools for the Mind 19 What’s in the box? 19 A moving magnetic field creates an electric field... So: if there’s a wire coil nearby, the current is sent through it in one of two different directions The READ head interprets the direction of the incoming current as a 0 or a 1.

COMP 4—Power Tools for the Mind 21 What’s in the box? 21 Ribbon coated with iron oxide Reel-to-reel (old mainframes) Cassettes, cartridges Sequential Access storage device: –to reach data written at the end need to go through all other data Generally used for: –short-term backup –transport Magnetic tape Tape head TAPE

COMP 4—Power Tools for the Mind 22 What’s in the box? 22 Magnetic disks Surface divided into wedges: sectors. Bits are stored within a sector along concentric circles called tracks. ( Floppy disk: ~80 tracks ) All disk drives are “ DASDs ”: Direct Access Storage Devices –File is accessed directly by giving the address of each block on the disk that contains the file. –Similar to random access except it has speed penalties. Why do you think that’s so? –DIGRESSION: Speed…. SEEK time, SPIN rate Sec 0 Sec 1 Sec 2 Track 0 Sec 3 Sec 4 Sec 5 Sec 6 Track 1 Track 2

COMP 4—Power Tools for the Mind 23 What’s in the box? 23 Floppy disks (diskette) and drives Transportable storage. Good to back-up a few files. Digression: Would you recommend backing up data from an entire hard drive on standard floppy disks? Why or why not? What could you backup? –Flexible plastic mylar …; removable media –Slow spin rates ( 360 to 400 rpm ) –Slow seek time (~300 ms) R/W heads touch disk surface –Cheap, abundant, portable

COMP 4—Power Tools for the Mind 24 What’s in the box? 24 –Have gotten smaller, cheaper, higher density outdated: 8” (20 KB); old: 5.25” (140 KB – 1.2 MB); low density 3.5”: 720 KB high density 3.5”: 1.44 MB most popular SuperDisk 3.5”: 120, 144, and 200 MB –Write protect window… what for? –Any special care for disks? –Do floppy disks ever fail?

COMP 4—Power Tools for the Mind 25 What’s in the box? 25 Hard disks/disk drives (fixed) –Rigid aluminum or glass; various sizes; >1 platter –Much faster spin rates (currently up to 10,000 rpm) –Much faster access speeds (seek time = 5 – 15 ms) –Much faster transfer rates (15 MB/sec and up) –Fixed means: media NOT removable from the hardware –Internal and external –Capacities: for older PC systems: 20 MB...80 MB MB Today: GB and up

COMP 4—Power Tools for the Mind 26 What’s in the box? 26

COMP 4—Power Tools for the Mind 27 What’s in the box? 27 Digression: What’s a head crash? –Very fast spin rates. R/W head floats above hard disk surface on tiny cushion of air……..

COMP 4—Power Tools for the Mind 28 What’s in the box? 28

COMP 4—Power Tools for the Mind 29 What’s in the box? 29 –High data density: smaller recorded bits. Digression: What’s a head crash? –Very fast spin rates. R/W head floats above hard disk surface on tiny cushion of air. –Challenge: decrease head’s “flying height” to increase signal’s amplitude (so it’s detectable) –R/W head can crash into contaminant on disk surface, then onto disk! So: disks permanently sealed in case, fixed in drive: “ Winchester ” technology

COMP 4—Power Tools for the Mind 30 What’s in the box? 30 Removable disk storage –Great for backups –Very transportable –Internal & external many flavors watch for compatibility issues. –A few choices (actual numbers just for culture--- try to get a sense of how much more they store than a standard removable floppy disk). Examples: ZIP : 250 MB Zip Drive - w/5 disks ~$ 75 JAZ : 2 GB Iomega JAZ External ~$300 Syquest : 1.5 GB ~$300 (been around longer) Flash Drives

COMP 4—Power Tools for the Mind 31 What’s in the box? 31 Use lasers to record (write), and also to read. –Record : high-powered laser burns pits into reflective coating. –Read : weaker laser reads pits; differences in reflectance of pits & lands interpreted as 0 and 1. (See textbook figures) For PCs: ~650 MB per CD-ROM (275,000 pgs of text) Similar to audio CDs, but more error-correction. Internal & external drives. OPTICAL Storage QUOTABLE

COMP 4—Power Tools for the Mind 32 What’s in the box? 32 CD-ROM [standard; early generations] Many flavors … READ ONLY: Rigid platter; various sizes, densities. Single SPIRAL track (starts near center outward) Usually 650 MB, about 4 ¾” Standard transfer rate was 150 Kb/sec but soon there came: 2x 4x … 24x … 40x … ? Biggest Source of ERROR: dust Disk cost: depends on what’s on it! Read only; who writes? Good for? Games, Software, Reference materials, Library materials, for being AOLnoyed, … manufacturer

COMP 4—Power Tools for the Mind 33 What’s in the box? 33 RECORDABLES: Recordable by: USER (various technologies) readable by most standard, same-sized drives and players. WRITE ONCE: CD-R Good for? (used where data won’t change) Multimedia presentations; archives; greatest hits; photos; video clips… Hold 650 MB of data, or ~74 min. of audio Can copy files to it (like removable magnetic media) but a little more complicated (software comes with drive) Unalterable once written

COMP 4—Power Tools for the Mind 34 What’s in the box? 34 WRITE MANY: CD-RW Recordable/writable many times (when used with appropriate software) RW Drives generally can record on both CD-R or CD-RW disks. Getting very popular Often used for backups somewhat more expensive 700-MB CDs that can be read by most CD-ROM drives compatibility issues

COMP 4—Power Tools for the Mind 35 What’s in the box? 35 Newer optical disc technology: DVD –“ Digital video (versatile) disc ” –Similar to DVD-video that you hook up to your TV…. –READ ONLY: –DVD-ROM : instead, holds computer data & is hooked to your computer.. –RECORDABLE VERSIONS: –DVD-R (write once) and…..

COMP 4—Power Tools for the Mind 36 What’s in the box? 36 –DVD-RAM, DVD-RW, DVD+RW (write many) A “standards” problem: different formats--which drives can read and write to which formats….confusing for customers. –…. “There are several types of DVD drives, and at least four versions of media, none of which is completely compatible with the other….” from keynote addressed delivered at Intel Developer Forum week of 9 Sept New drives can read and write to both DVD+RW and DVD-RW. Generally “downward” compatible. Becoming popular for backups as prices come down. –About 8X the storage capacity of a CD

COMP 4—Power Tools for the Mind 37 What’s in the box? 37 So what? –DVD: Can store a whopping 2.6 to 8.75 GB! For huge graphics files, video, etc … (lots!) For desktop or notebooks: –Getting popular: DVD+-RW/CD-RW combo drive Again, be aware of writability and compatibility issues.