ComputerOrganizationandArchitecture,10th Edition,byWilliamStallings
Computer Organization and Architecture 10th Edition Stallings
Test Bank
Full download at link: https://testbankpack.com/p/testbank-for-computer-organization-and-architecture-10thedition-by-stallings-isbn-0134101618-9780134101613/ CHAPTER 4: CACHE MEMORY
TRUE OR FALSE
T F 1. Nosingletechnologyisoptimalinsatisfyingthememory requirementsforacomputersystem.
T F 2. Atypicalcomputersystemisequippedwithahierarchyofmemory subsystems,someinternaltothesystemandsomeexternal.
T F 3. Externalmemoryisoftenequatedwithmainmemory.
T F 4. Theprocessorrequiresitsownlocalmemory.
T F 5. Cacheisnotaformofinternalmemory.
T F 6. The unit of transfer mustequalawordoranaddressableunit.
T F 7. Bothsequentialaccessanddirectaccessinvolveasharedreadwritemechanism.
T F 8. Inavolatilememory,informationdecaysnaturallyorislostwhen electricalpowerisswitchedoff.
T F 9. Toachievegreatestperformancethememorymustbeabletokeep upwiththeprocessor.
T F 10. Secondarymemoryisusedtostoreprogramanddatafilesandis usuallyvisibletotheprogrammeronlyintermsof individual bytesorwords.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
ComputerOrganizationandArchitecture,10th Edition,byWilliamStallings
T F 11. TheL1cacheisslowerthantheL3cache.
T F 12. With write back updatesaremadeonlyinthecache.
T F 13. Ithasbecomepossibletohaveacacheonthesamechipasthe processor.
T F 14. AllofthePentiumprocessorsincludetwoon-chipL1caches,one fordataandoneforinstructions.
T F 15. CachedesignforHPCisthesameasthatforotherhardware platformsandapplications.
MULTIPLE CHOICE
1. __________referstowhethermemoryisinternalorexternaltothecomputer.
A. Location B. Access
C. Hierarchy D. Tag
2. Internalmemorycapacityistypicallyexpressed intermsof_________.
A. hertz B. nanos
C. bytes D. LOR
3. Forinternalmemory,the__________isequaltothenumberofelectricallines intoandoutofthememorymodule.
A. accesstime B. unitoftransfer
C. capacity D. memoryratio
4. “Memoryisorganizedintorecordsandaccessmustbemadeinaspecific linearsequence”isadescriptionof__________.
A. sequentialaccess B. directaccess
C. randomaccess D. associativeaccess
5. individualblocksorrecordshaveauniqueaddressbasedonphysical locationwith__________.
A. associativeaccess B. physicalaccess
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
C. directaccess D. sequentialaccess
6. Forrandom-accessmemory,__________isthetimefromtheinstantthatan addressispresentedtothememorytotheinstantthatdatahavebeenstored ormadeavailableforuse.
A. memorycycletime B. directaccess
C. transferrate D. accesstime
7. The________consistsoftheaccesstimeplusanyadditionaltimerequired beforeasecondaccesscancommence.
A. latency B. memorycycletime
C. directaccess D. transferrate
8. Aportionofmainmemoryusedasabuffertoholddatatemporarilythatisto bereadouttodiskisreferredtoasa_________.
A. diskcache B. latency
C. virtualaddress D. miss
9. Alineincludesa_________ thatidentifieswhichparticularblockiscurrently beingstored.
A. cache B. hit
C. tag D. locality
10.__________isthesimplestmappingtechniqueandmapseachblockofmain memoryintoonlyonepossiblecacheline.
A. Directmapping B. Associativemapping
C. Setassociativemapping D. Noneoftheabove
11.Whenusingthe__________techniqueallwriteoperationsmadetomain memoryaremadetothecacheaswell.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
A. writeback B. LRU
C. writethrough D. unifiedcache
12.Thekeyadvantageofthe__________designisthatiteliminatescontentionfor thecachebetweentheinstructionfetch/decodeunitandtheexecutionunit.
A. logicalcache B. splitcache
C. unifiedcache D. physicalcache
13.ThePentium4_________componentexecutesmicro-operations,fetchingthe requireddatafromtheL1datacacheandtemporarilystoringresultsin registers.
A. fetch/decodeunit B. out-of-orderexecutionlogic
C. executionunit D. memorysubsystem
14.Inreferencetoaccesstimetoatwo-levelmemory,a_________occursifan accessedwordisnotfoundinthefastermemory.
A. miss B. hit
C. line D. tag
15.Alogicalcachestoresdatausing__________.
A. physicaladdresses B. virtualaddresses
C. randomaddresses D. noneoftheabove
SHORT ANSWER
1. __________memoryconsistsofperipheralstoragedevices,suchasdiskand tape.
2. Onebyteequals__________bits.
3. Fromauser’spointofviewthetwomostimportantcharacteristicsof memoryarecapacityand_____________.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
4. Thethreeperformanceparametersformemoryare: accesstime,transfer rate,and_________.
5. _________isarandomaccesstypeofmemorythatenablesonetomakea comparisonofdesiredbitlocationswithinawordforaspecifiedmatch,and todothisforallwordssimultaneously,thusretrievingawordbasedona portionofitscontentsratherthanitsaddress.
6. The________rateistherateatwhichdatacanbetransferredintooroutofa memoryunit.
7. Themostcommonlyusedphysicaltypesofmemoryare: semiconductor memory,__________memory(usedfordiskandtape),andopticaland magneto-optical.
8. Thethreekeycharacteristicsofmemoryarecapacity,accesstime,and_______.
9. External,nonvolatilememoryisreferredtoas___________orauxiliary memory.
10. Thecacheconsistsofblockscalled__________.
11. __________computingdealswithsupercomputersandtheirsoftware.
12. ThePentium4processorcoreconsistsoffourmajorcomponents: fetch/decodeunit,out-of-orderexecutionlogic,memorysubsystem,and __________.
13.The__________unitsexecutemicro-operations,fetchingtherequireddatafrom theL1datacacheandtemporarilystoringresultsinregisters.
14. __________memoryisafacilitythatallowsprogramstoaddressmemoryfrom alogicalpointofview,withoutregardtotheamountofmainmemory physicallyavailable.
15.Forset-associativemappingthecachecontrollogicinterpretsamemory addressasthreefields: Set,Word,and__________.
ComputerOrganizationandArchitecture,10th Edition,byWilliamStallings
CHAPTER
byWilliam