计算机专业英语教程第5版翻译Word格式.docx

上传人:b****4 文档编号:17751419 上传时间:2022-12-09 格式:DOCX 页数:63 大小:84.98KB
下载 相关 举报
计算机专业英语教程第5版翻译Word格式.docx_第1页
第1页 / 共63页
计算机专业英语教程第5版翻译Word格式.docx_第2页
第2页 / 共63页
计算机专业英语教程第5版翻译Word格式.docx_第3页
第3页 / 共63页
计算机专业英语教程第5版翻译Word格式.docx_第4页
第4页 / 共63页
计算机专业英语教程第5版翻译Word格式.docx_第5页
第5页 / 共63页
点击查看更多>>
下载资源
资源描述

计算机专业英语教程第5版翻译Word格式.docx

《计算机专业英语教程第5版翻译Word格式.docx》由会员分享,可在线阅读,更多相关《计算机专业英语教程第5版翻译Word格式.docx(63页珍藏版)》请在冰豆网上搜索。

计算机专业英语教程第5版翻译Word格式.docx

我们已经讨论过如何在计算机系统内部,用被称作“位”的电子状态来表现数据,现在我们要弄明白计算机系统的核心,即处理器,的内在的工作方式。

Theinternaloperationofacomputerisinteresting,buttherereallyisnomysterytoit.Themysteryisinthemindsofthosewholistentohearsayandbelievescience-fictionwriter.Thecomputerisanonthinkingelectronicdevicethathastobepluggedintoanelectricalpowersource,justlikeatoasteroralamp.

计算机的内部操作很有意思,但确实没有什么神秘可言。

所谓的神秘只是存在于那些听信传闻和相信科幻小说作家的人的意识中。

计算机就是一种没有思想的需要接通电源的电子设备而已,与烤面包机和台灯差不多。

Literallyhundredsofdifferenttypesofcomputersaremarketedbyscoresofmanufacturers[1].Thecomplexityofeachtypemayvaryconsiderably,butintheendeachprocessor,sometimescalledthecentralprocessingunitorCPU,hasonlytwofundamentalsections:

thecontrolunitandthearithmeticandlogicunit.Primarystoragealsoplaysanintegralpartintheinternaloperationofaprocessor.Thesethree—primarystorage,thecontrolunit,andthearithmeticandlogicunit—worktogether.Let’slookattheirfunctionsandtherelationshipsbetweenthem.

不加夸张地讲,市场上有几百种不同类型的计算机在销售.每种电脑在复杂性上可能有很大区别,但归根结底,每种处理器,有时称为中央处理器即cpu,只有两个基本部分:

控制单元和计算逻辑单元.主内存在处理器内部操作中也是一个不可缺少的部分.这三个部件--主内存,控制单元和计算逻辑单元--一起工作.然我们看看它们(各自的)功能和它们之间的联系。

Unlikemagneticsecondarystoragedevices,suchastapeanddisk,primarystoragehasnomovingparts.Withnomechanicalmovement,datacanbeaccessedfromprimarystorageatelectronicspeeds,orclosetothespeedoflight.Mostoftoday’scomputersuseDRAM(DynamicRandom-AccessMemory)technologyforprimarystorage.Astate-of-the-artDRAMchipaboutoneeighththesizeofapostagestampcanstoreabout256,000,000bits,orover25,600,000charactersofdata!

主存与其他的辅助存储器(如:

磁带、硬盘)不一样的是,主存不含有运转部件。

由于没有机械运转的需要,主存种数据访问可以达到电子的速度,或接近于光速。

当今计算机的主存大多数使用DRAM(动态随机存取存储器)技术。

目前最新的工艺水平是:

一块只有大约1/8张邮票大小的DRAM芯片却可以存储大约256,000,000位,约25,6000,000个字符的数据。

 

Primarystorage,ormainmemory,providestheprocessorwithtemporarystorageforprogramsanddata.Allprogramsanddatamustbetransferredtoprimarystoragefromaninputdevice(suchasaVDT)orfromsecondarystorage(suchasadisk)beforeprogramscanbeexecutedordatacanbeprocessed.Primarystoragespaceisalwaysatapremium;

therefore,afteraprogramhasbeenexecuted,thestoragespaceitoccupiedisreallocatedtoanotherprogramawaitingexecution.

主存储器,也就是说内存,用于为处理器暂时存放程序和数据。

所有的程序和数据在被操作之前必须从输入设备(如VDT)或者辅助存储器转存到主存储器中。

主存储器存储容量通常是相当有限的,因此,在一个程序执行结束,它所占用的存储空间必须被重新分配给其它正在等待执行操作的程序。

Figure1-1illustrateshowallinput/output(I/O)is“readto”or“writtenfrom”primarystorage.Inthefigure,aninquiry(input)ismadeonaVDT.Theinquiry,intheformofamessage,isroutedtoprimarystorageoverachannel(suchasacoaxialcable).Themessageisinterpreted,andtheprocessorinitiatesactiontoretrievetheappropriateprogramanddatafromsecondarystorage[3].Theprogramanddataare“loaded”,ormoves,toprimarystoragefromsecondarystorage.Thisisanondestructivereadprocess.Thatis,theprogramanddatathatarereadresideinbothprimarystorage(temporarily)andsecondarystorage(permanently).Thedataaremanipulatedaccordingtoprograminstructions,andareportiswrittenfromprimarystoragetoaprinter.

图1-1描述了输入/输出设备与主存储器间的读和写过程。

在图中,VDT发出一个输入请求,请求是以消息模式通过通道(如同轴电缆)发送到主存储器。

这个查询被解释,处理器发起操作从辅助存储器中调用合适的程序和数据。

程序和数据从辅助存储器传送到主存储器中,这是一个非破坏性的读取过程,也就是说,程序和数据同时存在于主存(临时保存)和辅助存储器(永久保存)中。

根据程序指令的指示,处理器对数据进行操作,并从主存传送一份报告到打印机。

Aprograminstructionorapieceofdataisstoredinaspecificprimarystoragelocationcalledanaddress.Addressespermitprograminstructionsanddatatobelocated,accessed,andprocessed.Thecontentofeachaddressisconstantlychangingasdifferentprogramsareexecutedandnewdataareprocessed.

程序指令和数据是存储在主存中一个特殊的位置,称为地址空间。

通过地址空间可以实现计算机对程序指令和数据的定位、访问和处理。

地址空间的内容是经常变化的,这是由于计算机一直在执行不同的程序和数据。

Anothernameforprimarystorageisrandom-accessmemory,orRAM.Aspecialtypeofprimarystorage,calledread-onlymemory(ROM),cannotbealteredbytheprogrammer.ThecontentsofROMare“hard-wired”(designedintothelogicofthememorychip)bythemanufacturerandcanbe“readonly”.Whenyouturnonamicrocomputersystem,aprograminROMautomaticallyreadiesthecomputersystemforuse.ThentheROMprogramproducestheinitialdisplayscreenprompt.

主存储器也称为随机存取存储器,或RAM。

还有一种特殊的主存储器,称为只读存储器(ROM),这种存储器不能被程序更改存放的内容。

ROM的内容是被生产商通过硬件电路写入的,并且不能被重写。

当你启动计算机,ROM中的一个程序会自动就绪等待计算机系统的调用,然后在显示器中显示开机提示。

AvariationofROMisprogrammableread-onlymemory(PROM).PROMisROMintowhichyou,theuser,canload“read-only”programsanddata.OnceaprogramisloadedtoPROM,itisseldom,ifever,changed[4].However,ifyouneedtobeabletorevisethecontentsofPROM,thereisEPROM,erasablePROM.Beforeawriteoperation,allthestoragecellsmustbeerasedtothesameinitialstate.

可编程只读存储器(PROM)是另一种ROM,它可以载入只读的程序和数据,一旦载入,将不再改变。

然而,若果你需要去修正PROM的内容,可以使用可擦可编程只读存储器。

EPROM在进行一次写操作之前,所有的存储单元必须被还原为同一初始状态。

Amoreattractiveformofread-mostlymemoryiselectricallyerasableprogrammableread-onlymemory(EEPROM).Itcanbewrittenintoatanytimewithouterasingpriorcontents;

onlythebyteorbytesaddressedareupdated.

一种更吸引人的可改写只读存储器是电可擦除可编程只读存储器(EEPROM)。

它可以在任何时候写入,而且不会擦除以前的内容;

只会更新被寻址的字节。

TheEEPROMcombinestheadvantageofnonvolatilitywiththeflexibilityofbeingupdatableinplace[6],usingordinarybuscontrol,address,anddatalines.

电可擦可编程存储器把非易失性优点和可更新、需要更新的地方的灵活性结合起来,修改时使用普通的总线控制线、地址线和数据线。

Anotherformofsemiconductormemoryisflashmemory(sonamedbecauseofthespeed).FlashmemoryisintermediatebetweenEPROMandEEPROMinbothcostandfunctionality.LikeEEPROM,flashmemoryusesanelectricalerasingtechnology.Anentireflashmemorycanbeerasedinoneorafewseconds,whichismuchfasterthanEPROM.Inaddition,itispossibletoerasejustblocksofmemoryratherthananentirechip.However,flashmemorydoesnotprovidebyte-levelerasure[7].LikeEPROM,flashmemoryusesonlyonetransistorperbit,andsoachievesthehighdensityofEPROM.

另一种半导体记忆体是闪存(意味着速度快)。

闪存在性价比上处于EPROM和EEPROM之间,它使用电擦写技术。

整个闪存的内容可以在一到几秒内被清除,这是远快于EPROM的。

另外,它还可以对部分记忆块而不是整个存储器进行清除。

然而,闪存并不提供字节级的擦除。

像EPROM,闪存只使用一个晶体管每比特,因此可以实现高密度的EPROM。

CacheMemory

ProgramanddataareloadedtoRAMfromsecondarystoragebecausethetimerequiredtoaccessaprograminstructionorpieceofdatafromRAMissignificantlylessthanfromsecondarystorage.ThousandsofinstructionsorpiecesofdatacanbeaccessedfromRAMinthetimeitwouldtaketoaccessasinglepieceofdatafromdiskstorage[8].RAMisessentiallyahigh-speedholdingareafordataandprograms.Infact,nothingreallyhappensinacomputersystemuntiltheprograminstructionsanddataaremovedtotheprocessor.Thistransferofinstructionsanddatatotheprocessorcanbetime-consuming,evenatmicrosecondspeeds.Tofacilitateanevenfastertransferofinstructionsanddatatotheprocessor,mostcomputersaredesignedwithcachememory.Cachememoryisemployedbycomputerdesignerstoincreasethecomputersystemthroughput(therateatwhichworkisperformed).

程序和数据从辅助存储器装载到RAM中是因为对RAM中的程序指令和数据的访问时间要明显的少于从辅助存储器访问。

数以千条的指令和数据能被访问而只需花费从硬盘访问一次数据的时间。

RAM是数据和程序的重要的高速存放区,事实上,计算机系统不会进行任何操作直到程序指令被传入处理器进行执行,这种指令和数据的传输是需要花费时间的,即使传输速度已经是以纳秒来计算了。

为了能更快速的传输指令和数据,大多数计算机设计使用高速缓存。

计算机设计者使用高速缓存来提高计算机系统的总处理能力(工作效率)。

LikeRAM,cacheisahigh-speedholdingareaforprograminstructionsanddata.However,cachememoryusesSRAM(StaticRAM)technologythatisabout10timesfasterthanRAMandabout100timesmoreexpensive.WithonlyafractionofthecapacityofRAM,cachememoryholdsonlythoseinstructionsanddatathatarelikelytobeneedednextbytheprocessor.Twotypesofcachememoryappearwidelyincomputers.ThefirstisreferredtoasinternalcacheandisbuiltintotheCPUchip.Thesecond,externalcache,islocatedonchipsplacedclosetotheCPUchip.Acomputercanhaveseveraldifferentlevelsofcachememory.Level1cacheisvirtuallyalwaysbuiltintothechip.Level2cacheusedtobeexternalcachebutisnowtypicallyalsobuiltintotheCPUlikelevel1cache.

和RAM一样,高速缓存也是程序指令和数据的高速存储区。

然而,高速缓存使用静态RAM技术,这种技术比RAM在速度上要高出10倍,价格上高出100倍。

cache只保存内存中那一小部分最有可能被处理器执行的指令和数据。

两种类型的cache广泛应用于计算机,第一种被植入cpu中的叫做内部高速存储,第二种是外部高速存储,它位于那些靠近cpu的芯片中。

一台计算机可以拥有几个不同级别的高速缓存。

一级缓存实际上总是植入芯片中,二级缓存过去常常作为外部高速缓存,但是现在也像一级缓存植入cpu内部。

2.1

Opticallaserdisktechnologyeventuallymaymakemagnetic-diskandmagnetictapestorageobsolete.Withthistechnology,theread/writeheadusedinmagneticstorageisreplacedbytwolasers.Onelaserbeamwritestotherecordingsurfacebyscoringmicroscopicpitsinthedisk,andanotherlaserreadsthedatafromthelight-sensitiverecordingsurface.Alightbeamiseasilydeflectedtothedesiredplaceontheopticaldisk,soanaccessarmisnotneeded.

光盘技术最终可能使磁盘和磁带存储淘汰。

用这种技术,磁存储器所用的读/写头被两束激光代替。

一束激光通过在光盘上刻制微小的凹点,对记录表面进行写;

而另一束激光用来从光敏感的记录表面读取数据。

由于光束容易被偏转到光盘上所需要的位置,所以不需要存取臂。

Opticallaserdisksarebecomingaveryinvitingoptionforusers.Theyarelesssensitivetoenvironmentalfluctuations,andtheyprovidemoredirect-accessstorageatacostthatismuchlesspermegabyteof

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 求职职场 > 简历

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1