4 input and output devices

arslanzafar13162 1,036 views 40 slides Apr 19, 2019
Slide 1
Slide 1 of 40
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38
Slide 39
39
Slide 40
40

About This Presentation

input and ouput


Slide Content

INPUT AND OUTPUT
DEVICES
LECTURE # 04 (COMPUTER)

INTRODUCTION
•Acomputerinteractswiththeexternalenvironmentviathe
input-output(I/O)devicesattachedtoit.
•Inputdeviceisusedforprovidingdataandinstructionstothe
computer.
•Afterprocessingtheinputdata,computerprovidesoutputto
theuserviatheoutputdevice.
•TheI/Odevicesthatareattached,externally,tothecomputer
machinearealsocalledperipheraldevices.

INPUT-OUTPUT UNIT
•AnI/Ounitisacomponentofcomputer.
•TheI/Ounitiscomposedoftwoparts
1.inputunitand
2.outputunit.
•Theinputunitisresponsibleforprovidinginputtothe
computer
•Theoutputunitisforreceivingoutputfromthecomputer.
•Inadditiontoinputdevicesandoutputdevices,somedevices
functionasbothinputandoutputdevices.

INPUT UNIT
•Theinputunitgetsthedataandprogramsfromvariousinput
devicesandmakesthemavailableforprocessingtoother
unitsofthecomputer.
•Theinputdataisprovidedthroughinputdevices,suchas—
keyboard,mouse,trackballandjoystick.Inputdatacanalso
beprovidedbyscanningimages,voicerecording,video
recording,etc.
•Theinputunitacceptsinputdatafromtheuserviainput
device,transformstheinputdataincomputeracceptable
formusinginputinterfacefortheinputdeviceandprovides
thetransformedinputdataforprocessing

OUTPUT UNIT
•Theoutputunitgetstheprocesseddatafromthecomputer
andsendsittooutputdevicestomakethemavailabletothe
userofcomputer.
•Theoutputdataisprovidedthroughoutputdeviceslike
displayscreen,printer,plotterandspeaker.
•Inbrief,theoutputunitacceptsoutputdatafromcomputer
viaoutputdevice,transformstheoutputinformationto
humanreadableformusingtheoutputinterfaceofoutput
deviceandprovidesthetransformedoutputtouser

INPUT DEVICES
•Inputdevicesallowusersandotherapplicationstoinputdata
intothecomputer,forprocessing.Thedatainputtoa
computercanbeintheformoftext,audio,video,etc.
•Inputdevicesareclassifiedasfollows:
•Humandataentrydevices
•Keyboard
•Pointingdevices—mouse,trackball,joystick,digitizingtablet
•Pickdevices—lightpen,touchscreen

INPUT DEVICES
•Sourcedataentrydevices
•Audioinput—speechrecognition
•Videoinput—digitalcamera
•Scanner—hand-heldscanner,flat-bedscanner
•OpticalScanner—OCR,OMR,MICR,barcodereader
•Inadditiontotheabovedevices,theinputtoacomputercan
alsobeprovidedfromastoragedeviceonthecomputer,
anothercomputer,oranotherpieceofequipment,suchasa
musicalinstrument,thermometerorsensors.

HUMAN DATA ENTRY DEVICE
•Inputdevicesthatrequiredatatobeenteredmanuallytothe
computerareidentifiedashumandataentrydevices.
•Thedatamaybeenteredbytypingorkeyingin,orby
pointingadevicetoaparticularlocation.
1.Keyboard
2.PointingDevices
3.Mouse
4.TrackBall
5.Joystick
6.DigitizingTablet
7.PickDevices
8.LightPen
9.TouchScreen
(Seenotesfordetails)

SOURCE DATA ENTRY DEVICES
•Sourcedataentrydevicesareusedforaudioinput,videoinput
andtoenterthesourcedocumentdirectlytothecomputer.
•Sourcedataentrydevicesdonotrequiredatatobetyped-in,
keyed-inorpointedtoaparticularlocation.
1.AudioInputDevice
2.VideoInputDevice
3.OpticalInputDevice
a.Scanner
b.OpticalCharacterRecognition(OCR)
c.MagneticInkCharacterRecognition(MICR)
d.OpticalMarkRecognition(OMR)
e.BarcodeReader

AUDIO INPUT DEVICE
•Audioinputcanbeprovidedtothecomputerusinghuman
voiceorspeech.
•Audioinputtothecomputercanbeusedfordifferent
purposes.Itcanbeusedformakingtelephonecalls,for
audioandvideoconferencingoverInternet,torecordvoice,
tocreateaudiofilesandembedthesefilestobesentovere-
mail,or,totranslatespokenwordsintotext,etc.
•Audioinputdeviceslikeamicrophoneisusedtoinputa
person’svoiceintothecomputer.
•Asoundcardtranslatesanalogaudiosignalsfrom
microphoneintodigitalcodesthatthecomputercanstore
andprocess.

AUDIO INPUT DEVICE
•Translatingspokenwordsintotextisalsoknownasspeech
recognitionorvoicerecognition.
•Theaudioinputalongwiththesoftwareforvoice
recognitionformsthespeechrecognitionsystemorvoice
recognitionsystem
•Thecomputercanbeoperatedusingvoicecommands.
•Theusercandictatethecommandstothecomputer,instead
oftypingthem.
•Thecomputerhastobetrainedtorecognizethevoiceofuser
usingthespeechpatternsandpronunciationofwords.

VIDEO INPUT DEVICE
•Videoinputisprovidedtothecomputerusingvideocameraand
digitalcamera.
•Videocameracancapturefullmotionvideoimages.Theimages
aredigitizedandcanbecompressedandstoredinthecomputer
disk.
•Webcamisacommonvideocameradevice.Itisplacedonthe
computerabovethescreentocapturetheimagesoftheuserwho
isworkingonthecomputer.
•Digitalcameraworkslikevideocamerabutcancapturestill
images.
•Thedigitalcameradigitizesimages,compressesthemandstores
themonamemorycardlikeflashmemory.
•Theinformationfromthedigitalcameracanbebroughtintothe
computer,editedandstored.

OPTICAL INPUT DEVICES
•Opticalinputdevicesallowcomputerstouselightasa
sourceofinput.
•Scannerisanexampleofopticalinputdevice.
•Othercommonopticalinputdevicesare
•magneticinkcharacterreaderusedforMagneticInkCharacter
Recognition(MICR),
•opticalmarkreaderusedforOpticalMarkRecognition(OMR),
•opticalcharacterreaderforOpticalCharacterRecognition(OCR)
and
•BarcodeReader

SCANNER
•Scannerisusedtoinputdatadirectlyintothecomputerfromthe
sourcedocumentwithoutcopyingandtypingthedata.Theinput
datatobescannedcanbeapicture,atextoramarkonapaper.
•Itisanopticalinputdeviceanduseslightasaninputsourceto
convertanimageintoanelectronicformthatcanbestoredonthe
computer.
•Scanneracceptsthesourcepaperdocument,scansthedocument
andtranslatesitintoabitmapimagetobestoredonthecomputer.
•Scannerscomewithutilitysoftwarethatallowthestoredscanned
documentstobeedited,manipulatedandprinted.
•Hand-heldscannerandflat-bedscannerarethetwocommon
typesofscanners

OPTICAL CHARACTER RECOGNITION
(OCR)
•OCRisatechniqueforthescanningofaprintedpage,translating
it,andthenusingtheOCRsoftwaretorecognizetheimageas
ASCIItextthatiseditable.
•OCRusesopticalcharacterreaderforrecognition.Theoptical
characterreaderstoresthescannedimageasbitmapimagewhich
isagridofdots.Thus,youcannoteditthetextthathasbeen
scanned.
•Toeditthescannedtext,youneedOCRsoftware.TheOCR
softwaretranslatesthearrayofdotsintotextthatthecomputer
caninterpretaswordsandletters.
•Torecognizethewordsandlettersoftext,theOCRsoftware
comparesthepatternonthescannedimagewiththepatterns
storedinsidethecomputer.

MAGNETIC INK CHARACTER
RECOGNITION (MICR)
•MICRisusedinbankstoprocesslargevolumesofcheques.
•Itisusedforrecognizingthemagneticencodingnumbersprinted
atthebottomofacheque.
•Thenumbersonthechequearehumanreadable,andareprinted
usinganinkwhichcontainsironparticles.Thesenumbersare
magnetized.
•MICRusesmagneticinkcharacterreaderforcharacter
recognition.
•WhenachequeispassedthroughMagneticInkCharacterReader,
themagneticfieldcausesthereadheadtorecognizethe
charactersornumbersofcheque.
•ThereadingspeedofMICRisfasterthanOCR.

OPTICAL MARK RECOGNITION (OMR)
•OMRisusedtodetectmarksonapaper.Themarksare
recognizedbytheirdarkness.OMRusesanopticalmarkreaderto
readthemarks.
•TheOMRreaderscanstheforms,detectsthemarkthatis
positionedcorrectlyonthepaperandisdarkerthanthe
surroundingpaper,andpassesthisinformationtothecomputer
forprocessingbyapplicationsoftware.
•Forthis,itusesabeamoflightthatisreflectedonthepaperwith
marks,tocapturepresenceandabsenceofmarks.
•Theopticalmarkreaderdetectsthepresenceofmarkby
measuringthereflectedlight.Thepatternofmarksisinterpreted
andstoredinthecomputer.
•OMRiswidelyusedtoreadanswersofobjectivetypetests,
wherethestudentmarksananswerbydarkeningaparticular
circleusingapencil.

BARCODE READER
•Barcodesareadjacentverticallinesofdifferentwidththat
aremachinereadable.
•Goodsavailableatsupermarkets,books,etc.usebarcodefor
identification.
•Barcodesarereadusingreflectivelightbybarcodereaders.
•Thisinformationisinputtothecomputerwhichinterprets
thecodeusingthespacingandthicknessofbars.Hand-held
barcodereadersaregenerallyusedindepartmentalstoresto
readthelabels,andinlibrariestoreadlabelsonbooks.
•Barcodereadersarefastandaccurate.

OUTPUT DEVICES
•Outputdevicesprovideoutputtotheuser,whichisgenerated
afterprocessingtheinputdata.
•Theprocesseddata,presentedtotheuserviatheoutputdevices
couldbetext,graphics,audioorvideo.
•Theoutputcouldbeonapaperoronafilminatangibleform,or,
inanintangibleformasaudio,videoandelectronicform.
•Outputdevicesareclassifiedasfollows:
•HardCopyDevices
•Printer
•Plotter
•ComputerOutputonMicrofilm(microfiche)

OUTPUT DEVICES
•SoftCopyDevices
•Monitor
•VisualDisplayTerminal
•VideoOutput
•AudioResponse
•Theoutputdevicereceivesinformationfromcomputerina
machinereadableform.
•Thereceivedoutputistranslatedtoahumanunderstandable
form.Thetranslationisdoneusingtheoutputinterfaceof
outputdevice.

HARD COPY DEVICES
•Theoutputobtainedinatangibleformonapaperorany
surfaceiscalledhardcopyoutput.
•Thehardcopycanbestoredpermanentlyandisportable.
•Thehardcopyoutputcanbereadorusedwithouta
computer.
•Thedevicesthatgeneratehardcopyoutputarecalledhard
copydevices.
•Printer,plotterandmicrofichearecommonhardcopyoutput
devices.

PRINTER
•Aprinterprintstheoutputinformationfromthecomputerontoa
paper.
•Printersaregenerallyusedtoprinttextualinformation,but
nowadaysprintersalsoprintgraphicalinformation.
•Theprintquality(sharpnessandclarityofprint)oftheprinteris
determinedbytheresolutionoftheprinter.
•Resolutionismeasuredindotsperinch(dpi).Printerswithahigh
resolution(moredpi)providebetterqualityoutput.
•Differentkindsofprintersareavailablefordifferenttypesof
applications.
•Printersareclassifiedintotwocategories:
1.impactprinterand
2.non-impactprinter

IMPACT PRINTERS
•Impactprintersusethetypewriterapproachofphysically
strikingatypefaceagainstthepaperandinkedribbon.
•Impactprinterscanprintacharacteroranentirelineata
time.
•Impactprintersarelow-costprintersusefulforbulkprinting.
•Dotmatrixprinters,daisywheelprintersanddrumprinters
areexamplesofimpactprinters

NON IMPACT PRINTERS
•Non-ImpactPrintersdonothitorimpactaribbontoprint.
•Theyuseelectro-staticchemicalsandink-jettechnologies.
•Non-impactprintersarefasterandquieterthanimpact
printers.
•Theyproducehighqualityoutputandcanbeusedfor
printingtextandgraphicsbothinblackandwhite,andcolor.
•Ink-jetprintersandlaserprintersarenon-impactprinters.

PLOTTER
•Aplotterisusedforvectorgraphicsoutputtodrawgraphs,
maps,blueprintsofships,buildings,etc.
•Plottersusepensofdifferentcolors(cyan,magenta,yellow
andblack)fordrawing.
•Plottersdrawcontinuousandaccuratelines,incontrastto
printerswherealineisdrawnascloselyspaceddots.
•Plotterisaslowoutputdeviceandisexpensive.
•Plottersareoftwokinds:
1.drumplotterand
2.flatbedplotter

MICROFILM
•Amicrofilmisinaficheorrollformat,andisusedtorecord
computeroutputdirectlyfromthecomputertapeor
cartridge.
•ComputerOutputonMicrofilm(COM)isahighspeedand
lowcostprocess.
•Itcanproducedatainmicrofilmformatamuchfasterspeed
fromthatofapaperprinter
•COMisusedforstoringoutputinbankingandinsurance
applications,medicalXrays,etc.

SOFT COPY DEVICES
•Theoutputobtainedinanintangibleformonavisual
display,audiounitorvideounitiscalledsoftcopyoutput.
•Thesoftcopyallowscorrectionstobemade,canbestored,
and,canbesentviaE–tootherusers.
•Thesoftcopyoutputrequiresacomputertobereadorused.
•Thedevicesthatgeneratesoftcopyoutputarecalledsoft
copydevices.
•Visualoutputdeviceslikecomputermonitor,visualdisplay
terminal,videosystemandaudioresponsesystemare
commonsoftcopyoutputdevices.

MONITOR
•Monitorisacommonoutputdevice.Themonitorisprovided
alongwiththecomputer,toviewthedisplayedoutput.
•Amonitorisoftwokinds-monochromedisplaymonitor
andcolordisplaymonitor.
•Amonochromedisplaymonitorusesonlyonecolorto
displaytextandcolordisplaymonitorcandisplay256colors
atonetime.
•Monitorsareavailableinvarioussizeslike14,15,17,19
and21inches.
•Animageonthemonitoriscreatedbyaconfigurationof
dots,alsoknownaspixels.

MONITOR
•Theclarityofimageonthecomputerscreendependson
threefactors
1.ResolutionofScreen
2.DotPitch
3.RefreshRate
•MonitorscanbeCathodeRayTube(CRT),LiquidCrystal
Display(LCD)orLightEmittingDiode(LED)

VISUAL DISPLAY TERMINAL
•AmonitorandkeyboardtogetherareknownasVisualDisplay
Terminal(VDT).
•Akeyboardisusedtoinputdataandmonitorisusedtodisplay
theoutputfromthecomputer.
•Themonitorisconnectedtothecomputerbyacable.
•Terminalsarecategorizedasdumb,smartandintelligent
terminals.
•Thedumbterminalsdonothaveprocessingandprogramming
capabilities.
•Smartterminalshavebuilt-inprocessingcapabilitybutdonot
haveitsownstoragecapacity.
•Intelligentterminalshavebothbuilt-inprocessingandstorage
capacity

VIDEO OUTPUT
•Screenimageprojectorordataprojectorisanoutputdevice
thatdisplaysinformationfromthecomputerontoalarge
whitescreen.
•Theprojectorismainlyusedtodisplayvisualoutputtoa
largegatheringofpeoplerequiredforthepurposesof
teaching,training,meetings,conferencepresentations,etc.

AUDIO RESPONSE
•Acompletesoundsystemconsistsofsoundcard,microphone,speaker
andtheappropriatesoftware.
•Inadditiontorecordingandplayingthesound,thesoftwareallows
editingofsound,likecutting,copy,amplificationandcreationof
vibrantsoundeffects.
•Audioresponseprovidesaudiooutputfromthecomputer.Audiooutput
devicelikespeakers,headsetorheadphoneisusedforaudiooutput
soundfromcomputer.
•Audiooutputiscommonlyusedforcustomerserviceinairlines,banks,
etc.Itisalsousedinvideoconferences,surveys,etc.
•Audioresponseisusedbyvisuallyimpairedtoreadinformationfrom
thescreen.
•Forspeechimpairedpeople,audioresponsehelpsthemto
communicatewithotherpeople.

I/O PORT
•Theperipheraldevicescanbeconnectedtocomputerin
severalways.Devicessuchasnetworkadaptersandsound
cardsareconnectedtoexpansionslotsinsidethecomputer.
•Printersandscannersareconnectedtoportsonthebackside
ofthecomputer.Alsoinaportablecomputer,thePCCard
connectstothePCCardslotonit.
•TheI/Oportsaretheexternalinterfacesthatareusedto
connectinputandoutputdeviceslikeprinter,modemand
joysticktothecomputer.
•TheI/Odevicesareconnectedtothecomputerviatheserial
andparallelports,UniversalSerialBus(USB)port,Firewire
port,etc.

I/O PORT
•ParallelPort:Aparallelportisaninterfaceforconnectingeight
ormoredatawires.
•Thedataflowsthroughtheeightwiressimultaneously.Theycan
transmiteightbitsofdatainparallel.Asaresult,parallelports
providehighspeeddatatransmission.
•Parallelportisusedtoconnectprintertothecomputer.
•SerialPort:Aserialporttransmitsonebitofdatathroughasingle
wire.
•Sincedataistransmittedseriallyassinglebits,serialports
provideslowspeeddatatransmission.
•Serialportisusedtoconnectexternalmodems,plotters,barcode
reader,etc.

I/O PORT
•USBPort:Nowadays,USBisacommonandpopularexternal
portavailablewithcomputers.
•Normally,twotofourUSBportsareprovidedonaPC.
•USBallowsdifferentdevicestobeconnectedtothecomputer
withoutrequiringre-bootofthecomputer.
•USBalsohastheplugandplayfeaturewhichallowsdevices
readytoberunsimplybypluggingthemtotheUSBport
•Firewire(IEEE1394):Itisusedtoconnectaudioandvideo
multimediadeviceslikevideocamera.Itisanexpensive
technologyandisusedforlargedatamovement.
•HarddiskdriveandnewDVDdrivesconnectthroughfirewire.It
hasdatatransferrateofupto400MB/sec.

I/O PORT

WORKING OF I/O SYSTEM
•TheworkingofI/OsystemcombinesI/OhardwareandI/O
software.
•TheI/Ohardwareincludesports,busesanddevicecontrollersfor
differentdevices,andI/Odevices.
•TheI/Osoftwareisthedevicedriversoftwarethatmaybe
embeddedwithoperatingsystemorcomeswitheachdevice.
•TheworkingofI/Osystemisdescribedasfollows:
•I/ODevicesareattachedtocomputerviatheportsofcomputer.
Therearemanystandardportsavailableonthebacksideofthe
computercaselikeserialportandparallelport.
•Ifoneormoredevicesuseacommonsetofwires,itiscalleda
bus.Forexample,PCIbus,PCIExpressbus,etc.

WORKING OF I/O SYSTEM
•DeviceControlleroperatesonabus,aportoradevice.Itcontrols
thesignalsonthewiresofportorbus.Thecontrollershaveone
ormoreregistersfordataandcontrolsignals.
•Controllermaybesimplelikeaserialportcontrollerforaserial
port,or,complexlikeaSCSIcontroller.Somedeviceshavetheir
ownbuilt-incontrollers.
•DeviceDriverissoftwareviawhichtheoperatingsystem
communicateswiththedevicecontrollers.Eachdevicehasits
owndevicedriver,andadevicecontrollerwhichisspecifictothe
device.
•Thedevicedrivershidethedifferencesamongthedifferent
devicecontrollerandpresentauniforminterfacetotheoperating
system

WORKING OF I/O SYSTEM
•ApplicationprogramsuseanI/Odevicebyissuing
commandsandexchangingdatawiththedevicedriver.
•Thedevicedriverprovidescorrectcommandstothe
controller,interpretsthecontrollerregister,andtransfersdata
toandfromdevicecontrollerregistersasrequiredforthe
correctdeviceoperation.
Tags