Input and Output Chapter 4 The User Connection Copyright © Prentice Hall 2000 1 Functions of Computer Systems Recall that there are four main functions of computer systems. Secondary Storage Input Copyright © Prentice Hall 2000 Processing Output 2 Input and Output The computer user is very aware of inputting data and the output (processed information) that is the result. Copyright © Prentice Hall 2000 3 Inputting Data • • • • Keyboard Mouse Trackball Magnetic-ink character recognition • Scanner • Optical mark recognition Copyright © Prentice Hall 2000 • Optical character recognition • Bar codes • Handwritten characters • Voice input • Touch screens • Looking 4 Keyboard A keyboard is similar to a typewriter keyboard. Not all keyboards are traditional. Customized keyboards can be found in business, schools, and homes. Copyright © Prentice Hall 2000 5 Mouse The mouse movement corresponds to movement of the pointer (cursor) on the screen. A mouse also has one or more buttons which allow selection of items on a screen. Copyright © Prentice Hall 2000 6 Trackball The trackball stays in one place while the user rolls the ball directly with one hand. Trackballs are ideal when a flat surface does not exist. Copyright © Prentice Hall 2000 7 Magnetic-ink Recognition The most common example of characters made of magnetic particles can be seen on personal checks. Copyright © Prentice Hall 2000 8 Scanner A scanner is an optical recognition system that uses light to scan an image and convert it into electrical signals. The signals are then processed so that the image appears on the computer monitor. Copyright © Prentice Hall 2000 9 Optical Mark Recognition This technique uses a machine to sense marks on a piece of paper. Computer-graded answer sheets rely on optical mark recognition (OMR) to score tests. Copyright © Prentice Hall 2000 Exam a b c d 1. OOOO 2. 3. 4. 5. O O O O O O O O O O O O O O O O 10 Optical Character Recognition (OCR) OCR devices use a light source to read special characters or printed text. OCR devices can “read” pages in a book or sale tags on store merchandise. Copyright © Prentice Hall 2000 11 Bar Codes Bar codes appear on the product as a series of zebra-like stripes. Bar codes are used to identify a product when read by a device called a bar code reader. Copyright © Prentice Hall 2000 12 Handwritten Characters Machines can read handwritten characters. However, the size, completeness, and legibility of the handwriting must follow rigid rules. Copyright © Prentice Hall 2000 machines that can read 13 Voice Input Speaking to a computer requires speech recognition devices. The computer processes the sounds into binary code and can “learn” what the code means. Copyright © Prentice Hall 2000 Hello Hal. Hello Hal. 14 Touch Screens Touch screens are designed so that if touched, the computer knows what the person has selected. Copyright © Prentice Hall 2000 Yes N o 15 Looking In the future, input might be gathered from our eye movements, and watching images that appear on our retina. Copyright © Prentice Hall 2000 16 Output of Information Useful information for the user can take on a variety of forms: • Computer screens • Printers • Voice output • Music and sound Copyright © Prentice Hall 2000 17 Computer Screens Screen output is known as soft copy because it is intangible and temporary. Most computer screens are of the cathode ray variety. Copyright © Prentice Hall 2000 18 Cathode Ray Tube (CRT) Most CRT screens use raster scanning to produce the image. The image must be refreshed often. The rate of refreshing is called scan rate. The image we see actually consists of dots (pixels) on the screen that are either illuminated or not. Copyright © Prentice Hall 2000 19 Pixels Resolution is determined by the number of pixels on the screen. The amount of space between pixels is dot pitch, which determines image quality. Copyright © Prentice Hall 2000 20 Resolution Just Gets Better There are two common resolutions available today: Copyright © Prentice Hall 2000 SVGA •800x600 •1024x768 •1280x1024 •1600x1200 XGAmore colors 21 Flat Screens Some computer screens use liquid crystal technology. LCDs are popular with laptop computers. Copyright © Prentice Hall 2000 22 Terminals Terminals integrate a monitor, keyboard and communications link. Smart terminals have their own CPU Copyright © Prentice Hall 2000 23 Printers A printer is an output device that produces a hard copy of your work (a printout on paper). There are two ways to print onto paper: • Impact • Non-impact Copyright © Prentice Hall 2000 24 Impact Printers An impact printer makes physical contact with the paper to produce an image. Impact printers are practical for print jobs in which quantity matters or when multiple (carbon) copies are needed simultaneously. Copyright © Prentice Hall 2000 25 Non-Impact Printers Non-impact printers put the image on the page without physically striking the paper. These printers are best when quality is important. Copyright © Prentice Hall 2000 26 Voice Output Hello Dave. Copyright © Prentice Hall 2000 Synthesizing speech is much easier for a computer than speech recognition. There are two methods: • Synthesis by analysis • Synthesis by rule 27 Synthesis by Analysis In this method of speech synthesis, the output device analyzes the input of a human voice speaking words. The words are stored and the sounds are processed. Later, the computer “talks” by reproducing the words as needed. Copyright © Prentice Hall 2000 28 Synthesis by Rule In this method of speech synthesis, the output device applies a complex set of linguistic rules to create artificial speech. Copyright © Prentice Hall 2000 29 Music and Sound Output • May be as simple as attaching speakers to the computer. • For more serious output, add sound chips to simulate different instruments or sound effects. Copyright © Prentice Hall 2000 • Use MIDI to record and playback musical compositions 30 Computer Graphics Output Examples of this kind of output include: • • • • Business graphics Video graphics CAD/CAM Education Copyright © Prentice Hall 2000 • Computer art • Science • Sports 31 Business Graphics Business graphics is a powerful way to turn numerical data into more meaningful information. April Sales by Teams (A, B, C, and D) The addition of color increases understanding. Copyright © Prentice Hall 2000 32 Video Graphics Video graphics combines computer graphics and sound, with the ability to animate a series of frames. Copyright © Prentice Hall 2000 33 TV’s Special Effects Many television programs and movies rely on the special effects made possible with video graphics technology. Copyright © Prentice Hall 2000 34 CAD/CAM Computer-aided design (CAM) and computer-aided manufacturing use computers to design, build, and test products. Copyright © Prentice Hall 2000 35 Digital Cameras • Digital cameras take photographs and store them internally • Photos are then sent to the computer for output, or stored on disk. Copyright © Prentice Hall 2000 36 Ethics and Data Just because a computer will allow you to input data and produce new information as output, doesn’t always mean it is legal or right to do so. Copyright © Prentice Hall 2000 37 Ethics and Data Is the situation described below ethical? Use computer software to substitute one person for another in a photograph. Copyright © Prentice Hall 2000 38 Ethics and Data Is the situation described below ethical? Erase contents of e-mails that may help someone filing suit against your company. Copyright © Prentice Hall 2000 39 Conclusion Newer input and output devices are announced regularly. Users reap the benefits of improvements in performance and ease of use. Copyright © Prentice Hall 2000 40