预览加载中,请您耐心等待几秒...
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

亲,该文档总共48页,到这已经超出免费预览范围,如果喜欢就直接下载吧~

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

MultipleChoiceQuiz21分数:8/8Whichofthefollowingcouldberepresentedbyonebitofinformation?选择一个答案a.thepositionofalightswitchb.anASCIIcharacterc.thecolorofasinglepixelonatrue-colorcomputerdisplayd.thecurrentchannelofatelevisionreceiver正确这次提交的分数:8/8。Question2分数:8/8InC,whatisthefollowingbinarynumberinhexadecimal?11010101选择一个答案a.0xD5b.0xB5c.0xABd.0x5D正确这次提交的分数:8/8。Question3分数:8/8WhatisthevalueofthefollowingCexpression?0x1234^0x5432选择一个答案a.0x4606b.0x5636c.0x1030d.0x5434正确这次提交的分数:8/8。Question4分数:8/8WhatisthevalueofthefollowingCexpression?0x1234&0x5432选择一个答案a.0x1030b.0x1111c.0x5636d.0x6666正确这次提交的分数:8/8。Question5分数:8/8Howis46(decimal)representedinan8-bit2'scomplementbinaryformat?选择一个答案a.01000110b.00101100c.00101110d.00011110正确这次提交的分数:8/8。Question6分数:8/8Howis-10(decimal)representedinan8-bit2'scomplementbinaryformat?选择一个答案a.11111010b.11110101c.10001010d.11110110正确这次提交的分数:8/8。Question7分数:8/8Inacomputerwith4-bytewords,whichofthefollowingCexpressionstestswhetherptrcontainstheaddressofaword?I.(ptr&3)==0II.(ptr|3)==0III.(ptr%4)==0选择一个答案a.IIIonlyb.IIonlyc.Ionlyd.IandIIIonly正确这次提交的分数:8/8。Question8分数:8/8WhathappensinaCprogramwhenanadditionwouldcauseintegeroverflow?选择一个答案a.Thecorrectvalueiscoercedtoafloatingpointnumber.b.Anincorrectresultisproducedandexecutioncontinues.c.Anexception-handleriscalledwiththetwooperandsasparameters.d.Executionisterminated.正确这次提交的分数:8/8。Question9分数:8/8Whatisthepurposeoftheexponentinfloatingpointnumbers?选择一个答案a.tospecifythesuperscriptb.tospecifythebaseasbinary,octal,orhexadecimalc.themantissaisraisedtothepoweroftheexponentd.toindicatewherethedecimalorbinarypointshouldbe正确这次提交的分数:8/8。Question10分数:8/8Whichofthefollowingstatementsaboutfloating-pointnumbersinCistrue?I.Floating-pointnumbersareoftenonlyapproximationsofrealnumbers.II.A32-bitfloatonlyapproximatesdecimalfractions,buta64-bitdoublerepresentsthemexactly.III.Floating-pointnumberscanrepresentanyrationalrealnumberbutnotirrationals.选择一个答案a.IandIIIonlyb.IandIIonlyc.IIonlyd.Ionly正确这次提交的分数:8/8。Question11分数:8/8Which