Personal

„ The PC consists of 4 major components.

Chapter 2: ‹ Hardware and Technology ‹ Trends ‹ ‹ Storage Device Inside the System Unit

B2001 @ Peter Lo 2007 1 B2001 @ Peter Lo 2007 2

Exposed System Unit Port mouse keyboard USB „ Connects USB external (parallel devices to port) system unit speaker monitor game port network

telephone telephone line line out in svideo out FM reception B2001 @ Peter Lo 2007 3 B2001 @ Peter Lo 2007 4 cable TV Why need Input and Output Device?

„ Since computers are electronic devices which operate in a way not easily understood by humans, it is necessary for equipment to be used which will and Technology convert the signals used by computers into a form Trends that can be used by humans and vice-versa. „ This is the role of input and output devices. Input Devices

B2001 @ Peter Lo 2007 5 B2001 @ Peter Lo 2007 6

What is an Input Device? Input Device – Keyboard

„ Any hardware component used to enter data, programs, „ The most familiar of the input devices is the keyboard. commands, and user responses into a computer „ Modeled after the typewriter keyboard. „ Generally this resembles the QWERTY type keyboard common on most typewriters. Video input Voice input „ Unlike the typewriter keyboard, the computer is extended Keyboard to contain up to 102 keys, which include a number pad, a series of special function keys and some keys to control the cursor on the screen. Scanners Pointing and reading device devices

Digital B2001 @ Peter Lo 2007 camera 7 B2001 @ Peter Lo 2007 8 Portable Keyboard Ergonomic Keyboard

„ Full-sized keyboard you conveniently can attach and „ Designed to minimize strain on hands and wrists remove from a handheld computer „ Ergonomics incorporates comfort, efficiency, and safety into design of items in workplace

B2001 @ Peter Lo 2007 9 B2001 @ Peter Lo 2007 10

Input Device – Mouse How does a Mechanical Mouse Work?

„ The mouse is a small, plastic device which is connected to „ Rubber or metal Mouse Wheel the computer by a small cable. ball is on its buttons button „ It can be moved across a table top and the cursor will move underside across the screen in the same way. „ Movement of „ The cursor is a light square or line which appears on the mouse translates screen to identify where the cursor is in the same position into signals on the screen as the desired item, the item can be selected computer by pressing a button on the mouse. understands „ This saves the user having to type in the desired selection.

Mouse pad

B2001 @ Peter Lo 2007 11 B2001 @ Peter Lo 2007Ball 12 How does an Work? Common Mouse Operations

„ Senses light to Back Wheel „ Point detect mouse’s button button „ Click movement Forward „ Right-click „ More precise than button mechanical mouse „ Double-click „ Connect using a „ Drag cable or wireless „ Right-drag „ Rotate wheel Optical sensor „ Press wheel

B2001 @ Peter Lo 2007 13 B2001 @ Peter Lo 2007 14

Trackball

„ Stationary with a ball on its top „ Small, flat, rectangular pointing device sensitive to „ To move pointer, rotate ball with thumb, fingers, pressure and motion or palm of hand

Touchpad

B2001 @ Peter Lo 2007 15 B2001 @ Peter Lo 2007 16 and Wheel

„ Pointing device shaped like eraser „ Joystick is vertical lever mounted on a base positioned between keys on keyboard „ Wheel is steering-wheel type input device „ Pedal simulates car brakes and accelerator

joystick Wheel

Pedal

pointing stick B2001 @ Peter Lo 2007 17 B2001 @ Peter Lo 2007 18

Light Touch Screen

„ Handheld input device that contains light source or can „ Touch areas of screen with finger detect light „ Often used with kiosks „ Press light pen against screen surface and then press button on pen

Touch Screen

B2001 @ Peter Lo 2007Light Pen 19 B2001 @ Peter Lo 2007 20 Input Device – Touch Panel

„ Looks like a , but uses pressure to write text „ The device which assists selection of items on a screen is and draw lines the touch panel. „ Used with graphics tablets and handheld computers „ This is a touch sensitive plastic sheet which is placed on the screen and again attached to the computer. „ The user can select items by touching the part of the touch pad at the location where the described item is on the screen. Stylus or Pen „ This will cause the touch pad to send an electrical signal to the computer and select the desired item.

B2001 @ Peter Lo 2007 21 B2001 @ Peter Lo 2007 22

Input Device – Scanner Recognition

„ A scanner can be used to capture an image of a document „ Stored images can be used for a number of purposes. or a picture and store this in the computer. „ Scanned documents can be retrieved easily and reprinted, „ Both graphics and text can be stored and retrieved. instead of having to search through the registry.

„ It is an electronic device used in making color separations. ‹ Magnetic Character Recognition (MICR)

„ Originals are placed on drums, which are rotated, ‹ Optical Character Recognition (OCR)

reproduce the original via digital and electronic signals ‹ Optical Mark Recognition (OMR) transferred to the finished film size through fiber optics. ‹ Optical Bar Recognition (OBR) „ Scanners utilize electronic circuits to correct color, compress the tones and enhance the detail.

B2001 @ Peter Lo 2007 23 B2001 @ Peter Lo 2007 24 Optical Character Recognition (OCR) Optical Bar Recognition (OBR)

„ When the scanner is used in conjunction with an Optical „ Another technique which is common today is bar coding. Character Recognition (OCR), we will be able to not only „ Bar code is a series of vertical stripes about one inch high. capture an image of a text, but also to decipher and „ The stripes are of varying thickness and distances apart. recognize the individual characters, numbers or symbols. „ The combination of stripes (bar code) actually represents a numerical code. „ This numerical code is the key field to a record containing data fields about the item.

B2001 @ Peter Lo 2007 25 B2001 @ Peter Lo 2007 26

Bar Code Optical Mark Recognition (OMR)

„ Identification code that consists of a set of vertical lines „ Optical Mark Recognition is a method of computerized and spaces of different widths input from (usually) paper forms. „ Universal Product Code (UPC) „ It is generally distinguished from OCR by the fact that a recognition engine is not required. „ The marks are constructed in such a way that there is little Number system chance of not reading the marks correctly. character identifies „ type of product This requires the image to have high contrast and an easily-recognizable or irrelevant shape.

Manufacturer Check character verifies identification number accuracy of scanned (Kellogg’s, in this case) UPC symbol

Item number (10 oz. box B2001 @ Peter Lo 2007 27 B2001 @ Peter Lo 2007 28 of Froot Loops Magnetic Ink Character Recognition (MICR)

„ Can read text printed with magnetized ink „ Translates handwritten letters and symbols into „ Banking industry almost exclusively uses MICR for check characters that the computer can understand processing

Check Bank Account Check Number Number Number Amount B2001 @ Peter Lo 2007 29 B2001 @ Peter Lo 2007 30

Input Devices for Physically Wireless Input Challenged Users Pointing device for „ Handheld computer or device used to collect data those with wirelessly at the location where transaction or event takes motor place disabilities „ Data transferred later to desktop computer through docking station Keyguard for limited hand mobility

Onscreen keyboard

Speech recognition B2001 @ Peter Lo 2007 31 B2001 @ Peter Lo 2007 32 Output Device

„ Improvement in technology has resulted in the development of a variety of output devices which Computer Hardware and Technology serve a variety of purposes. Trends „ The quality of the output has improved at a continually reducing cost. Output Devices

B2001 @ Peter Lo 2007 33 B2001 @ Peter Lo 2007 34

Display Device Cathode Ray Tube (CRT) Monitor

„ Television-like „ Large sealed, glass screen Cathode Ray „ Information on a display device sometimes is Tube called Soft Copy „ Screen coated with tiny dots of phosphor material „ Pixel, or picture element, is single point in electronic image „ Three dots (red, blue, and green) combine to make up each pixel CRT monitor Screen

B2001 @ Peter Lo 2007 35 B2001 @ Peter Lo 2007 36 Liquid Crystal Display (LCD) Some features of LCD screens

„ Type of flat-panel display „ Lightweight and compact „ Uses liquid crystals between two sheets of „ Consumes less than one- material to present information on screen third of the power than „ Electric current passes through crystals, which does a CRT monitor creates images on the screen „ Ideal for notebook and handheld computers

B2001 @ Peter Lo 2007 37 B2001 @ Peter Lo 2007 38

Two Technologies Used for LCD Gas Plasma Monitor Monitors

„ Active-matrix display „ Flat-panel display uses layer of gas plasma

‹ Can display high-quality color viewable from between two sheets of material all angles „ Larger screen sizes and higher display quality than „ Passive-matrix display LCD, but much more expensive

‹ Color often not as bright

‹ Images best viewed when working directly in front of display

B2001 @ Peter Lo 2007 39 B2001 @ Peter Lo 2007 40 Display Resolution Output Device – Printers

„ Describes the sharpness and clarity of image „ A computer printer is a computer „ The higher the resolution, the sharper the image and the device that produces a hard copy (permanent more that can display on the monitor human-readable text and/or graphics, usually on paper) from data stored in a computer connected 800 x 600 800 horizontal to it. most common pixels „ The world's first computer printer was a 19th century mechanically driven apparatus invented 1280 x 1024 maximum resolution 600 vertical by Charles Babbage for his Difference Engine. of most monitors pixels Total of 480,000 2048 x 1536 pixels on screen maximum for high-endB2001 monitors @ Peter Lo 2007 41 B2001 @ Peter Lo 2007 42

Categories of Printers Impact Printer

„ There are two main categories of printer: „ Forms characters by striking a mechanism against ink ribbon that physically contacts paper ‹ Impact Printer „ Ideal for printing multipart forms  Dot Matrix Printer „ Can withstand dusty environments, vibrations, and extreme ‹ Non-impact Printer temperatures

 Laser Printer

 Ink-jet Printer

B2001 @ Peter Lo 2007 43 B2001 @ Peter Lo 2007 44 Dot-matrix Printer Inside Dot Matrix Printer

„ Impact printer that produces printed images when tiny wire pins on print head mechanism strike inked ribbon „ Most use continuous-form paper

Continuous-form paper

B2001 @ Peter Lo 2007 45 B2001 @ Peter Lo 2007 46

How does Dot Matrix Printer Work? Line Printer

„ When ribbon presses against paper, it creates dots that „ High-speed impact printer that form characters and graphics prints entire line at a time „ A higher number of pins (9 to 24) means printer prints „ Speed measured by number of more dots per character, which results in higher print lines per minute (lpm) it can print quality „ Band printer prints fully-formed characters using a hammer mechanism „ Shuttle-matrix printer is high- speed printer that works more like a dot-matrix printer Dots form characters

B2001 @ Peter Lo 2007 47 B2001 @ Peter Lo 2007 48 Non-impact Printer Ink-jet Printer

„ Forms characters and graphics on piece of paper „ Non-impact printer forms characters and graphics without actually striking paper by spraying tiny drops of liquid ink onto piece of paper „ Most popular type of color printer for home use

Ink-jet printer Laser printer Thermal printer B2001 @ Peter Lo 2007 49 B2001 @ Peter Lo 2007 50

Resolution of a Printer How does an Ink-jet Printer Work?

Print cartridge 1: Small „ Sharpness and clarity of characters resistor heats „ Measured by number of dots per inch (dpi) printer can ink, causing ink to boil and output form vapor bubble firing nozzle chamber print head 300 600 1,200 dpi resistor dpi dpi 2: Vapor bubble forces ink through nozzle 3: Ink drops onto paper ink dot 4: As vapor bubble bubble collapses, fresh ink is nozzle drawn into firing chamber B2001 @ Peter Lo 2007 51 B2001 @ Peter Lo 2007ink 52 paper Laser Printer Inside Laser Printer

„ High-speed, high-quality non-impact printer „ Prints text and graphics in very high-quality resolution, ranging from 600 to 1,200 dpi „ Typically costs more than ink-jet printer, but is much faster

B2001 @ Peter Lo 2007 53 B2001 @ Peter Lo 2007 54

How does a Laser Printer Work? Thermal Printer

1: Drum rotates as paper is fed through „ Generates images by pushing electrically heated 2: Mirror deflects pins against heat-sensitive paper laser beam across rotating mirror surface of drum „ Ideal for small devices, such as adding machines 3: Laser beam drum creates charge that causes toner to stick to drum 4: As drum rotates, toner transfers from drum to rollers paper 5: Rollers use heat and pressure to fuse toner to paper

B2001 @ Peter Lo 2007 55 B2001 @ Peter Lo 2007 56 Photo Printer Label Printer

„ Small printer that prints on adhesive type material „ Color printer that that can be placed on a variety of items produces photo „ Most also print bar codes and e-stamps lab quality pictures and Select image to print, prints everyday number of copies, and documents size of print

B2001 @ Peter Lo 2007 57 B2001 @ Peter Lo 2007 58

Portable Printer

„ Small, lightweight ink-jet or thermal printer that „ are sophisticated printer used to produce high- allows mobile user to print from notebook or quality graphs or diagrams handheld computer while traveling „ Large-format printer similar to plotter and is used to print quality color prints „ There are two types of plotters:

‹ Pen Plotters

‹ Electrostatic Plotters

B2001 @ Peter Lo 2007 59 B2001 @ Peter Lo 2007 60 Audio Output Device Voice Output

„ Computer component that produces music, speech, „ Computer talks to you through speakers on and other sounds computer „ Speakers and headsets are common devices RealPlayer

Speakers

Link to Woofer audio broadcast B2001 @ Peter Lo 2007 61 B2001 @ Peter Lo 2007 62

Data Projector Facsimile (FAX) Machine

„ Device that takes image from a computer screen „ Device that transmits and and projects it onto a larger screen receives documents over Projector telephone lines

Fax machine

B2001 @ Peter Lo 2007 63 B2001 @ Peter Lo 2007 64 Fax Modem Terminal

„ Modem that allows you to send and receive „ Terminals are devices for translating and/or receiving data electronic documents as faxes over a communication channel. „ They are connected to a computer, which controls the transmission of data over cables or over telephone lines. „ The most well known of all output devices is the Visual Display Unit (VDU) „ Device that performs both input and output, examples of terminal are: ‹ Dumb Terminals Internal fax ‹ Intelligent Terminals modem ‹ Special-purpose Terminals card in External fax system B2001modem @ Peter Lo 2007unit 65 B2001 @ Peter Lo 2007 66

Dumb Terminal Intelligent Terminal

„ Has a keyboard and monitor, but no processor or memory „ Has monitor, keyboard, memory and processor „ Connects to host computer that performs processing and „ Similar to a PC in that it can perform tasks independent of then sends output back host computer „ Programmable Host computer Keyboard and monitor

Intelligent terminal B2001 @ Peter Lo 2007 67 B2001 @ Peter Lo 2007 68 Point-of-Sale (POS) Terminal Automated Teller Machine (ATM)

„ Records purchases at point „ Self-service banking where purchase is made machine that connects „ Output from POS terminals to host computer serves as input to host through telephone computer network

POS terminal in a grocery store

Scanner and keyboard are input B2001 @ Peter Lo 2007 69 B2001 @ Peter Lo 2007 70

Central Processing Unit (CPU) ?

„ Interprets and carries out basic instructions that operate a computer Computer Hardware and Technology „ Also called the Processor Trends

Processor

B2001 @ Peter Lo 2007 71 B2001 @ Peter Lo 2007 72 Components of the CPU Control Unit

„ The control unit receives program instructions, one at a time, from the computer’s memory. It supervises the execution of these instructions and sends out control CPU signals to peripheral devices, coordinated by a clock. „ Control unit repeats four basic operations:

‹ Fetch – Obtain program instruction or data item from Control Arithmetic/ memory Logic Unit Unit ‹ Decode – Translate instruction into commands (ALU) ‹ Execute – Carry out command

‹ Store – Write result to memory

B2001 @ Peter Lo 2007 73 B2001 @ Peter Lo 2007 74

Machine Cycle? Example of a Machine Cycle

•Four operations of the CPU comprise a machine cycle 100 x 52 •Also called instruction cycle Student enters • Instruction time (i-time) - time taken to fetch and decode math problem • Execution time (e-time) - time taken to execute and store (100 x 52) into computer’s e-time i-time memory Result in memory displays on monitor’s screen

B2001 @ Peter Lo 2007 75 B2001 @ Peter Lo 2007 76 Available CPU Packages CPU’s Speed Measuring

• According to how many millions of single edge contact (SEC) cartridge dual inline package (DIP) instructions per second (MIPS) it can process

flip chip-PGA (FC-PGA) package

pin grid array (PGA)

B2001 @ Peter Lo 2007 77 B2001 @ Peter Lo 2007 78

Arithmetic/Logic Unit (ALU) Pipelining

„ This is the part of the processor where the arithmetical, „ CPU begins executing second instruction before logical and other operations are carried out. This is the completing first instruction. Results in faster processing component that performs execution part of the machine cycle Machine Cycle (without pipelining) Comparison (greater than, equal to, or less than) d. Machine Cycle (with pipelining) an . Instruction 1 .or. .no Arithmetic Logical t. Instruction 2 (addition, subtraction, (AND, OR, Instruction 3 multiplication, and NOT) Instruction 4 B2001division) @ Peter Lo 2007 79 B2001 @ Peter Lo 2007 80 Register System Clock

„ Temporary storage area that holds data and „ Synchronizes all computer operations instructions „ Each tick is clock cycle ‹ Stores location from where instruction was fetched

‹ Stores instruction while it is being decoded

‹ Stores results of calculation

‹ Stores data while ALU processes it MHz - 1 million ticks of system clock GHz – 1 billion ticks of system clock B2001 @ Peter Lo 2007 81 B2001 @ Peter Lo 2007 82

Microprocessor Parallel Processing

„ Single processor chip found in personal computers •Using multiple processors simultaneously to execute program faster

•Requires special software to divide problem and bring results together B2001 @ Peter Lo 2007 83 B2001 @ Peter Lo 2007 84 Memory: The CPU’s Electronic How is Memory Measured? Scratchpad

„ Memory is the temporary storage area for operating system, „ Memory is measured by number of bytes available application programs, and data „ It consists of one or more chips on „ Each byte stored in unique address „ This is circuitry used to store data within the processor while the computer is operating. „ A personal computer has two types of memory. ‹ Volatile Memory – Loses its contents when computer's power is turned off ‹ Nonvolatile Memory – Does not lose its contents when computer’s power is turned off

B2001 @ Peter Lo 2007 85 B2001 @ Peter Lo 2007 86

Random Access Memory (RAM) Cache

„ Memory chips that can be read from and written to „ Helps speed computer processes by processor by storing frequently used instructions and data „ Most RAM is volatile „ Also called Memory Cache, „ The more RAM a computer has, the faster it Cache Store, or RAM Cache operates „ L1 cache built in processor „ L2 and L3 cache not built in processor Memory Module „ L2 advanced transfer cache most common

B2001 @ Peter Lo 2007 87 B2001 @ Peter Lo 2007 88 Read-Only Memory (ROM) Types of ROM

„ Memory chips that contain data, instructions, or „ Firmware information that is recorded permanently ‹ ROM chips manufactured with permanently written data, instructions, or information „ PROM (Programmable Read-Only Memory) BIOS ‹ Blank ROM on which you can place items Data can only ROM is (basic input/output system) permanently be read; nonvolatile — Stored on ROM „ cannot be Contents not lost Sequence of instructions EEPROM (Electrically Erasable Programmable Read- modified in when computer is computer follows to load Only Memory) ROM turned off operating system and other ‹ Type of PROM containing microcode files when you turn on the programmer can erase computer

B2001 @ Peter Lo 2007 89 B2001 @ Peter Lo 2007 90

Flash Memory CMOS

„ Nonvolatile memory that can be erased „ CMOS stand for Complementary Metal-Oxide electronically and reprogrammed Semiconductor memory „ Used with handheld computers and digital „ Stores information about the computer

cameras, cellular phones, and automobiles ‹ Type of disk drives

‹ Keyboard

‹ Monitor

‹ Current time and date „ Uses battery to retain information when computer is turned off

B2001 @ Peter Lo 2007 91 B2001 @ Peter Lo 2007 92 Memory Access Time BUS

processor „ Speed at which processor can access data from memory • Channel that allows devices inside directly computer to communicate with „ Measured in nanoseconds (ns), which is one billionth of a each other second • System bus connects processor system „ It takes 1/10 of a second to blink your eye; a computer can and RAM bus perform up to 10 million operations in same amount of • Bus width determines number time of bits transmitted at one time • Word size determines number of bits processor can interpret and execute at a given time

B2001 @ Peter Lo 2007 93 B2001 @ Peter Lo 2007RAM 94

Expansion Bus

„ Allows processor to communicate with

fastest memory next fastest Computer Hardware and Technology next fastest slowest Trends processor Storage

PCI bus expansion slots ISA bus expansion B2001 @ Peter Lo 2007slots 95 B2001 @ Peter Lo 2007 96 What is Storage? How does storage differ from memory?

„ Media and devices used to store and retrieve data, instructions, and information „ Stores items for future use, rather When you than temporarily want to work When you are with a file, finished with „ Storage is you read it the file, you nonvolatile, rather from storage write it from than volatile and place it in memory into memory storage

B2001 @ Peter Lo 2007 97 B2001 @ Peter Lo 2007 98

What is a Storage Device and a How does Volatility Compare? Storage Medium?

Storage Device Hardware that records Contents of and retrieves items to storage and from a storage retained when medium power is off Storage Medium Physical material on which a computer keeps data, Screen display and contents instructions, and B2001 @ Peter Lo 2007of most RAM (memory) 99 B2001 @ Peter Lo 2007 100 erased when power is off information Reading and Writing Memory vs. Storage (Summary)

Device Access Speed Cost per MB

Reading Memory Cache Memory Fastest Highest Process of transferring data, instructions, RAM Fast High and information from Writing a storage medium Storage Hard disk Medium Medium into memory Process of transferring items Serves as a source from memory to a CD-ROM Disc Slow Low of input storage medium Serves as a Backup Tape Very Slow Lowest source of output

B2001 @ Peter Lo 2007 101 B2001 @ Peter Lo 2007 102

Floppy Disk What are the parts of a ?

„ Portable, inexpensive storage medium „ Thin, liner „ Today’s standard disk is 3.5” wide circular, flexible film shutter enclosed between metal hub two liners

magnetic shell flexible B2001 @ Peter Lo 2007 103 B2001 @ Peter Lo 2007coating thin 104 film How does a floppy disk drive work? Tracks and Sectors

1: Shutter moves to 2: Signal sent to control 3: If write instruction, circuit expose recording board verifies whether disk can sector movement of read/write „ Track is narrow surface on disk be written to 18 per track heads and disk recording band that 4: Motor causes track floppy disk to spin Step 2 forms full circle on 80 per Step 1 disk surface side 5: Motor positions Step 6 „ Sector can store up read/write heads over correct to 512 bytes of location on disk data

6: Read/write heads read data Step 5 from or write data on the floppy disk Step 4 80 tracks per side x 18 sectors per track x 2 sides per Step 3 disk x 512 bytes per sector = 1,474,560 bytes B2001 @ Peter Lo 2007 105 B2001 @ Peter Lo 2007 106

How to Take Care a Floppy? What is a Write-protect Notch?

„ Small opening „ Proper care helps maximize disk’s life notch open with a cover that means you „ Floppy disk can last at least seven years cannot write you slide write-protected on the disk „ Protects floppy disks from being not write-protected erased notch closed means you accidentally can write on the disk

B2001 @ Peter Lo 2007 107 B2001 @ Peter Lo 2007 108 High-capacity Disk Drive Hard Disk

„ Uses disks with capacities of 100 MB and greater „ High-capacity storage „ Primarily used to backup files and transfer files „ Consists of several inflexible, circular platters that store items electronically „ Components enclosed in airtight, sealed case for protection

hard disk installed in system unit

B2001 @ Peter Lo 2007 109 B2001 @ Peter Lo 2007 110

How does a Hard Disk Work? What is a Cylinder?

3: When software cylinder track 1: Circuit board controls 2: Small motor requests disk „ Location of a single track movement of head spins platters access, read/write activator and small motor heads determine through all platters location of data „ Single movement of Step 2 4: Head actuator Step 1 read/write head arms can positions read/write head read same track on all arms over correct platters location on platters to read or write data

Step 3 B2001 @ Peter Lo 2007Step 4 111 B2001 @ Peter Lo 2007 112 A Head Crash! Disk Cache

„ Occurs when read/write head touches platter surface „ Portion of memory processor uses to store „ Spinning creates cushion of air that floats read/write head frequently accessed items above platter processo Gap is half the r diameter of a dust particle disk cache Clearance between head hard disk and platter is hair approximately two millionths read/write head of an inch first request for data dust — to disk cache smoke gap second request for data — to hard disk B2001 @ Peter Lo 2007platter 113 B2001 @ Peter Lo 2007 114

What is a Partition? Removable Hard Disk

„ Formatted hard disk „ Disk drive in which a plastic or metal case divided into separate surrounds the hard disk so you can remove it from areas called drive C the drive partitions „ Designation for first Used for backup or to transfer files „ Each partition partition or for a single functions as if it partition on hard disk were a separate one hard disk divided into two partitions drive D Designation for second partition on hard disk B2001 @ Peter Lo 2007 115 B2001 @ Peter Lo 2007 116 ZIP Drive (CD) OM -R CD „ A high-capacity floppy disk drive developed by Iomega „ Storage medium CD Corporation. -R „ Most PCs include some type of compact disc drive „ Zip disks are slightly larger than conventional floppy disks, and about twice as thick. „ Available in variety of formats „ They can hold 100 or 250 MB of data. C „ Because they're relatively inexpensive and durable, they D-R have become a popular media for backing up hard disks W and for transporting large files. +RW DVD M -RO B2001 @ Peter Lo 2007 117 B2001 @ Peter Lo 2007DVD 118

How does a Laser Read Data on a How do you Use a Compact Disc? Compact Disc? Insert disc, „ CD drives can read Push button label side up 1: Laser diode shines light compact discs, beam toward compact disc Compact disc to slide out Step 231 label including audio the tray discs 2: If light strikes pit, it scatters. If light strikes land, it is reflected back toward laser diode. pit land 3: Reflected light lens lens deflected to light-sensing 0 1 diode, which sends digital signal of 1. prism prism Absence of reflected light read as digital Light- Light- sensing signal of 0. sensing Push the same diode diode laser laser button to close diode diode B2001 @ Peter Lo 2007the tray 119 B2001 @ Peter Lo 2007 120 How should you Care for a Compact How Data Stored on a Compact Disc? Disc?

„ Typically stores items in single track 1: Do not expose to excessive „ Track divided into evenly sized sectors that store items heat or sunlight 2: Do not eat, smoke, or drink near a disc 3: Do not stack Compact disc 4: Do not touch sectors underside 5: Store in jewel box when not in use 6: Hold disc by its edges

Single track spirals B2001 @ Peter Lo 2007to edge of disc 121 B2001 @ Peter Lo 2007 122

What is a CD-ROM? CD-R (Compact Disc-Recordable)

„ Compact disc that uses same laser technology as audio „ Compact disc onto which you can record text, graphics, CDs for recording music and audio „ Cannot erase or modify contents „ Write on CD-R using CD burner (recorder) or CD-R drive „ Typical CD-ROM holds about 650 MB and special software „ Commonly used to distribute software and games „ CD-R drive can read and write both audio CDs and standard CD-ROMs „ Cannot erase disc’s contents

B2001 @ Peter Lo 2007 123 B2001 @ Peter Lo 2007 124 CD-RW (Compact Disc-ReWritable) How to Create Audio CD?

1 „ Erasable disc you can write on Multiple Times Step 1: Artist composes song and creates CD 2a 2b „ Must have a CD-RW disc, CD-RW software, Step 2a: Song stored on audio CD and CD-RW drive and purchased by user OR Step 2b: Song compressed and stored on Internet Step 3a: User inserts audio CD into CD-ROM drive, plays song, and copies it to hard disk 5 OR 3a 3b Step 3b: User downloads song as audio file to hard disk Step 4: User copies file to CD-RW disc Step 5: User listens to song on personal computer or removes 4 B2001 @ Peter Lo 2007 125 CDB2001 and @ listens Peter Lo to 2007song 126 on portable CD player

DVD-ROM (Digital Video Disc-ROM) How does a DVD-ROM store data?

„ High capacity compact disc capable of storing „ Two layers of pits are used, where lower layer is from 4.7 GB to 17 GB semitransparent „ Must have DVD-ROM drive or DVD player to „ Laser can read through it to upper layer read DVD-ROM „ DVD+RW is a rewritable DVD „ Primarily used for movies „ Next-generation software will be delivered on DVD

B2001 @ Peter Lo 2007 127 B2001 @ Peter Lo 2007 128 Tape Sequential Access vs. Direct Access

„ Magnetically coated ribbon of plastic capable of storing „ Sequential Access large amounts of data and information at a low cost ‹ Reading and writing data consecutively „ Primarily used for backup ‹ Method used for tape „ Direct Access

‹ Can locate a particular data item or file immediately

‹ Method used for floppy disks, hard disks, and compact discs

‹ Also called Random Access

B2001 @ Peter Lo 2007 129 B2001 @ Peter Lo 2007 130

Enterprise Storage System Miniature Mobile Storage Media

„ Strategy that tape library „ Handheld devices use to augment internal storage focuses on availability, protection , CD-ROM CompactFlash 4 GB Cartridge RAID jukeboxes Digital cameras, notebook organization, and computers backup of storage in a company Memory Stick 2 GB Digital cameras, handheld computers, notebook computers, servers printers, cellular telephones Microdrive 6 GB Memory Card Digital cameras, handheld computers, music players, video cameras SmartMedia 2 GB Memory Card Digital cameras, handheld B2001 @ Peter Lo 2007 131 B2001 @ Peter Lo 2007computers, photo printers, 132 Storage area network Network Storagestorage Internet backup cellular telephones Microfilm and Microfiche Life Expectancies of Various Media

„ Store microscopic images of documents on a roll or a sheet of film „ Images recorded using a Computer Output Microfilm (COM) Recorder

Microfilm Microfiche Uses a 100- to 215- foot roll of film Uses a small sheet of film, usually 4” x 6” B2001 @ Peter Lo 2007 133 B2001 @ Peter Lo 2007 134

Technology Trends – General

„ Cost performance advantage of computers over manual labor Computer Hardware and Technology „ The dominance of the GUI concept „ Dramatic increases to storage Trends „ The use of intelligent agents to make computers appear ‘smarter’ Technology Trends „ Computers will become to be increasingly smaller in size and more portable „ Wearable computers: A consequence of nanotechnology „ An increasing importance in artificial intelligence and expert systems

B2001 @ Peter Lo 2007 135 B2001 @ Peter Lo 2007 136 Technology Trends – Networked Technology Trends – Hardware Computing

„ Lower Cost and Greater Capability – Advances in „ Mobile and wireless applications will take on materials science, manufacturing, and concepts of computing promise to maintain the historic growth pattern increasing importance in hardware power. Hardware prices have dropped while „ Home computing will be integrated with various their capacity has increased. The improved capabilities of electronic services to create smart appliances the computer include higher speed and larger storage capacity. „ E-commerce will grow at an exponential rate „ Better Reliability – As hardware becomes cheaper, it is „ The Internet will continue to penetrate every level easier to justify hardware redundancy, which means having standby or duplicate hardware to act as a fallback in cases of society of hardware failure. „ Business to Business commerce will be „ Portability – Computers are becoming smaller and more increasingly done electronically portable. This can be seen in the notebook and palmtop computers. B2001 @ Peter Lo 2007 137 B2001 @ Peter Lo 2007 138

Technology Trends – Implications of Technology Trends – Convergence of Increased Computerization Technologies

„ The hardware trends have resulted, and will continue to „ Historically, data processing, telecommunications and result in greater usage of computers and information office services have evolved separately. processing. Many or all aspects of a business organization ‹ Office services or systems include many equipment will be touched by the use of computers. found in the office and which we take for granted today. „ The increased presence of computers brings with it a ‹ Data processing involves computers and software. number of issues and risks. ‹ The telephone was not related to either technology. ‹ Security – There will be greater concern for security, „ In the last few decades, we have seen a gradual merger of especially in view of the fact that all documents could these technologies. be accessed by a hacker using a telephone line. ‹ It would not be possible to have the international ‹ Connectivity – Differences in hardware and software computer networks we know without using the purchased by different parts of an organization could telephone network for data transmission. result in problems in networking three computers, integrating the applications and sharing data. ‹ Similarly, the telephone systems are now managed using computers. B2001 @ Peter Lo 2007 139 B2001 @ Peter Lo 2007 140 Intelligent Building

„ Many end-user computing tools help to automate the office and therefore, these concepts overlap. „ Types of Telecommunication Services ‹ The services to be considered include computer data, telephones and faxes, videoconferencing and so on. The media used is usually the telephone network but there are different options which must be considered to meet the traffic requirements. „ Transportation ‹ The lifts, escalators and other transportation means must be carefully integrated. An intelligent building will ensure that lifts are sent to the floors which need them most.

B2001 @ Peter Lo 2007 141