大连交通大学COA考试试题及答案Word文档下载推荐.docx
- 文档编号:16603337
- 上传时间:2022-11-24
- 格式:DOCX
- 页数:14
- 大小:45.64KB
大连交通大学COA考试试题及答案Word文档下载推荐.docx
《大连交通大学COA考试试题及答案Word文档下载推荐.docx》由会员分享,可在线阅读,更多相关《大连交通大学COA考试试题及答案Word文档下载推荐.docx(14页珍藏版)》请在冰豆网上搜索。
22
32
3
13
23
33
4
14
24
34
5
15
25
35
6
16
26
36
7
17
27
37
8
18
28
38
9
19
29
39
10
20
30
40
1.ThecontrolsignalgivenbyCUdoesn’tinclude__C________.
A.thatread/writememoryorI/O
B.thatturnon/offthegatesonthepathwayforinformationflow
C.thatrequeststoCPUexampleasInterruptrequestsignal
D.thatmakearithmeticorlogicoperation
2.Themorecomplicatedinstructionexecutionincludes_B_____cycle(s).
A.4B.3C.2D.1
3.___D______gavetheconceptofstored-program.
A.BillGates
B.GordonMoore
C.WilliamStallingsD.JohnvonNeumann
4.Thewidthoftrackequalto_A_____.
A.thewidthofheadB.thewidthofdriveC.0D.2
5.ThemainfunctionsofALUare_B_____.
A.logicoperationsB.logicandarithmeticoperations
C.arithmeticoperationsD.onlyaddition
6.Inaninstruction,sourceandresultoperandscannotin__D____.
A.memoryB.CPUregisterC.diskD.cache
7.PCholds_____A__________.
A.addressofnextinstructionB.nextinstruction
C.addressofoperandD.operand
8.Thenegationofan8-bittwoscomplement__B__ischangedtoa16-bitthatequalto
1111111111010011.
A.01010011B.11010011C.00101101D.10101101
题号
1--36
41
总分
得分
9.TheDIRECTADDRESSINGmeans_D__.
A.operandincludesininstruction
B.addressofoperand’saddressincludedininstruction
C.operandbeenunnecessary
D.operand’saddressincludedininstruction
10.Aunsignedbinarynumberisnbits,soitiscanrepresentavalueintherangebetween__C_______.
A.0ton-1B.1tonC.0to2n-1D.1to2n
11.Iftwonumbersareadded,andtheyarebothpositiveorbothnegative,thenoverflowoccursifandonlyiftheresulthas___A___.
A.theoppositesign.B.acarryflagC.thesamesignD.azeroflag
12.ThedisadvantageofINDIRECTADDRESSINGis___C_________.
A.largeaddressingrangeB.nomemoryaccess
C.morememoryaccessD.largevaluerange
13.InRAID,paritymeansthatmoredisk’scapacityisused___B__.
A.toenlargecapacityofavailabledataindisksystem
B.toenabletherecoveryofdatalostduetoadiskfailure
C.tofindandcorrecttheread/writeerrors
D.toimproveI/Orequestrateofsystem
14.Booth’salgorithmisusedforTwoscomplement__C____.
A.additionB.subtractionC.multiplicationD.division
15.RAIDlevel(s)_A________makeuseofaparallelaccesstechnique.
A.3B.4C.5D.all
16.ThedisadvantageofIMMEDIATEADDRESSINGis____D_______.
A.morememoryreferenceB.largevaluerangeC.lessmemoryreferenceD.limitvaluerange
C17.Supposebitlongoftwo’scomplementis5bits,whicharithmeticoperationbringsOVERFLOW?
A.5+8B.(-8)+(-8)C.4-(-12)D.15-7
18.DMAmeans_D_____.
A.CPUDirectlyManagesAddressbus
B.“DirectMemoryAddressing”mode
C.AuxiliaryMagneticDisk
D.I/ODirectlyAccessesMemorydata
19Onaddressmappingofcache,anyblockofmainmemorycanbemappedtoanylineofcache,itis____A_______.
A.AssociativeMappingB.DirectMappingC.SetAssociativeMappingD.RandomMapping
20.Onamovableheadsystem,thetimeittakestopositiontheheadatthetrackisknowas_A_____.
A.seektimeB.rotationaldelayC.accesstimeD.transfertime
21.Flashmemoryis___B__________..
A.read-onlymemoryB.read-mostlymemoryC.read-writememoryD.volatile
22.TransferdatawithI/Omodules,3typesoftechniquescanbeused.WhichoneisnotbelongthemC
A.Interrupt-drivenI/OB.programmedI/OC.directI/OaccessD.DMA
23.whichtypeofmemoryisvolatileC
A.ROMB.E2PROMC.RAMD.flashmemory
考生注意:
考试时间120分钟试卷总分100分共4页第1页
24.ThesignalsofinterruptrequestandacknowledgementexchangebetweenCPUandrequestingI/Omodule.ThereasonofCPU’sacknowledgementis____C____________
A.tolettheI/Omoduleremoverequestsignal
B.toletCPUgetthevectorfromdatabus
C.botha&
bD.otheraims
25.Cache’swrite-throughpolitymeanswriteoperationtomainmemory__A_____.
A.aswellastocache
B.onlywhenthecacheisreplaced
C.whenthedifferencebetweencacheandmainmemoryisfound
D.onlywhendirectmappingisused
26.IfthespeedofmainmemoryisasfastasCPU,whichtechniqueisnotnecessary.C
A.DMAB.InterruptC.CacheD.Pipeline
27.WhichisnotintheALUD
A.shifterB.adderC.complementerD.accumulator
28.TherearethreekindsofBUSes.WhichisnotbelongtothemB
A.addressbusB.systembusC.databusD.controlbus
29.Whichisn’tfunctionofcomputer?
D
A.datamovementB.dataoperationC.datastorageD.datacreation
30.Generally___A_____cacheis(are)dividedtoInstructioncacheandDatacache.
A.L1B.L2C.L1andL2D.neitherL1norL2
31.TheStackUse“LastInFirstOut”operation,theoperatinglocationisknownas___B______ofstack.
A.bottomB.topC.headD.pointer
32.BeforeDMAoperation,CPUmustsendsomeinformationtoDMAcontroller,whichisnotbelongthem:
A.I/OaddressB.memoryaddressC.transferdirectionD.activesignal
33.Ifsignedintegeris32-bit,itsrepresentationrangeis___C______.
A.0----232-1B.1----232C.-231----231-1D.–(231-1)---231-1
34.SRAM isusedfor___D________.
A.CACHEonchipB.CACHEoffchipC.mainmemoryD.bathA&
B
35.Interruptprocessstepsare__B________.
A.suspending,resuming,branching&
processing
B.branching,suspending,processing&
resuming
C.suspending,branching,processing&
D.processing,branching,resuming&
suspending
36.Usinghammingcode,itspurposeisofAone-biterror.
A.detectingandcorrectingB.detectingC.correctingD.noneofall
37.TheSMPmeans____D______.
A.SharingMemoryProcessesB.SplitMemorytoParts
C.StackandMemoryPointerD.SymmetricMulti-Processor
38.UsingDirectaddressing,afterfetchsubcycle,___A_______inMBR.
A.aninstructionB.addressofaninstructionC.anoperandD.addressofanoperand
39.whichtypeofmemoryhas6-transistorstructureB
A.DRAMB.SRAMC.ROMD.EPROM
40.Aftertheinformationflowoffetchsubcycle,thecontentofMBRis____C_________.
A.operandB.addressofinstructionC.instructionD.addressofoperand
PARTB.
Ⅱ.Describetheprocessofgettingoperandwithimmediateaddressing,indirectaddressing,registerindirectaddressing,andanalyzetheiradvantagesanddisadvantages
.(12points)
共4页第2页
Ⅲ、Forthe8-bitdata10110101wouldbestoredinmemory,supposethedataisreadfrommemoryandcalculatedcheckbitis1101,pleaseusetheHammingalgorithmtoanswer(12points):
1.whatisoldcheckbit?
2.whatisnewcheckbit?
3.whatisthedatareadfrommemory?
39.Inmulti-processorsystems,MESIprotocolisusedtosolvetheproblemofcachecoherence.DescribethestatetransitionwhenREADMISSandWRITEMISS(withnecessarydiagram).(12points)
共4页第3页
40.Considera4-waysetassociativemappingorganization(16points):
1.memorysizeis256M-Byte
2.cachesizeis2M-byte
3.blocksizeis8-byte
Pleaseanswerfollowingquestions:
1.addressformat
2.whichsetcanmemorylocation24680ACEHand12345678Hbemappedto?
3.Wherecanthelinewiththetagbeing1AHandthesetnumberbeing2BHwriteback?
41.Showallthemicro-operationsforthefollowinginstruction:
(12points)
1.SUBAC,X;
—ACsubtractsX(memorylocation),resultisstoredtoAC.
2.CALLY;
—callfunctionY,usestacktosavethereturnaddress
3.jzAC,L;
—ifACiszero,branchtoL.
共4页第4页
C
A
B
D
Ⅱ
1.Immediateaddressing:
Thevalueoftheoperandisintheinstruction.
2.Directaddressing:
Theaddressfieldcontentstheeffectiveaddressoftheoperand.
3.Indirectaddressing:
Theaddressfieldreferstotheaddressofawordinmemory,whichinturncontainstheeffectiveaddressoftheoperand.
4.Registeraddressing:
Theaddressfieldreferstoaregisterthatcontainstheoperand.
5.Registerindirectaddressing:
Theaddressfieldreferstoaregister,whichinturncontainstheeffectiveaddressoftheoperand.
Ⅲ
Accordingdatabit,calculatecheckbit
C1=D1⊕D2⊕D4⊕D5⊕D7=>
C1=1⊕0⊕0⊕1⊕0=0
C2=D1⊕D3⊕D4⊕D6⊕D7=>
C1=1⊕1⊕0⊕1⊕0=1
C4=D2⊕D3⊕D4⊕D8=>
C1=0⊕1⊕0⊕1=0
C8=D5⊕D6⊕D7⊕D8=>
C1=1⊕1⊕0⊕1=1
Oldcheckbit1010
Newcheckbit⊕1101
Syndromeword0111
Itmeansposition7iserror=>
thedatareadfrommemoryis10111101
Ⅳ
Ⅴ1.9163
2.00100100011010000000101011001110=>
0159
00010010001101000101011001111000=>
8acf
3.00000000110100000000000101011000
00000000110100000000000101011111=>
00d00158---00d0015f
Ⅵ
Fetchcycl
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 大连 交通大学 COA 考试 试题 答案