SASBASE123试题+答案详解

SASBASE123试题+答案详解

ID:36862341

大小:330.07 KB

页数:68页

时间:2019-05-16

SASBASE123试题+答案详解_第1页
SASBASE123试题+答案详解_第2页
SASBASE123试题+答案详解_第3页
SASBASE123试题+答案详解_第4页
SASBASE123试题+答案详解_第5页
资源描述:

《SASBASE123试题+答案详解》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、A00-201QUESTION1InthefollowingSASprogram,theinputdatafilesaresortedbytheNAMESvariable:libnametemp'SAS-data-library';datatemp.sales;mergetemp.saleswork.receipt;bynames;run;Whichoneofthefollowingresultsoccurswhenthisprogramissubmitted?A.Theprogramexecutessuc

2、cessfullyandatemporarySASdatasetiscreated.B.TheprogramexecutessuccessfullyandapermanentSASdatasetiscreated.C.TheprogramfailsexecutionbecausethesameSASdatasetisreferencedforbothreadandwriteoperations.D.TheprogramfailsexecutionbecausetheSASdatasetsontheMERGE

3、statementareintwodifferentlibraries.Answer:BQUESTION2WhenthefollowingSASprogramissubmitted,thedatasetSASDATA.PRDSALEScontains5000observations:libnamesastemp'SAS-data-library';optionsobs=500;procprintdata=sasdata.prdsales(firsttobs=100);run;optionsobs=max;p

4、rocmeansdata=sasdata.prdsales(firsttobs=500);run;Howmanyobservationsareprocessedbyeachprocedure?A.400forPROCPRINT4500forPROCMEANSB.401forPROCPRINT4501forPROCMEANSC.401forPROCPRINT4500forPROCMEANSD.500forPROCPRINT5000forPROCMEANSAnswer:BQUESTION3Thefollowin

5、gSASprogramissubmitted:Actualtests.com-ThePowerofKnowingA00-201datawork.new;lengthword$7;amount=7;ifamount=5thenword='CAT';elseifamount=7thenword='DOG';elsework='NONE!!!';amount=5;run;WhichoneofthefollowingrepresentsthevaluesoftheAMOUNTandWORDvariables?A.a

6、mountword5DOGB.amountword5CATC.amountword7DOGD.amountword7''(missingcharactervalue)Answer:AQUESTION4WhichoneofthefollowingistrueoftheSUMstatementinaSASDATAstepprogram?A.ItisonlyvalidinconjunctionwithaSUMfunction.B.ItisnotvalidwiththeSET,MERGEandUPDATEstate

7、ments.C.Itaddsthevalueofanexpressiontoanaccumulatorvariableandignoresmissingvalues.D.ItdoesnotretaintheaccumulatorvariablevaluefromoneiterationoftheSASDATAsteptothenext.Answer:CQUESTION5ThefollowingSASprogramissubmitted:datawork.sets;dountil(prodgt6);prod+

8、1;end;run;WhichoneofthefollowingisthevalueofthevariablePRODintheoutputdataset?A.5B.6Actualtests.com-ThePowerofKnowingA00-201C.7D.8Answer:CQUESTION6ThefollowingSASprogramissubmitted:procprintdata=sasuser.house

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。