1、计算机英语Chapter2ComputerSystemOrganization11CPU目录2MemorySubsystemCONTENT3I/OSubsystem2almostallmoderncomputers,eachmemorycellisset本句为并列复合句,后边的分句省略与usersaddhigher-qualityReadingMaterialonlytheusercanhearthesoundfromthecomputer.OtherI/ODevicesBecausetheyrequirealotofarmdigitally,insteadlightsource,aintoa
2、naudiocomputerandsoftwarethesoul.在计算机中布尔逻辑定义若干布尔逻辑函Comparedwithinst;instItisusuallydividedintothreeprimarysubsystems:theCPU,thememoryLeadinAcomputersystemconsistsofhardwaresystemandsoftwaresystem.withoutsoftware,hardwareinformation.Hence,hardwareisthebodyofthecomputerandsoftwarethesoul.1Inandsoftwar
3、ewillbeillustratedinHardwareisthematerialfoundationofthecomputer,butcannotbeinstructedto processdataintothis chapter,wemainlyintroducethecomputerhardwarethefollowingchapter.Computerhardwareis theequipmentinvolvedinthefunctionofacomputerandconsistsofthecomponentsthatcanbephysicallyhandled.Itisusually
4、dividedintothreeprimarysubsystems:theCPU,thememorysubsysteminterconnectedbybuses,oftenmadeofgroupsofwires.andtheinput/output(I/O)subsystem.Thesethreepartsare31CPU41CPUThecomputerscentralprocessingunit(CPU)istheelectroniccircuitrythatprovidesthecomputationalabilityandcontrolofthecomputer.Internally,t
5、heCPUhasthreesections,asshownin2-1.Figure51CPU1ArithmeticandLogicUnitAsitsnameimplies,thearithmeticandlogicunit(ALU)performstwoclassesofoperations:arithmeticaddition,subtraction,multiplicationanddivision.AnycomputercanprogrammedinvolveBooleanlogic2:AND,OR,XORandNOT.Thesecanbeusefulbothforcreatingcom
6、plicatedconditionalstatementsandprocessingBooleanlogic.Mostcomputerscanalsoperformandlogic.Arithmeticoperationsincludebetoperformanyarithmeticoperation.Logicoperationscertain logicoperationsonwords.Astheabovediagramshows,theALUreceivesitsoperandsfromtheregistersetoftheCPUandstoresitsresultsbackinper
7、formswhateverarithmeticorlogicoperationsarerequiredtohelpouttheinstructions.theregisterset.Itcarry61CPU2ControlUnitThecontrolunit,oftencalledacontrolsystem,isafunctionalunitsupervisingtheoperationoftheentireconnectionsbetweenvariousfunctionalunitsofthecomputersysteminterpretsinstructionsincomputersy
8、stem.Itmakestheandtheprogramonebyone.Thecontrolunitfetchesinstructionsfrommemoryanddeterminestheirtypesordecodesthem.Itthenbreakseachinstructionintoaseriousofcontrolsignalssystemsinsooperationsthatthecontrolunitgoesthroughtointhatoperatetheotherpartsofthecomputer.Controladvancedcomputersmaychangethe
9、orderofsomeinstructionsimproveastoperformance.Itsnoticeablethatthesequenceofprocessaninstructionisitselflikeashortcomputerprogram.371CPU3RegisterSetTheregistersetstoresintermediatedatausedduringtheexecutionoftheinstructions,whichincludesasetofregistersandabusorothercommunicationmechanism.Aregisteris
10、aquicklyaccessiblelocationavailabletoaCPU.Itcanbereadandwrittentohavingconsistentlygreatlyalargermemoryintoregisterswhereitisusedforarithmeticoperationsandismanipulatedortestedbyinstructions.Manipulateddataisbacktomainmuchmorerapidlythanthemainmemoryarea,whichavoidstoaccessmainmemoryeverytimedataisn
11、eeded.Sincedataisbeingworkedon,reducingtheneedtoaccessmainmemoryincreasesthecomputersspeed.4Almostallcomputersloaddatafromthenoftenstoredmemory.82MemorySubsystem92MemorySubsystemMemory,alsoknownasinternalmemoryormainmemory,referstothecomputerchipsthatstoreinformationforquickretrievalbytheCPU.Acomput
12、ersmemorycanbeviewedasalistofcellsintowhichnumberscanbeplacedorread.Inuptocanstorerepresentedtrillionsofbytesofmemory.almostallmoderncomputers,eachmemorycellissetgroupsofeightbits,calledabyte.Acomputerstorebinary5numbersinanykindofinformationinmemoryaslongasitcanbesomehowinnumericalform.6Moderncompu
13、tershavebillionsorevenAcomputersmainmemorycomesintwoprincipalvarieties:randomaccessmemory(RAM)andread-onlymemory(ROM).102MemorySubsystemRAMRAMisusedtostoretheinformationandinstructionsthatoperatethecomputersprograms.ItisaccessiblecircuitrywheretheCPUcanrunprogramsandprocessdata.Allthedatatypedintoth
14、ecomputergoesdirectlytoRAM.essentialtoacomputerbecauseitprovidesrapidlyThecomputersRAMsizelargelydetermineshowmanyprogramsmayrunsimultaneouslymemory,complicatedprogramswillrunslowlyorwontrunatall.withoutperformancedegradation.IfthecomputerhastoolittleRAMis also knownasvolatilememorybecausetheinforma
15、tionwithinthecomputerchipsispermanently,itisnecessarytocopythedatatoasecondarystoragedevicesuchasadisk.erasedassoonasthecomputerisswitchedoff.Tokeepdata112MemorySubsystemRAMcanbefurthercategorizedintoastaticrandomaccessmemory(SRAM)andadynamicrandomaccessmemory(DRAM).In SRAM,theword“static”indicatest
16、hatthememoryretainsitscontentsaslongaspowerisbeingsupplied.However,dataislostwhenthepowergetsdownduetoitsvolatilenature.SRAMchipsuseamatrixof6-transistors.DRAM,unlikeSRAM,mustbeperiodicallyrefreshedinordertomaintainthedata.Thisisdonebyplacingthememoryonarefreshcircuitthatrewritesthedataseveralhundre
17、dcomposedofonecapacitorandonetransistor.timespersecond.AllDRAMsaremadeupofmemorycellswhichareBecauseoftheextraspaceinthematrix,SRAMusesmorechipsthanDRAMforthesameamountofstoragespace,thusmakingthemanufacturingcostshigher.SoSRAMandsmaller,DRAMisusedformostsystemis usedascachememoryandhasveryfastacces
18、s.Incontrast,beingcheapermemory.122MemorySubsystemROMAsitsnameimplies,datastoredinROMcannotbeoverwrittenbutreadonly.Itcontainscriticalinformationandsoftwarethatmustbepermanentlyavailableforcomputeroperation.Itisalsoknownasnonvolatiletheirmemorybecausethememorychipsdonotlosecomputeristurnedon,theperm
19、anentsoftwareininformationwhenthecomputerpowerisoff.WhentheROMbootsthecomputer.ROMchipscanbefurthercategorizedintoprogrammablereadonlymemoryandelectricallywhicharedifferentiatedbyhowandhowoftentheycanbeprogrammed.(PROM),erasableandprogrammablereadonlymemory(EPROM)erasableandprogrammablereadonlymemor
20、y(EEPROM),132MemorySubsystemPROMcanbemodifiedonlyoncebyauser.TheuserbuysablankPROMprogram.InsidethePROMandentersthedesiredcontentsusingaPROMchipbeprogrammedonlyonceandisnoterasable.therearesmallfuseswhichareburntopenduringprogramming.ItcanEPROMcanbeerasedbyexposingittoultravioletlightforadurationofu
21、ptofortyminutes.Usually,anEPROMeraserachievesthisfunction.Duringprogramming,anelectricalchargeistrappedinchargeisretainedformorethantenyearsbecausethechargehasnoleakagepath.Forerasingthiscrystalwindow.Thisexposuretoultravioletlightdissipatesthecharge.aninsulatedgateregion.Thecharge,ultravioletlighti
22、spassedthroughaquartz142MemorySubsystemEEPROMis programmedanderasedelectrically.Itcantimes.Botherasingandprogrammingtakeabout4to10ms(milliseconds).selectivelyerasedonebyteatatime,ratherthanerasingtheentirechip.Hence,theprocessofreprogrammingisflexiblebutslow.beerasedandreprogrammedabouttenthousandIn
23、EEPROM,anylocationcanbebeerasedandprogrammed.EEPROMscan153I/OSubsystem163I/OSubsystemI/O isthemeansbywhichacomputerreceivesinformationresultsback.Devicesthatprovideinputoroutputtothecomputerarepersonalcomputer,peripheralsthekeyboardmonitorandprinter.Storagedevicessuchdisks,floppydisksandinputsformfr
24、omtheoutsideworldandsendscalledperipherals.Onatypicalincludeinputslikeandmouse,andoutputssuchastheashardbothanothercompactdisksserveandoutputs.ComputernetworkisofI/O.173I/OSubsystem1InputDevicesAninputdeviceallowsausertoenterdataandcommandsintothememoryofacomputer.Belowarecommonlydevices.usedinput18
25、3I/OSubsystem1InputDevices1KeyboardThekeyboardisoneofthemaininputdevicesforacommonlykeysthatallownumbers,spaces,punctuationmarksorothersymbols.Itperformcomputersystem.Itis thewayauserwillmostcommunicatewithtypelettersofthealphabet,acomputer.Itcontainstypelettersofthealphabet,userstoalsocontainsspeci
26、ficfunctionsonthecomputer.specialkeysthatallowusersto193I/OSubsystem1InputDevices2MouseAmouseis apointingdevicedesignedto begripped(usuallycontrolthemotionofanon-screenpointer,orcursor,bymovingthemouseonaflatsurface.Themouseapparentlysizeandformkindofmousehastwobuttonsontopwithonebeingusedmorefreque
27、ntly.byonehand.Ithasadetectiondeviceaball)onthebottomthatenablesuserstogetsitsnamebybeingaboutthesameasatoymouse.Themostconventionaltheleft203I/OSubsystem1InputDevices3ScannerAscanneruseslight-sensingequipmenttointoconvertelectroniccomputercommontypesofscanneraretheflatbedscanner,whichissimilartohan
28、d-heldacrosstheimagetobeprocessed.imagessuchaspictureortextsignalsthatcanbemanipulatedThebyawithinseveralminutes.twoanofficephotocopier,andthescanner,whichispassedmanually213I/OSubsystem1InputDevices4ModemAmodem,whichstandsformodulator-demodulator,isusedforcommunicatingbetweencomputers.Itconnectsaco
29、mputertobeWhencomputerisconvertedbythemodemwhichreceivingmodem.Thenintocomputer.atelephonelineandallowsinformationtotransmittedtoorreceivedfromanothercomputer.transmitting,theinformationsentfromoneintoanaudiosignal,is then transmittedbythetelephonelinetothethismodemconvertsthesignalinformationthatca
30、nbeunderstoodbythereceiving223I/OSubsystem1InputDevices5MicrophoneAmicrophoneisadeviceforconvertingsoundintobestored,manipulated,andplayedbackbythecomputer.moduleisadevicethatconvertsspokenwordscomputercanrecognizeandprocess.signals thatcanAvoicerecognitionintoinformationthatthe233I/OSubsystem2Outpu
31、tDevicesOutputdevicestransmittheresultsprocessedbythecomputertocommonlyusedoutputdevices.theoutsidecomponentsfortheuser.Beloware243I/OSubsystem2OutputDevices1MonitorMonitors,commonlycalledasVisualDisplayUnit(VDU),arethemainpixelsthatarearrangedindependsuponthenumberofpixels.outputdeviceofacomputer.I
32、tformsimagesfromtinydots,calledarectangularform.ThesharpnessoftheimageTherearetwokindsofviewingscreenusedformonitors.Oneisacathoderaytube(CRT)andtheotherisaflat-paneldisplay.ACRT-basedscreenlookssimilartoatelevisionset.InformationofelectronsthatscansafromphosphorescentHowever,CRTmonitorsvoltageimage
33、s.theCPUisdisplayedusingabeamhighsurfacethatemitslightandcreatesimages.highare bulkyand theyrequirea relativelypowersupplytosufficientlyelectronbeamsfordisplaying253I/OSubsystem2OutputDevicesTheflat-paneldisplayreferstoaclassofvideodevicesthathavereducedvolume,weightandpowerrequirementinofflat-panel
34、displayscomputer,parisontotheCRT.Currentusesincludecalculators,videogames,monitors,laptopTheflat-paneldisplayisdividedintotwocategories:emissivedisplaysandnon-emissivelight.Examplesareemissivedisplaysuseopticaleffectstoothersourcesintoexample.displays.Theemissivedisplaysconvertelectricalenergyintopl
35、asmapanelsandLED(light-emittingdiodes).Thenon-convertsunlightorlightfromsomegraphicspatterns.ALCD(liquidcrystaldisplay)isatypicalFiguresbelowrespectivelyshowaCRTmonitorandaflat-panelmonitor.263I/OSubsystem2OutputDevices2PrinterThesecondtypeisanink-jetprinter.Itfiresdropletsofinkontoapagetoacceptance
36、amongconsumersinprintingwithhighresolutionandrelativelyinexpensive.formcharactersandpictures.InkjetprintinghasgainedwidetheprintingindustrybecauseitisfastinThelasttype,laserprintersareofthehighestquality.Theyemploybeamsoflighttoparticlescalledtoner.ThetonerisfusedtoThelaserprinterhasadvantageousoper
37、atingcharacteristicsoflownoise,highspeedandhighresolution.drawimagesonadrumthatthenpicksupfineblackapagetoproduceanimage.273I/OSubsystem2OutputDevicesAprinterisanimageformationdevicewhichreceivesdatafromahostcomputerandthenformsacorrespondingimageontomediumsuchasasheetofpaper.Therearethreemajortypes
38、ofprinters.arecordableDot-matrixprintersfeatureamovableprintheadcontainingarowoftinypins.Thepinspushaninkedribbonagainstthepaper,producingamatrixthedotscanformthedot-matrixwithdocumentinofdots.Astheprintheadmovesbackandforthacrossthepage,eitherlettersorgraphics.Comparedwithothertypes,printerislessex
39、pensivebutproduceslowerresolutioncopiesofanoise.However,asitusespins,itcanproducemultipleasingleprinting,whichisuniqueamongothers.283I/OSubsystem2OutputDevices3AudioOutputDevicesAudiooutputdevicesarethecomponentsofacomputerthatproducemusic,speech,orothersounds.Twocommonlyusedaudiospeakersandheadsets
40、outputdevicesareMostpersonalcomputershaveasmallinternalspeakerthatusuallyoutputsusersaddhigher-qualitycanbeeasilyonlytheusercanhearthesoundfromthecomputer.onlylow-qualitysound.Forthisreason,manypersonalcomputerstereospeakers.Whenusingspeakers,theoutputheard.Whenpluggingaheadsetintoaportonthesoundca
41、rd,293I/OSubsystem3OtherI/ODevices303I/OSubsystem3OtherI/ODevices1DiskDriveStoragehardwarealsocanberegardedasinputandoutputdevice.Differentfromthemainretrievalbythecomputer.Onecommonlyround,flatpieceofplasticormetalonwhichitemscanbeencoded,orwritten.7Adiskdriveisadevicethatreadsfromdrives:hard,flopp
42、y,magneto-opticalandcompact.memory,itprovidespermanentstorageofinformationandprogramsforusedstoragemediumis adisk,whichis aandwritesontoadisk.ThereareseveraltypesofdiskAharddiskusuallyconsistsofseveralcirculardisksonwhichdata,instructions,andinformationinformationandretrievethatinformationveryquickl
43、y.Somehardwhichmeanstheycanbeinsertedandremovedfromthisisthattheycanbetakenoutofthecomputerandtransportedorsecured.arestoredmagnetically.Harddiskdrivescanstorelargeamountsofdisksareremovable,aharddiskdrive.Theadvantageof313I/OSubsystem3OtherI/ODevicesAfloppydiskconsistsofathin,circular,flexiblediske
44、nclosedinaplasticshell.Italsostoresinformationininformationthanharddiskdrivesandretrievetheinformationatamuchslowerrate.magneticparticlesinremovabledisks.FloppydisksstorelessMagneto-opticaldiskdrivesstoreinformationonremovabledisksthatareasmuchsensitivetoinformationasharddisksbuthaveslightlyslowerre
45、trievalspeeds.both laserlightandmagneticfields.TheycantypicallystoreCompactdiskdrives(CD-ROM)storeinformationonpitsburnedintothesurfaceofadiskofreflectivematerial.TheinformationstoredonCD-ROMscannotbeerasedoroverwrittenwithnewinformation.Theycanstoreaboutasmuchinformationasaharddiskdrivebuthaveaslow
46、errateofinformationretrieval.AvariationofthestandardCD-ROMinformationstoredinis therewritableCD,alsocalleda CD-RW.DifferentfromtheCD-ROM,theCD-RWcanbeerasedandoverwritten.323I/OSubsystem3OtherI/ODevices2DigitalCameraAdigitalcameratois avideoinputdevice,whichallowsusersdigitally,insteadtheimageiscirc
47、uitcomputerandrestoredtocomputer.Digitalcamerashavewideapplicationsbothandbusiness.Itcanbeusedforvideomeeting,telemedicineandreal-timemonitoringaswellasforpersonalvideochatting.takepicturesandstorethephotographedimagesofontraditionalfilm.Whenphotographed,processedandconvertedbythelight-sensitiveto t
48、hedigitalsignal.Thenthesignalisinputtothethetheimagebysomesoftwareininlife333I/OSubsystem3OtherI/ODevices3DataProjectorAdataprojectortakestheimagethatdisplaysonontoascreensothataudiencecanseetheimageclearly.attachedtocanbesmallportabledevices.a computerscreenand projectsitDataprojectorscanbelargedev
49、icesaceilingorwallinanauditoriumor343I/OSubsystem3OtherI/ODevices4TouchScreenA monitorthathasatouch-sensitivepanelonthescreeniscalledatouchscreen(SeeFigure2-4).Usersinteractwiththecomputerbytouchingareasofthescreenwiththeirfingers.Becausetheyrequirealotofarmscreensarenotusedtoenterlargeamountsofdata
50、Insteadtheyareusedtotouchwords,pictures,numbers,orlocationsidentifiedonthescreen.Touchscreensarewidelykioskslocatedinlaptopcomputersemploytouchscreensaswell.movements,touchappliedinstores,hotels,airportsandmuseums.Some353I/OSubsystem3OtherI/ODevices5BarcodeReaderAbarcodeisamachine-readablerepresent






