Professional Documents
Culture Documents
INTRODUCTION
Theworldofbusinesshaschangeddramaticallysincetheintroductionofthefirst modernmultipurposecomputerover50yearsago.TheENIAC(ElectronicNumericalIntegrator andComputer),designedbyDrs.MauchlyandEckert,twoAmericanengineers,wassetupat theUniversityofPennsylvaniain1946.This30tonmachineoccupiedathirtybythirtyroom, contained18,000vacuumtubeslinkedby500milesofwiring,andcouldperform100,000 operationspersecond.Itconsumedsomuchelectricitythatitdimmedthelightsinthesectionof Philadelphiawhereitwashoused.Thankstothedevelopmentoftheintegratedchip,the computerhasevolvedintoafarsmaller,morepowerful,andlessexpensivemachine.Todays microcomputeris3,000timeslighterthantheENIAC,performs4000timesfaster,andcosts severalmilliondollarsless.Otherinnovationshavemadethecomputereasyenoughforachild touseandversatileenoughforapplicationsrangingfromastrophysicstoarcadestylegames.As aconsequenceoftheirdecreasingsizeandcost,computerscanbefoundtodayinvirtuallyevery cornerofAmericansociety,fromresearchfacilitiesandcorporateheadquarters,toschoolsand homes. Youneedonlylookaroundabusinessofficetoseeevidenceofthecomputerrevolution. Inalargeofficeyoumightfindavarietyofcomputers,ranginginsizefromamainframe computerhousedinaroomofitsown,toapalmsizedpersonalassistanttuckedintoan executivesbriefcase.Agrowingnumberofprofessionsrelyoncomputers,andaccountingisone ofthem.Thisintroductionwillprovideyouwiththefundamentalsofcomputerhardwareand
softwaretohelpyouprepareforthematerialpresentedinthetext.
TYPES OF COMPUTERS
Computerscanbegroupedintocategoriesinnumerousways.Table1belowclassifies themaintypesofcomputersaccordingtotheirphysicalsize,processingspeed,cost,andnumber ofusers.Amicrocomputer,orpersonalcomputer(PC),mightcostafewthousanddollars.Itisa smallcomputerthatcanfitonadesktop,andisappropriateforasingleuser.Thenextlarger computeristheminicomputer.Aminicomputermightcosttensofthousandsofdollars.Itisabout thesizeofarefrigeratorand,whencombinedwithvariousperipherals,mightfillasmallroom. Minicomputersoftenhaveseveralhundredusers.Largebusinessesoftenhavemainframe computers.Thesemachinesarehousedinlargeroomsorevenentirebuildingfloors.Theycostup toseveralmilliondollars,andthousandsofuserscanaccessthecomputersimultaneously.Ina networkedenvironment,minicomputersandmainframesarebothfrequentlycalledservers.The largestandmostexpensivecomputer,thesupercomputer,isoftenusedinresearchsettingsand otherenvironmentsthatrequireacomputerwithextraordinarycomputingpower.Some supercomputersarecapableofperformingseveralbillioninstructionspersecond. Table1:TypesofComputers Type Microcomputer or Personal Computer(PC) Minicomputer PhysicalSize Fitsinhand,on lap,oron desktop Smallcabinet; mayfillasmall roomwith accompanying peripherals Computer ProcessingSpeed* Upto400MIPS Cost $1,000to$4,000 NumberofUsers Onestandalone ormanymay accessitthrough anetwork Uptoseveral hundred
Upto1000MIPS
$5,000to $200,000
Mainframe
Uptoseveral
$250,000to
Hundredsto
Supercomputer
thousandMIPS
$3,000,000
thousands
Upto10,000MIPS
Severalmillion dollarsandup
Hundredsto thousands
*Processing speed is commonly measured in millions of instructions per second (MIPS). One instruction is a basic task, e.g., adding two 10-digit numbers or storing the result in specific location
. For comparison, the human brain is estimated to be capable of 100 million MIPS.
WHAT IS A COMPUTER?
Whenwethinkofacomputer,wegenerallypicturecomputerhardware:themonitor,the keyboard,andtheelectroniccircuitrycontainedwithintherectangularcase.Thereismoretoa computerthanthis,however.Themissingelementissoftwaretheinstructionsthattellthe computerhowtooperatethehardware.Allcomputersmusthavethesetwocomponentsto function.However,itissoftwarethatgivesthecomputeroneofitsmostdistinguishing characteristicstheabilitytoprogramasinglemachinetoperformmanydifferentfunctions. Ingeneralterms,acomputerisamachineoperatingunderthecontrolofinstructions storedinitsownmemory.Theseoperationsandinstructionsenablethecomputertoreceivedata
fromauser(input),transformandmanipulatethedataaccordingtospecifiedrules(process), produceresults(output).Additionally,data,instructions,andinformationarestored(storage)for futureretrievalanduse.Manycomputersarealsocapableofanothertask:communicating directlywithothermachines. Theuserperformstheinputtaskwithadevicesuchasakeyboard,mouse,ordigital scanner.Thesedevicesallowtheusertoenterdataandinstructionsintothecomputer.A secondarystoragesystemstoresandretrievesadditionaldataandinstructionsthatmayalsobe usedintheinputandprocessingstages.Thissystemmightincludemagneticoropticaldevices, suchasCDROMs,harddisks,floppydisks,andtapes.Thecentralprocessingsystem,which manipulatesthedata,isperhapsthemostimportantpartofthecomputer.Thissystemisthe brainofthecomputerinthatitenablesthecomputertotransformunorganizedinputsinto usefulinformation.Thecentralprocessingsystemincludesthecentralprocessingunit(CPU)and theprimarymemory.Thecomputersoutputsystemdisplaystheresultsofthedata manipulation.Theoutputsystemmightincludeamonitor,aprinter,aplotter,avoiceoutput device,ormicrofilm/microficheequipment.Afinalelementofacomputeristhecommunication system,whichpassesinformationfromcomputertocomputerovercommunicationmedia.Each ofthesesystemsisdiscussedinmoredetailbelow. Asnotedabove,computerscomeinmanytypes.Itwouldbedifficulttoadequatelycover thevariationsinthecomponentsofthesedifferentcomputertypesinabriefintroduction. Therefore,wewillconfinethefollowingdiscussiontopersonalcomputers(PCs).However,most ofthediscussion,especiallyasrelatingtobasiccomputeroperations,iseasilytransferableto othercomputertypes.
HARDWARE
Thetermhardwarereferstothetangiblepartsofacomputersystem,thatis,thephysical equipmentofthecomputer.Akeyboard,diskdrive,andmonitorareexamplesofcomputer hardware.(Softwareisdiscussedlater.)Understandingthevariousphysicalcomponentsofa computersystemwillhelpyouunderstandhowthesystemworksasawhole.Asdescribed above,thegeneralmodelofacomputerconsistsofaninputsystem,storagesystem,process system,andoutputsystem.Ourdiscussionofcomputerhardwarewill,therefore,beorganized aroundthesesystems,alongwithcommunicationsasanadditionalfunctionofwhichsome computersarecapable.
INPUT SYSTEM
Aninputsystemcomprisesoneormoredevicesthattheuseremploystoenterdataor instructionsintothememoryofthecomputersothattheCPUcansubsequentlyprocessthem. Data,asdiscussedabove,areunorganizedfactsthatcanbecomeusefuloutputbybeing transformedintoinformation.Instructionsmaybeinputasprograms(instructionsthatdirectthe performanceofthecomputer),commands(instructionsdirectaprogram),anduserresponses (instructionsfromtheusercreatedbyreplyingtoaquestionposedbythecomputer).Input devicescomeinmanyforms.Someofthemorecommondevicesaredescribednext.
Trackball.Thetrackballisbasicallyanupsidedownmouse.Insteadofrollingtheballon asurfaceaswiththemouse,theuserrotatesthetrackballwiththehanddirectlytopositionthe
cursoronthescreen.
Fromtheseinputs,thespeechrecognitionsystemwillcreatearecordofitemsreceivedbya receivingclerk.
havetheATMdestroyorconfiscatetheaccesscard.Inanycase,theuserwillneedtoappearin personatthebankandreestablishaccessauthority.
thatotherwisewouldneedtobekeyedmanually.
OpticalMarkRecognition.Thisinputdeviceisabletoreadthehanddrawnmarksand darkenedinfieldsplacedonsurveys,tests,andquestionnaires.
STORAGE SYSTEM
Inputsaresenttoeithermemoryorstorage,waitingsubsequentprocessingbythe computer.Withregardstocomputers,thereisacommonlyaccepteddistinctionbetweenthe termsmemory(orprimarymemory)andstorage(orsecondarystorage).Memoryreferstothe instructions,information,anddatawaitingforimmediateprocessing.Forthisreason,memoryis alsoreferredtoasworkingmemory.Memoryissavedelectronicallyonmemorychips.Storage, informationandinstructionsaresavedonmagneticoropticalmedia.Itisfastertoaccessdata andinstructionsfromprimarymemorythanfromsecondarystoragemedia,buttheinformation inmemoryisusuallyvolatile;i.e.,itdisappearswhenthecomputerspoweristurnedoff. (Actually,thesituationisabitmorecomplicatedbecausetherearealsosometypesofmemory thatarenonvolatile.Thesewillbediscussedinthe"CentralProcessingSystem"sectionbelow.) Theinformationsavedinstoragemediaisnonvolatileandremainsinthecomputerevenwhen powerisoff.Ingeneral,dataandinstructionsarekeptinsecondarystoragewhennotneededfor processing.WhenrequiredforprocessingbytheCPU,theyareretrievedfromstorage,sentto
memory,wherekeptuntilprocessed.
Floppydiskettesemploymagneticstoragetechnology.Thedisksare3.5inchesin diameterandareeasilyportable.Asinglefloppycanhold1.44MB.
ImitationSuperDisk ,whichcanhold120MB.
PROCESSING SYSTEM
Oncedatahasbeeninputintothecomputerandstored,thecomputermustbeableto retrieveandmanipulateitinusefulways.Thistaskishandledbythehardwarethatmakesup thecentralprocessingsystem,whichincludestheprimarymemory,thecentralprocessingunit (CPU),expansioncards,ports,buses,andconnectors.Thevariouspartsofthecomputersystem areconnectedthroughaprintedcircuitboardcalledthesystemboardormotherboard.Thesystem boardcontainstheprimarymemory,theCPU,thesystemclock,expansionslots,andexpansion ports.InaPC,thecentralprocessingsystemishousedaboxlikecasecalledthesystemcaseor systemunit.
MEMORY.Asdiscussedabove,instructionsanddataneededforimmediateprocessing areusuallyplacedinmemory.Acomputerhastwotypesofmemory:volatileandnonvolatile. Theyareusedforthelongandshorttermretentionofinformation,respectively.RAMandcache areexamplesofvolatilememorytheprimarymemory.ROMandCMOSareexamplesof nonvolatilememory. Randomaccessmemory(RAM)temporarilyholdsdata,theoperatingsystem (instructionsthatcontrolthecomputersoperation),andapplicationsoftware(instructionsthat manipulatedata).TheoperatingsystemresidesinRAMonlywhilethecomputeristurnedon. TheapplicationsoftwareremainsinRAMonlywhileitisbeingused.Unlessthereisenough RAMtoholdtheapplicationsoftwareformorethanoneprogramatatime,whennew applicationsoftwareisretrievedfromsecondarystorage,itisloadedintoRAM,replacingthe
applicationsoftwarethatwaspreviouslyresidingthere.Mostcurrentcomputershaveenough RAMtorunseveralapplicationssimultaneously,aprocesscalledmultitasking.Dataand instructionsabouttobeprocessedareinRAM,asaretheoutputoftheprocesses.Recallthatthe dataandinstructionsinworkingmemory(i.e.,RAM)areelectronicallystored,asopposedto beingmagneticallyoropticallystored.Thus,whenthecomputerisshutdown,allinstructions anddatainRAMarelostbecausetheflowofelectricityceases.InRAM,anyaddresscanbe randomlyaccessedatanytime;hencethenamerandomaccessmemory. CachememoryisveryfastRAM.Itisusedtostorefrequentlyusedinstructions. Computersthathavecachememoryprocessdatafasterthancomputerswithoutitbecausedata travelsfasterfromcachetotheCPUthanfromRAMtotheCPU.Somecacheisbuiltdirectlyin theprocessorchip,whileothercacheisinachipexternaltotheprocessorchip. Readonlymemory(ROM)containsinstructionsthatthecomputerusestooperate variousaspectsofthehardware.UnlikeRAM,theinformationstoredintheROMchipisnotlost whenthecomputeristurnedoff.However,thisinformationiswritteninthefactoryandcannot bealteredbytheuser.ROM,forexample,containstheinstructionsthecomputerfollowstoload theoperatingsystemwhenfirstturnedon. Complementarymetaloxidesemiconductor(CMOS),likeROM,isalsononvolatile memory.UnlikeROM,theusercanchangeCMOS.Forexample,CMOScontainsdateandtime informationthattheusercanupdate.
logicaloperations(and,or,andnot).Alltransformationsof"meaningless"datainto"useful" informationultimatelyaretheresultofthesethreefunctions.Thecontrolunitretrieves instructionsanddatafromprimarymemoryanddetermineswhichinstructionstheALUwill carryout.TheCPUalsocontainsregisters,whicharetemporaryholdingareaswheredataresides beforeaninstructionisexecuted.Notethemultiplelayersofinformationretentionrequiredby thecomputer:storage(whereinformationiskeptlongterm),memory(whereinformationiskept shortterm),andregisters(whereinformationiskeptduringprocessing).InaPC,theCPUis usuallycontainedinonechip,calledthemicroprocessororsimply,processor;e.g.,theIntel PentiumIIIandtheAMDAthlon .Inlargercomputers,severalchipsarerequired.
TheprocessingortransformationofdataintoinformationiscalledtheProcessingor Machinecycle.TheMachinecycleconsistsoftwosubsidiarycyclescalledtheInstructioncycleand theExecutioncycle,eachperformingtwoprocesses,foratotaloffourstages.TheALU,primary memory,andthecontrolunitareinvolvedinthesecycles.IntheInstructioncycle,thecontrol unitfirst(1)fetchesthetechnicalterminstructionsfromtheregisters,wherethedatatobe processedisalsobeingkept.Thecontrolunitnext(2)decodestheinstructionandsendsittothe ALU,thethinkingpartoftheprocessor.NowtheExecutioncyclebegins.TheALU(3)executes theinstructionsbyperforminganarithmetic,comparison,orlogicaloperationonthedatainthe registers.Theresultisthen(4)storedorwrittentotheregisterswhereitwilleventuallybe displayedandsavedinmemoryorstorage.ThetimetocompletetheboththeInstructioncycle andExecutioncycleiscalledmachinetime. OnemeasurementofthecapacityofacomputersystemishowmuchRAMcanbe addressed.Thisdependsonthenumberofbitsinanaddress.Inthe1970s,microcomputershada
SYSTEM CLOCK.Thesystemclock,avibratingquartzcrystalchipthatemitspulses, synchronizestheoperationsoftheCPU.ThefrequencyofthesepulsesistheCPUsclockspeed, whichismeasuredinmegahertz(MHz).(Onemegahertzequalsonemillioncyclespersecond.)A CPUrequiresafixednumberofclockcyclestoexecuteaninstruction.Thus,thefastertheclock speed,thefasterthecomputercanprocessinstructions.ThenewestIntelPentiumIIIandthe AMDAthlon microprocessorshaveclockspeedsover1000MHz(or1GHz). AnotherwaytodescribetheCPUsspeedisbyhowmanyinstructionsitcanprocessper second.Thismeasurementisgiveninmillionsofinstructionspersecond(MIPS).Megahertzisa betterbenchmarkthanMIPSbecauseacomputerssystemclockisconstant,whereasinstructions varyintheirdifficultyandthusinthenumberofcyclesrequiredfortheircompletion.A computerperformingsimpleinstructionswouldbefasterintermsofMIPSthanthesame computerperformingmorecomplexinstructions.Forsuchreasons,IBMnolongeradvertisesthe MIPScapabilityofitscomputers. Inadditiontoincreasingclockspeed,processingmayalsobeenhancedbypipelining, coprocessing,andparallelprocessing.Traditionally,theentireMachinecycle(fetch,decode,
execute,andstore)hastobecompletedbeforethenextonecanstart.PipeliningallowstheCPU tobeginasecondMachinecyclebeforethefirstcycleiscomplete.Withfullpipelining,uptofour cyclesmaybeprocessedinaCPUsimultaneously.Coprocessorsincreasecomputerperformance bytheuseofaspecializedchipthathandlesspecifictasks,therebyfreeingupthemainprocessor todootherwork.Commonexamplesaregraphicscoprocessorsfordisplayingimagesonthe monitorandfloatingpointcoprocessorsforhandlingarithmeticcalculations.Parallelprocessing enablesacomputertousemultipleprocessorstosolveasingleproblem.Specialsoftwaredivides theproblemintoseveralparts,assignsthepartstodifferentprocessorswherethatpartsaresolve simultaneously,resemblesthepartialsolutions,andcompletesanyremainingproblemsolving. NotallproblemscanbesolvedbythismethodanditisnotusuallyfoundinPCs.
Aninterfacecardconnectingperipheralssuchasmousedevicesand scanners
Alocalareanetworkcardconnectingothercomputers
LaptopsandnotebookshaveaspecialtypeofexpansioncardcalledaPCcard.Unlike desktoptypeexpansioncards,youcanaddorchangeaPCcardwithoutopeningthesystemcase ofthecomputer.ThePCcardissimplypluggedintotheappropriateopeninginthelaptopor notebook.PCcardscanbeusedtoaddmemory,fax/modem,diskdrives,andsoundcapabilities. MostPCcardsfollowstandardsdevelopedbythePersonalComputerMemoryCard InternationalAssociation(PCMCIA).FollowingthePCMCIAstandardsallowvariousPCcards tobeinterchangedbetweenlaptopsandnotebooksproducedbydifferentmanufacturers. BUSES.Dataintheformofelectriconoffsignals(bits)travelalongpathwayscalled busesthatconnectthevariouspartsofthecomputer.Therearetwotypesofbuses:systembuses andexpansionbuses.ThesystembusconnectstheCPUtoprimarymemory,allowinginstructions anddatatobeexchanged.ExpansionbusesconnecttheCPUtoperipheraldevices,allowingdata totravelfromtheCPUtotheexpansionslotsandoutthroughtheexpansioncardstothe peripheraldevicesattachedtothecomputer. Busesconsistofsetsofparallelwiresorlines.Eachlinecarriesonebit.(Eightbitsequal onebyte.)Thus,abusismeasuredbyhowmanybitsitcancarrysimultaneously.Thewiderthe bus,themoreinformationitcancarry.Mostcurrentcomputershaveeither32bitor64bitbus width.Anothermeasureofbusesistheirclockspeed,measuredinMHz.Liketheprocessor,the busclockspeeddetermineshowfastthebusfunctions.Busspeedsaretypicallylessthan200 MHz,muchlessthancurrentprocessorclockspeeds.
AcceleratedGraphicsPort(AGP).ThisexpansionbusisfasterthantheISA,andis usedtoconnectvideocardsandmemory.
PeripheralComponentInterconnect(PCI).Ahighspeedexpansionbususedto connectharddisks,videocards,andnetworkcards.
TheUniversalSerialBus(USB)usesanewapproachtoconnectingperipheraldevicesto thecomputer.Itdoesawaywiththeneedtoinstallnewexpansioncardsforeachnewdevice. Instead,USBcapabledevicesareconnectedtoeachotherinadaisychain,andonlyonedeviceis actuallyconnectedtothecomputerthroughacableattachedtotheUSBport.TheUSBportfeeds intotheUSB,whichinturnconnectstothePCI,andthenontothemotherboard. BUFFERS AND CHANNELS.Peripheraldevicesareveryslowcomparedtothespeedof theCPU.Tokeepthecomputerrunningefficiently,datatravelingtoandfromperipheraldevices areplacedinabuffer.Abufferisastorageareawheredataresidebeforebeingprocessed. MicrocomputershavebuffersinRAMandinperipheraldevicessuchasprinters.The CPUcoordinatesdatabeingtransferredtoandfromperipheraldevicesbyusingbuffers.When thebufferisempty,theCPUisinterruptedandaspecialrequestismadetofillthebufferwith moredata.
Onmainframecomputers,channelsareusedtosenddatatoandfromperipheraldevices. Channelsaresmallcomputersthatcontroltheflowofdatatoandfromperipheraldevices. Buffersholdthedatawhilethechannelscoordinatethesendingofthedata.Together,channels andbuffersadjustforthedifferencesinspeedofperipheraldevices.Asaresult,theyincrease throughput,whichisthetimeacomputersystemrequirestocompletetasks. PORTS.Peripheraldevices,suchaskeyboards,monitors,printers,andmousedevices, mustbeconnectedtothePCsystemcase.Thisconnectionismadebyattachingacablefromthe devicetoaninterfacepointcalledaport.Mostportsandcableshaveconnectorsthateithermale, withexposedpins,orfemale,withmatchingholesfortheexposedpins.Thenumberofholesand pinsrangesfrom5to36. Therearethreemaintypesofports.Serialportstransmitandreceivedataonebitata time.Onewireinthecableisusedtosendasinglebitstreamofdata,whileanotherwirereceives asinglebitstreamofdata.Serialportsaretheslowestofthethreetypesofportsfordata transmission.Parallelportsarecapableoftransmittingandreceivingmorethanonebitatatime. Mostparallelportsareabletosendandreceivestreamsof8bits(1byte)datasimultaneously. Theseportsachievethishighertransferratebyhaving8wiresdedicatedforsendingdataand8 wiresdedicatedforreceivingdata.Parallelportsaremuchfasterthanserialports.UniversalSerial Bus(USB)portscanconnectupto127differentexternaldevicesataoncewithasingleconnector bymeansofadaisychainingthedevicestogether. Therearealsoseveraltypesofspecialpurposeports.Threeofthemostpopularare: Musicalinstrumentdigitalinterface(MIDI)portsforconnectingmusicalinstruments, suchasanelectronickeyboard
InfraredDataAssociation(IrDA)portsforconnectingexternaldeviceswithoutcablesby meansofinfraredtransmissionofdata
OUTPUT SYSTEM
Liketheinputsystem,theoutputsystemprovidesaninterfacethroughwhichcomputers andhumanscaninteractwithoneanother.However,nowthehumanisonthereceivingendof theprocess.Outputdevicesareusedtodisplayinputdatathathasbeenprocessedbythe computerintousefuloutputinformation.Throughitsoutputsystem,thecomputerpresentsthe dataitcontainsinaformthattheusercanunderstand.Thepresentationistypicallyinoneof fourforms:graphics(e.g.,chartsandphotographs),text(e.g.,wordsandnumbers),video(e.g., photographicimagesinmotion),oraudio(e.g.,musicandspeech).Probablythemostcommon outputdevicesaremonitorsforproducingtemporarydisplays(softcopies)andprintersfor producingpapercopiesofdocuments(hardcopies). MONITORS.Amonitor,orscreen,candisplaygraphics,text,andvideooutput.Todisplay videointhemonitor,thecomputerneedsavideocard(orgraphicscard)forconvertingthedigital signal(i.e.,dataintheformof0sand1s)fromtheprocessortoananalogsignal(i.e.,datainthe formofacontinuouselectricalwave)thatthemonitorcaninterpret. Monitorsaredescribedintwoways.Thefirstisbythenumberofcolorsthatthescreen candisplay.Thiscanrangefrom4to65,536.Thesecondisbythequality,orresolution,ofthe screen,whichismeasuredinpictureelements(pixels).Pixelsaretinydotsoflightthatcombine
toformimagesonthescreen.Typicalscreenshave320220pixels,640480pixels,or1,024 768pixels.Themorepixelsascreenhas,thegreateritsresolution.Bothcolorandresolutionare importantfordeterminingtheperformanceandqualityofacomputermonitor. TheIBMcompatiblecolor/graphicmonitorshaveevolvedfromtheColorGraphic Adapter(CGA)technology,whichfeatured4colorsandaresolutionof320220,throughthe EnhancedGraphicAdapter(EGA)andtheVideoGraphicsArray(VGA)technologies.The currentstateoftheartforthepersonalcomputeristheSuperVideoGraphicsArray(SVGA);for thesemonitors,thenumberofcolorsvariesfrom256to65,536,andtheresolutionvariesfrom800 600to1,6001,200. Monitorscomeinthreemainvarieties:cathoderaytubes(CRT),flatscreenliquidcrystal displays(LCD),andgasplasmadisplays.Allofthesearenowcapableofeithermonochrome (blackandwhite)orcolordisplays.DesktopPCsusuallycomewithCRTs,althoughflatscreen LCDsarebecomingmorecommon.FlatscreenLCDsaregenerallyusedinnotebooksand laptops.ThecommondesktopCRTsizesrangefrom15to21inches.LaptopLCDssizesare commonly14.1to15.1inches.Gasplasmadisplaysarecapableoflargerdisplayswithgood resolutionandcanbeinexcessof42inches.
Toproducehardcopy,acomputermustbeconnectedtoaprinter.Thisistypicallydone throughaparallelport,whichenablesthecomputertocommunicatewiththeprinteronebyteat atime.Microcomputersmayhaveoneormoreparallelports. Whenmicrocomputersfirstinvadedtheworkplace,themostpopulartypeofprinterwas thedotmatrixprinter,whichcanstillbefoundinservicetoday.Theseinexpensiveprintersare appropriatefortasksthatdonotrequirehighqualityimages.Asitsnameimplies,thedotmatrix printerproducesaseriesofdotsinamatrixtoformbothcharactersandimages.Aprinthead containing9,18,or24tinypinsstrikesaninkedribbontocreatethedotsthatmakeuptheimage onpaper.Thenumberofpinsdeterminesthequalityoftheoutput;thegreaterthenumber,the smoothertheoutput. Inthe1980s,businesspeoplewhowantedbetterqualityoutputthanadotmatrixprinter couldprovidebegantousedaisywheelprinters.Theprintingelementofthistypeofprinterisa roundplasticdiskthatresemblesadaisy,withpetalsprotrudingfromthecenter.Thepetals eachcontainaletter,number,orothercharacter.Whenprinting,thedaisywheelrotatestobring thedesiredcharacterintoposition,andahammerstrikesthewheel,forcingthecharacterto pressagainstaninkedribbonandmarkthepaper.Daisywheelprintersdonotproducegraphic images. Thankstoitsdecreasingcostandveryhighimagequality,thelaserprinterhasbecomethe printerofchoiceformostmicrocomputerapplications.Thelaserprintercanproduceboth charactersofanysizeandhighqualitygraphicimages.Alaserbeamdrawsthedesiredimageon theprintersmetaldrum.Thedrumattractstoner(powderedink)wherethelightstrikesit,and theimageistransferredfromthedrumtothepaperusingheat.
Afourthtypeofprinterusedwithmicrocomputersistheinkjetprinter,whichproduces letterqualityimagesbysprayingdropletsofinkontothesurfaceofthepaper.Ithasmanyofthe advantagesofthelaserprinter,includinghighqualityoutputandtheabilitytoproduceboth charactersandgraphicimages.Inaddition,inkjetprintersareoftenlessexpensivethanlaser printersandcanproducecolorimagesofverygoodquality. Theresolutionqualityofbothlaserprintersandinkjetprintersismeasuredinthe numberofdotsperinch(dpi)theprinterisabletoproducewhengeneratingcharacters:the higherthedpi,thegreatertheresolutionofthecharacters.TheaveragePCprintertodayprovides 300to600dpi.Highqualitylaserprintersgoupto1200dpi,whilehighqualityinkjetprinters rangeupto1440dpi. Chainprintersareoftenusedwithmainframecomputers.Chainprintersareextremely fast,producingupto3,000linesperminute.Achainwithcharactersonitrevolvesinfrontofthe paper;whenthedesiredcharacterpassesby,thehammerinthatpositionpressesthepaperand inkedribbonagainstthechain.
OTHER OUTPUT DEVICES.Plottersareusedinsomesettingstoproducearchitectural drawings,barcharts,andhighqualitygraphicimages.Theyoftenusepaperthatislargerthan mostprinterscanhandle.Therearethreetypesofplotters.Penplottersusecoloredpens positionedsothatamechanicalarmcanaccessthem.Themechanicalarmdrawsthegraphic imagewithonecoloredpen,thenselectsanother,repeatingtheprocessuntiltheimageis complete.Penplottersarewidelyusedandproduceveryhighqualityimages.Electrostatic plottersuseelectrostaticchargestocreateimagesonspeciallytreatedpaper.Thispapermust thenbedevelopedlikeaphotographtoproducehighresolutionimages.Directimageplotters,
alsocalledthermalplotters,createimagesonheatsensitivepaper.Thisprocessislimitedtotwo coloroutput. Speakersandheadsetsarethetwomostcommondevicesusedforaudiooutput.Avoice outputdeviceproducesvoicecommandsbyimitatingphonicsounds.Theseprerecordedphonic soundsproducesyntheticsoundingwords.Sometelephonecompaniesusevoiceoutputto automatedirectoryassistance,andsomeautomobilescontainvoiceoutputdevicesthatremind driverstofastentheirseatbelts. Projectorsareusedtodisplaygraphics,text,videooutputfromacomputer.Inthecaseof projectors,theoutputisdisplayedontoascreenforanaudiencetoviewinsteadofintoamonitor forasingleuser'sviewing.Likemonitors,projectorsareattachedtothecomputerthrougha parallelport.Projectortechnologyvarieswidely,butthetwomostcommontypesareLCDs projectorsanddigitallightprocessing(DLP)projectors.
COMMUNICATION SYSTEM
Itissometimeshelpfultolinktwoormorecomputerstogethersothattheycan communicatewithoneanotherdirectlywithoutahumanintermediary.Toaccomplishthistask, acomputerdrawsonitscommunicationsystem.Communicationsis,thus,thethirdmain functionofwhichcomputersarecapable,theothertwobeingdatastorageanddataprocessing. Inorderfortwoormorecomputerstocommunicate,specializedhardwareisrequired. First,themultiplecomputersmustbeconnectedtogetherthroughtransmissionmediaoverwhich thedataaretransmitted.Second,theremustbecommunicationprocessorsthatputthedataina formthatcanbetransmittedthroughthetransmissionmediaandconvertthereceivedsignals intoaformthecomputerscanuse.(Networksareadistinctandhighlyimportantaspectof
computercommunicationsbutwillnotbecoveredinthisappendix.Chapter12givesan overviewofnetworks.) Transmissionmediacaneitherbephysicalorwireless.Thethreemostcommontypesof physicaltransmissionmediaarediscussednext. Twistedpaircableisthetypeofwiringusedintelephonesystems,andtransmitsdataas electricsignals.Thisistheleastexpensivemediabutisthemostpronetointerference thatcandistortthesignal. Coaxialcable,thetypeusedincableTVsystems,islesslikelytodistortthesignalbeing transmitted,butismoreexpensive.Dataistransmittedinelectricform. Fiberopticcabletransmitsasignalintheformoflight.Fiberoptictechnologyismuch faster,cantransmitdataathigherrates,andislesspronetointerference.However,itis notwidelyavailableandismoreexpensive. Thetwomostcommontypesofwirelessmediaareradiosignalsandmicrowavesignals. Thesesignalsdifferinthefrequencyrangestheycover(referredtoasbandwidth),with microwavesgoingabove1GHzandradiosignalscoveringbelow1GHz.Bothtypesofsignals arelimitedtobeinglineofsight(LOS).Becauseofthecurvatureoftheearth,thislimitssignal transmissiontoarangeofapproximately30miles.ToovercometheLOSproblem,repeatersare usedtoretransmitasignal.Repeaterscaneitherbetowersorsatellites. Thetransmissionmediahaveawiderangeoftransmissionspeeds(ortransferrates). Table2providestheupperendspeedsofthemediadiscussedabove.Thesehighendtransfer ratesmaynotbeachievableinpracticebecauseoftheparticulartechnologiesinusefor transmitting,receiving,andprocessingsignals.
Table2:TransferRatesofSelectedTransmissionMedia TransmissionMedium UpperendofTransferRate Twistedpairtelephonelines 128Mbps CoaxialcableTVlines 200Mbps Fiberopticslines 2Gbps Radiowaves 2Mbps Microwave 45Mbps Mbps(megabitspersecond)referstoatransferrateofmillionsofbitspersecondand Gbps(gigabitspersecond)referstoatransferrateofbillionsofbitspersecond.
CommunicationsprocessorsforPCsaregenerallyreferredtoasmodems(fromtheterm modulatordemodulator).Mostcommunicationsystemsoperatebyhavingthesendingcomputers modemconvert(ormodulate)thecomputersdigitalinformationintoanalogformat(continuous wave),whichisthensentoverthetransmissionmedium.Thereceivingcomputersmodem changestheanalogsignalbackintodigitalform(demodulation).Somemorecurrentmodemsdo nottranslatethedigitalinformationintoanalogform.Keepingtheinformationdigital throughouttheentirecommunicationsprocesscanvastlyincreasethetransmissionspeed.For example,telephonemodemsusetwistedpairtelephonelinesandoperatebydigitaltoanalog modulation.Theytypicallyhaveamaximumtransmissionspeedof56Kbps(kilobitspersecond; i.e.,thousandsofbitspersecond).DigitalSubscriberLine(DSL)modems,whichstilluse ordinarytelephoneline,remaindigitalthroughoutthecommunicationscycleandhaveatypical transmissionspeedof512Kbpsto1.544Mbps.Ontheotherhand,cablemodems,usingTV coaxialcableasthetransmissionmediumandadvanceddigitaltoanalogtechnology,achieve typicaltransmissionspeedof2.5Mbps. Modemscanbeeitherinternal(builtin)orconnectedexternally.Aninternalmodemcan beinstalledonanexpansioncardinthecomputer.Anexternalmodemisconnectedtothe
computereitherthroughaserialport,oracommunicationport,throughwhichthecomputer communicateswiththemodemonebitatatime.
SOFTWARE
Acomputersystemneedsmorethanthehardwaredescribedaboveinordertofunction. Thehardwarebyitself,evenwhenpoweredup,isincapableofproducingusefuloutput.Itmust beinstructedhowtodirectitsoperationsinordertotransforminputintooutputofvaluetothe user.Thisistheroleofsoftware;i.e.,toprovidethedetailedinstructionsthatcontroltheoperation ofacomputersystem.Justashardwarecomprisesthetangiblesideofthecomputer,sosoftware istheintangiblesideofthecomputer.IftheCPUisthephysicalbrainofthecomputer,then softwareisitsmind. Softwareinstructionsareprogrammedinacomputerlanguage,translatedintomachine language,andexecutedbythecomputer.Betweentheuserandthehardware(specifically,the memory),generallystandtwolayersofsoftware:systemsoftwareandapplicationsoftware.
SYSTEM SOFTWARE
Systemsoftwaredirectlycontrolsthecomputershardware,whereasapplication softwareisonelevelremovedfromhardware.Systemsoftwaremanagesthecomputers resources,enablesthevariouscomponentsofthecomputertocommunicate,runsapplication software,andmakesthehardwarerespondtotheusersneeds.Whenthesystemsoftware operatesefficiently,thedifficultoperationsofcontrollingthehardwarearetransparenttothe user.Systemsoftwareincludesfourmaintypes: Theoperatingsystemprovidesaninterfacebetweenthecomputerhardwareandtheuser
ortheapplicationsoftware.Becauseofitscentralimportance,theoperatingsystemwill bediscussedinmoredetailbelow. Languagetranslatorsconvertapplicationprogramsandanyothersoftwareprogramsinto themachinelanguage(discussedbelow)thatactuallycontrolsthecomputer'soperations. Networkandcommunicationssoftwareoperatesthecommunicationshardwareina computersothatitcantransmitandreceiveinformationfromothercomputers.Network andcommunicationssoftwarerequirestwotypesofsoftware:softwareforthePC operatingsystemandsoftwareforthenetworkoperatingsystem.Insomecases,the lattercomesbuiltintheformer. Utilityprogramsperformvariousspecialized"housekeeping"tasks,suchasfile management,virusprotection,diskdefragmentation,programinstallationand uninstallation,fileanddiskbackup,diskformatting,andprovidingscreensaver programs.Thislistisfarfromexhaustive.Theuserdirectlycontrolsmostutility programs,althoughsomeutilityprogramscanbesettorunautomatically(e.g.;screen saversandantivirusscanning). Computersofalltypesrequiresystemsoftwaretocoordinatetheirresources.Thesystem softwareforasingleuserPCisnotnearlyascomplexasthesystemsoftwareforamultiuser mainframecomputer.However,asthePCssystemcapacityhasincreased,thesophisticationof itssystemsoftwarealsohasincreased.Manyofthefeaturesoncefoundonlyinmainframeand minicomputersystemshavebeenincorporatedintoPCs.
OPERATING SYSTEMS.
Theoperatingsystemhastwoprimaryfunctions.First,it
managesthecomputer'sresourcesthecomputer'shardwareandanyexternaldevices.For
example,theoperatingsystemcontrolstheCPU,accessesRAM,executesprograms,receives inputfromthekeyboardorotherinputdevice,retrievesandsavesdatatoandfromsecondary storagedevices,displaysdataonthemonitor,andcontrolstheprinter.Second,theoperating systemcontainsinstructionsforrunningapplicationsoftware. Theoperatingsystemcontainstwotypesofinstructions.Systemresidentcommandsare activeinprimarymemoryatalltimestocoordinateinput/outputrequestsandexecute programs.Thiscoreoftheoperatingsystem,criticaltothefunctioningofthecomputer,iscalled thekernelandisthefirstsetofinstructionstobeloaded(booted)fromsecondarystorageinthe harddiskontoprimarymemoryinRAMwhenthecomputerisfirstturnedon.Diskresident commandsresideinsecondarystorageuntilarequestismadetoexecutespecialpurpose programs,atwhichtypetheyareloadedintoworkingmemory. Tomakemicrocomputersystemseasytouse,theinterface(link)betweentheuserandthe hardwarehasbecomesimplerandmoreintuitive.Particularlyimportantforthedevelopmentof userfriendlycomputersisthegraphicaluserinterface(GUI).TheGUIallowstheusertointeract withthecomputerthroughicons(graphicsymbols)onthescreen.Theseiconscanrepresenta varietyofthings,includingcomputerdisks,folders,documents,andsoftwareprograms.The userinstructsthecomputertoperformparticulartasksbypointingtoandmanipulatingthe appropriateiconswithamouse.OperatingsystemsnotGUIcapable,e.g.,UNIX,requiretheuser toinputcommandsbytypinginwordsorpressingspeciallydefinedkeys.Thissetupiscalleda commandlineinterface. Thecomputersoperatingsystemdefinesthefamilyofadditionalsoftwareprimarily applicationsthatthecomputercanuse.Forthisreasontheoperatingsystemsoftwareis
frequentlycalledthesoftwareplatform.Mostapplicationsoftwareiswrittenforoneparticular operatingsystem.Forexample,theuserofanIBMcompatiblePCwithaDOSoperatingsystem mustselectprogramsfromtheavailablesoftwarewrittenforthatoperatingsystem.Theuserof anIBMcompatiblePCwithanOS/2operatingsystemmustselectfromadifferentsetof software.(DOSandOS/2willbediscussedbelow.)Someapplications,however,arecapableof runningonmultipleoperatingsystemsandarereferredtoascrossplatformapplications. Applicationprogramscanbeverylarge.Theymighttakeupmanymillionsofbytesona secondarystoragedevice.Forthisreason,theoperatingsystemdoesnotloadallofalarge applicationprogramintoRAMatonetime.Instead,itloadsonlyaportionoftheapplication program;whentheprogramrequiresothercode,itaccessesthatcodefromsecondarystorage. Theoperatingsystemsabilitytodividethecomputerprogramintovariablelengthportionsand tostoreonlyasmallportionatatimeinprimarymemory(RAM)iscalledvirtualstorage.Some operatingsystemsalsohavevirtualmemory,whichenablesasmallportionoftheharddiskto functionasadditionalRAMbystoringtheportionsoftheprogramnotbeingusedintheRAMon theharddiskbutinsuchafashionthattheycanbeveryquicklyaccessed(aprocesscalled paging). Inadditiontomanagingmemoryandapplicationprograms,operatingsystemsalso performfunctionsrelatingtotheperipheraldevicesconnectedtothecomputer.Forexample,the operatingsystemhandlestherequestsforprintjobssenttotheprinter.Whenmoreprintrequests aresenttotheprinterthancanbehandledatonce,theoperatingsystemassignsthemanorder andplacestheminabuffer,anareaofmemory,awaitingprinting.Thisprocessiscalledspooling. Anotherimportantfunctionoftheoperatingsystemisthatofconfiguringtheexternaldevices.
Eachdevicemustcommunicatetothecomputer,aprocessrequiringadevicetohaveitsown program,referredtoasthedevicedriver.Theoperatingsystemcoordinatestheinstallationofthis softwareandensuresitsproperfunctioning.Theseproceduresareoftendonemanuallybutin somecasestheprocessisautomaticallyperformbytheoperatingsystem(calledPlugandPlay). Operatingsystemsthatallowonlyoneusertorunoneprogramatatimearecalledsingle userorsingletaskingoperatingsystems.Mostcurrentoperatingsystemsandcomputershave movedbeyondthisstagetomultitasking.Inmultitasking,theoperatingsystemallowsmorethan onetaskorprogramtobeexecutedatatimeinasingleusercomputer.Operatingsystemsthat addressmorememorycanrunseveraltaskssimultaneously.Acomputersmultitasking capabilityisalsolimitedbytheamountofRAMitcontains. Withtheadventofnetworks,muchfocushasbeenplacedonthemultiusercapabilitiesof operatingsystems,althoughthemultiuserenvironmenthaslongbeenpresentin supercomputers,mainframesandminicomputers.Withamainframe,forexample,athousandor moreusersmayneedtoaccessthecomputersimultaneously.Inallofthesearchitectures,the operatingsystemmustcoordinatesystemrequestsfrommanyusers.Theoperatingsystem managestheserequestsbyallocatingtoeachuseraportionofprimarymemorywherethe programsresideandexecutingtheprogramswhenaninputisreceivedoranoutputisrequested. Becausetheprocessorsinsupercomputers,mainframesandminicomputersareextremelyfast comparedtothespeedofinputandoutput,theoperatingsystemcanhandlemanyprogramsin RAMsimultaneously.Theprocessorhandlesaportionofeachprograminseries,coordinatedby theoperatingsystem.Thisiscalledmultiprogramming. Anotherfeatureoftheoperatingsystemsinsupercomputers,mainframesand
minicomputers,calledtimesharing,assignstoeachuserafractionoftheprocessorstime.An efficientoperatingsystemcontrolsthemultiuserenvironmentinsuchawaythattheuserfeelsas thoughheorsheistheonlypersonusingthecomputer. Computers,especiallymainframeandminicomputersystems,canalsoemploy multiprocessing.Inthisprocess,theoperatingsystemusesmorethanoneprocessororCPUto executethecommandsofasingleprogram.Theoperatingsystemsendsinstructionstoseveral processorsinparallel,whichresultsinthefasterprocessingofinstructions. Therearenumerousoperatingsystems.Severalofthemostpopulararediscussedbelow: DOS(DiskOperatingSystem)isforsingleuserIBMcompatiblecomputers.Microsoft CorporationsellsthisproductunderthenameMSDOS(MicrosoftDiskOperating System)andlicensesanotherversion,calledPCDOS,toIBMforuseinitspersonal computers.DOSwaswrittenforthemicrocomputertechnologyoftheearly1980s.An enormousnumberofmicrocomputersstillrununderDOS.Eventhoughtherehavebeen numerousimprovementstothesoftwaresinceitsintroduction,limitationsstillexist.Itis notGUIcapable.Norcanittakefulladvantageoftoday's32bitprocessors(e.g.,Intel's Pentiumseries).Thatis,applicationprogramsrunningonDOScomputershavedirect accesstoonly640,000bytesofprimarymemory. MacintoshOperatingSystems(MacOS)wasintroducedinthe1984andwasthefirst commercialGUIplatform.Thelatestversionsupportsmultitasking,includesmultiple Webbrowsers,andhasbuiltinnetworkingcapability.Italsoisabletoopen,edit,and savefilescreatedinDOSandWindowsplatforms. MicrosoftWindows95and98areGUIcapable,multitaskingoperatingsystems.Unlikethe
earlierWindows3.xseries,Windows95and98aretrueoperatingsystems,anddonot requireDOStorun.Windows95and98havebrokenthe640,000bytebarrier,providing directaccesstomillionsofbytesofmemory.Theseoperatingsystemstakeadvantageof todaysmorepowerfulmicroprocessorchips,suchastheIntelPentium,whichaddress morememoryandrunfasterthantheoldermicroprocessors.Windows98isan upgradedversionofWindows95.Windows98isuserfriendlierthanWindows95and hasmoreInternetfeatures;e.g.,Windows98includesMicrosoftInternetExplorer. MicrosoftWindowsNTisdesignedforclientservernetworks(discussedinchapter12).It providestheuserwiththeotherfeaturesofWindows98. Linuxisaninterestingoperatingsystembecauseitisnotproprietarysoftware.Itscode hasbeenmadepubliclyavailable(calledopensourcesoftware).Thisallowsusersto customizethesoftwaretomeettheirpersonalneedsandtoshareimprovementsmade withothers.ApplicationsthatrunonLinuxarecommerciallyavailable;forexample, fromRedHatSoftwareandCorelCorporation. UNIXwasdevelopedbyBellLaboratoriesinthe1970's,andisoneofthefewsmallscale operatingsystemsthatisbothmultiuserandmultiprocessingcapable.Thisallows computersrunningonUNIXtoprocessahighvolumeofinputsfrommultipleusersby usingmultipleCPUssimultaneously.
APPLICATION SOFTWARE
Applicationsoftwareenablestheusertodirectthecomputersprocessingsysteminthe tasksofmanipulatingandtransforminginputdataintousefuloutputinformation.Furthermore, itallowstheusertoaltertheinformationgeneratedbytheprocessingsystem;e.g.,howthe
informationispresented.Thisisthetypeofsoftwarewithwhichmostusersinteract.Itisthe usualinterfacebetweenuserandcomputer.Rarelydousersdirectlymanipulatesystems software,especiallytheoperatingsystemssoftware. Applicationsoftwarecanbewrittenforaspecificusersapplication(customsoftware),or itcanbemassproducedforgeneraluse(commercialorpackagedsoftware).Naturally,custom softwareisusuallyfarmoreexpensivethancommercialsoftware.Anaccountingpackagewritten foraspecificcompanymightcostmanythousandsofdollars,whereasacommercialaccounting packagemightcostonlyafewhundreddollarsataretailstore.Theadvantageofcustom softwareisthatitistailoredtotheusersspecificneedsandcanbeseamlesslyintegratedintothe usersexistingsoftware.Notonlyiscommercialsoftwarelesscostly,itisalsoavailable immediately,andthepackagecanbeevaluatedbeforebeingpurchased. Applicationsoftwarecomesinanincrediblevariety.Itisavailableforbusiness,personal, educational,communication,andgraphicdesignpurposestonamethemoreusualcategories. Thereisalmostcertainlyasoftwarepackagesomewhereavailabletosuitanyneed.Ifnot,there areprogrammersreadytobehiredtobuildit.Forourpurposes,wewilllimitourdiscussionto thefourtypesofapplicationsoftwaremostlikelytobeusefultoaccountingandbusiness students:wordprocessing,spreadsheet,database,andpresentationgraphics.Thesefourapplications arefrequentlysoldtogetherinasinglesoftwarepackage.Threeofthemostpopularpackagesare CorelWordPerfectSuite,MicrosoftOffice2000,andLotusSmartSuite.Inadditiontothefour "standard"applications,thesepackagesusuallyincludeemail,Internet,videoprocessing,and desktoppublishingapplications. Wordprocessingprogramsallowtheusertoquicklyandeasilycreateandrevisetextson
thecomputerscreen.Byusingwordprocessingapplications,theusercanformatdocumentswith ease,changingfontsize,margins,color,etc.Differenttypesofdocumentse.g.,letters,memos, andreportsareoftenpreformattedintheapplication.PCbasedwordprocessingsoftwareisso capableandinexpensivethat,inmostbusinesses,ithasbecometheusualtoolforcreating documents,evenwhenmorepowerfulmainframesandminicomputersareavailable. Spreadsheetprogramsareespeciallyusefulinbusinessandaccounting.Theelectronic spreadsheetconsistsofrowsandcolumnsofdata,whichtheusercaneasilyedit,copy,move,or print.Usingnumericdataenteredinthespreadsheet,thecomputercanperformnumerous mathematicalcalculationsautomatically,manyofimpressivesophistication(e.g.,statistical, logical,andengineeringfunctions).Oneofthespreadsheetprogramsmostpowerfulfeaturesfor businesspurposesisthatitenablestheusertodowhatifanalysesonexistingdataandto inputdifferentdataforvariousscenarios.Nonnumericdata(e.g.,namesanddates)mayalsobe enteredinaspreadsheet.Spreadsheetscanperformsomenonmathematicaloperations(e.g., sortingandfiltering)onthisdata,althoughthistypeofanalysisisnotaspreadsheet'sstrength. Databasesoftwareallowstheusertoenter,store,maintain,retrieve,andmanipulate data.Insomeways,databasespickupwherespreadsheetsleaveoff,althoughafairerassessment isprobablythattherelationshipbetweenthetwotypesofsoftwareisreciprocal.Database softwareiscertainlymoreefficientandeffectiveathandlingnonnumericdatathanis spreadsheetsoftware.Conversely,numericdataisusuallyeasiertomanipulateinaspreadsheet. Inmostdatabases,dataisenteredtotablesofrowsandcolumns,similartospreadsheets.Unlike spreadsheets,thesetablescanbeconnectedintorelationshipsthatallowusersincredible versatilityinwhattheycandowiththatdata.Forexample,databothnumericandnonnumeric
ASSEMBLY LANGUAGE. Assemblylanguage(alsoreferredtoasthesecondgeneration languageor2GL)wasthenextstepintheevolutionofprogramminglanguages.Inassembly language,commandsarewrittenwithmnemoniccodesratherthannumericalcodes.These commandsaretranslatedfromthesourcelanguage(theprogrammerscode)intoanobject module(machinelanguage).Thetranslationprocesscanbedoneintwoways.Eitheran interpreterconvertstheprogramlinebylineasitisbeingrun,oracompilerconvertstheentire programatonetimebeforeitisrun.Interpretersareoftenusedwithbeginningprogrammers whoarelearningalanguageforthefirsttime.Compilersareusedinprofessionalsettingswhere speedandsecurityareimportant. Interpretersandcompilersareoperatingsystemprogramsthatfallunderthegeneral categoryoflanguagetranslators.Eachprogramminglanguagerequiresaspecificlanguage translatortoconvertittomachinelanguage. Assemblylanguagesarespecifictoaparticularprocessorandgivetheprogrammer controloverthelowerleveloperationsofthecomputer.Comparedtothirdgeneration languages,discussednext,assemblylanguagerequiresmoredetailinprogramming.
languagesuserecognizablestatementslikePRINT,INPUT,SORT,andIF,whichmustbe compiledintodetailedmachinelanguageinstructions.Thelinkageeditorinsertsprewritten routinescalledlibraryprogramsaftercompilationtoproduceanexecutableprogramcalledthe loadmodule. Someofthemostcommonthirdgenerationprogramminglanguagesaredescribednext. BASIC(BeginnersAllpurposeSymbolicInstructionCode)wasdesignedasa programminglanguagefornovices.Thelanguageusesaninterpreterthatevaluateseachlinefor syntaxerrors,whichhelpsbeginningprogrammers.Thelanguagebecameverypopularfor microcomputeruseinthelate1970sandearly1980s. FORTRAN(FormulaTranslation)wasdevelopedin1956toprovidescientists,engineers, andmathematiciansaprogramminglanguagethatisrichinscientificandmathematical operations. COBOL(CommonBusinessOrientedLanguage)wasdesignedforsuchbusiness applicationsasinputtingrecordsfromadatafileandmanipulating,storing,andprintingthem.A tremendousnumberofprogramshavebeenwritteninCOBOLsinceitsinceptionintheearly 1960s.COBOLstillmaintainsasignificantpresence.Eachbusinessday,billionsoflinesof COBOLcodeareexecuted. IBMdevelopedPL/1(ProgrammingLanguage1)in1964.Thislanguagecombinesthe mathematicalfeaturesfoundinFORTRANwiththerecordprocessingfeaturesfoundinCOBOL. Pascalwaswrittentotakeadvantageoftheprogrammingtechniquecalledstructured programming,inwhichprogramsaredividedintomodulesthatarecontrolledbyamainmodule. Thelanguagewasverypopularinthe1980sforteachingstructuredprogrammingandadvanced
programmingtechniquesincomputersciencecourses. Inthe1970s,AT&TBellLabsdevelopedaprogramminglanguagecalledCthatcouldbe runonvarioustypesofcomputers.Sourcecodewrittenforamicrocomputercouldthuseasilybe convertedintosourcecodeforamainframe. Javawasdevelopedinthemid1990sbySunMicrosystems.Itisbasedonanew programmingtechniquecalledobjectorientedprogramming.Objectorientedprogrammingallows theprogrammertodefinenotonlythecharacteristicsofdatabutalsothedata'sassociated procedures.Thistypeofprogrammingisespeciallybeneficialinanetworkedenvironment becauseitallowscomputerstoquicklytransmitcomputationstoeachother,notjustdata requiringsubsequentcomputation.
FOURTH-GENERATION LANGUAGES.Thedevelopmentofapplicationswrittenin thirdgenerationlanguagestakesaconsiderableamountoftime,oftenseveralmonthstoseveral years.Increasinglyusersneedsoftwarethatallowsthemtodevelopsimpleapplicationsquickly. Fourthgenerationlanguages(4GL)weredevelopedtomeetthisneed.Theyaredeclarative,not procedural,languages.Withtheearliergenerationsofprocedurallanguages,the user/programmerhadtodelineatethestepbystepproceduresforthecomputertofollowto achieveacertainresult.Withfourthgenerationlanguage,however,theusersimplytellsthe computerwhatendresultisdesiredandthecomputertodecidesthestepsneededtoachievethat goal.Also,fourthgenerationlanguageshavebeendesignedtobeeasytolearnanduse.In addition,theyrelieveprofessionalprogrammersfromincreasingdemandstodevelopnew programsandmaintainexistingones. Fourthgenerationlanguagesarefoundinavarietyofapplications,includingstatistical
packages,databasemanagementsystems,andgraphicalpackages.Statisticalpackagesperforma fullrangeofstatisticalanalysesandenabletheusertoproducereportsoftheresults.Statistical PackagefortheSocialSciences(SPSS)andStatisticalAnalysisSystem(SAS)areexamplesof powerfulstatisticalpackagesthatareavailableonmainframecomputers,minicomputers,and microcomputers. Databasemanagementsystemsusuallycontaina4GLquerylanguagethatallowsthe usertoretrievedatafromandstoredatatothedatabase.Relationaldatabasemanagement systemshavebeenstandardizedonaquerylanguagecalledStructuredQueryLanguage(SQL).By usingeitheramenudriveninterfaceorsimplecommands,theendusercandevelopadvanced queriestothedatabasewithoutaprogrammersassistance. FIFTH-GENERATION LANGUAGES.Fifthgenerationlanguages(5GL)areattemptingto makethetaskofprogrammingevenuserfriendlierthandidthe4GLs.Thisisachievedby removingmostoftheverbalaspectsfromprogramming.Instead,5GLsuseavisualorgraphical environmentthatallowstheusertodesigntheprogramwithminimaluseofprogramming words.Forexample,visualprogrammingallowstheusertodragiconstogetherinawindows environmentinordertoassembleaprogramcomponent.The5GLdevelopmentinterfacethen automaticallycreatesthesourcelanguagethatistypicallycompiledwitha3GLor4GLlanguage compiler.Enablinguserstodesignsomethingascomplexasacomputerprogrambymeansof graphicalsymbolsisadifficultundertaking.Notallattemptsatdevelopingaworkable5GLhave beensuccessful.Currently,however,Microsoft,BorlandandIBMmake5GLvisualprogramming productsfordevelopingJavaapplicationsthatappearsuccessful.Theamazingevolutionof computerlanguagesfromstringsof0sand1stographicaliconssaysalotabouttheabilityof
computerstoinspireuswithcreativityandgenius.