sas base programming for sas

sas base programming for sas

ID:6823318

大小:103.50 KB

页数:13页

时间:2018-01-27

sas base programming for sas_第1页
sas base programming for sas_第2页
sas base programming for sas_第3页
sas base programming for sas_第4页
sas base programming for sas_第5页
资源描述:

《sas base programming for sas》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库

1、SASBaseProgrammingforSAS9Item1Thefollowingprogramissubmitted.datatest;inputname$age;cards;John+35;run;Whichvaluesarestoredintheoutputdataset?A.nameage---------------------John35B.nameage---------------------John(missingvalue)C.nameage---------------------(missingvalue)(missin

2、gvalue)D.TheDATAstepfailsexecutionduetodataerrors.correct_answer="A"Item2ThefollowingobservationisstoredinaSASdatasetnamedEMPLOYEES:LNAMEFNAMEJOBCODE---------------------------------WhitleySamna1IftheDATAstepbelowisexecuted,whatwillbethevalueofthevariableJOBDESCintheoutputSAS

3、datasetwhenthisobservationisprocessed:datanavigate;setemployees;ifjobcode='NA1'thenjobdesc='Navigator';run;A.navigatorB.NavigatorC.NAVIGATORD.amissingvaluecorrect_answer="D"Item3ThefollowingSASprogramissubmitted:procformat;valuescore1-50='Fail'51-100='Pass';run;Whichoneofthef

4、ollowingPRINTprocedurestepscorrectlyappliestheformat?A.procprintdata=sasuser.class;vartest;formattestscore;run;B.procprintdata=sasuser.class;vartest;formattestscore.;run;C.procprintdata=sasuser.classformat=score;vartest;run;D.procprintdata=sasuser.classformat=score.;vartest;r

5、un;correct_answer="B"Item4GiventhefollowingDATAstep:dataloop;x=0;doindex=1to5by2;x=index;end;run;Uponcompletionofexecution,whatarethevaluesofthevariablesXandINDEXintheSASdatasetnamedLOOP?A.x=3,index=3B.x=3,index=4C.x=5,index=5D.x=5,index=6E.x=5,index=7correct_answer="E"Item5G

6、iventhatthedatasetnamedONEcontains10observationsandthedatasetnamedTWOcontains10observations,howmanyobservationswillbecontainedinthedatasetnamedCOMBINEthatiscreatedinthefollowingDATAstep?datacombine;setonetwo;run;A.10B.20C.0,theDATAstepwillfailduetosyntaxerrorsD.10to20,dependi

7、ngonhowmanyobservationsmatchcorrect_answer="B"SASAdvancedProgrammingforSAS9Item1GiventhefollowingSASdatasetsONEandTWO:ThefollowingSASprogramissubmitted:procsql;selectone.*,salesfromonerightjointwoonone.year=two.year;quit;Whichoneofthefollowingreportsisgenerated?A.B.C.D.correc

8、t_answer="D"Item2GiventhefollowingSASdatasetsONEandTWO:ThefollowingS

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

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

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