欢迎来到天天文库
浏览记录
ID:49769658
大小:756.19 KB
页数:11页
时间:2020-03-04
《sas base 70题新题.doc》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、71.WhichoneofthefollowingSASREPORTprocedureoptionscontrolshowcolumnheadingsaredisplayedovermultiplelines?a.SPACE=b.SPLIT=c.LABEL=d.BREAK=Answer:B72.WhichoneofthefollowingSASDATAstepssavesthetemporarydatasetnamedMYDATAasapermanentdataset?A.libnamesasdata'SAS-data-library';datasasd
2、ata.mydata;copymydata;run;B.libnamesasdata'SAS-data-library';datasasdata.mydata;keepmydata;run;C.libnamesasdata'SAS-data-library';datasasdata.mydata;savemydata;run;D.libnamesasdata'SAS-data-library';datasasdata.mydata;setmydata;run;Answer:D73.TheSASdatasetnamedCOMPANY.PRICESislis
3、tedbelow:COMPANY.PRICESprodidpriceproducttypesalesreturnsK12S5.10NETWORK152B132S2.34HARDWARE30010R18KY21.29SOFTWARE2553KL8BY6.37HARDWARE12515DY65DW5.60HARDWARE455DGTY234.55HARDWARE672ThefollowingSASprogramissubmitted:libnamecompany'SAS-data-library';datahwareintersoft;setcompany.
4、prices(keep=producttypeprice);ifpricele5.00;ifproducttype='HARDWARE'thenoutputHWARE;elseifproducttype='NETWORK'thenoutputINTER;elseifproducttype='SOFTWARE'thenoutputSOFT;run;HowmanyobservationsdoestheHWAREdatasetcontain?A.0B.2C.4D.6Answer:B74.ThefollowingSASprogramissubmitted:dat
5、awork.test;setwork.staff(keep=jansalesfebsalesmarsales);arraydiff_sales{3}difsales1-difsales3;A00-201Actualtests.com-ThePowerofKnowingarraymonthly{3}jansalesfebsalesmarsales;run;Whichoneofthefollowingrepresentsthenewvariablesthatarecreated?A.JANSALES,FEBSALESandMARSALESB.MONTHLY1
6、,MONTHLY2andMONTHLY3C.DIFSALES1,DIFSALES2andDIFSALES3D.DIFF_SALES1,DIFF_SALES2andDIFF_SALES3Answer:C75.ThefollowingSASDATAstepissubmitted:datawork.accountting;setwork.department;lengthjobcode$12;run;TheWORK.DEPARTMENTSASdatasetcontainsacharactervariablenamedJOBCODEwithalengthof5.
7、WhichoneofthefollowingisthelengthofthevariableJOBCODEintheoutputdataset?A.5B.8C.12D.Thelengthcannotbedeterminedastheprogramfailstoexecuteduetoerrors.Answer:A76.ThefollowingSASprogramissubmitted:procfreqdata=sales;run:Exhibit:outputfromtheFREQprocedure.W
8、hichoneofthefollowingstatementscompletes
此文档下载收益归作者所有