sas base 70题新题.doc
《sas base 70题新题.doc》由会员分享,可在线阅读,更多相关《sas base 70题新题.doc(12页珍藏版)》请在得力文库 - 分享文档赚钱的网站上搜索。
1、-作者xxxx-日期xxxxsas base 70题新题【精品文档】71.Which one of the following SAS REPORT procedure options controls how columnheadings are displayed over multiple lines?a. SPACE=b. SPLIT=c. LABEL=d. BREAK=Answer: B72. Which one of the following SAS DATA steps saves the temporary data set namedMYDATA as a permanen
2、t data set?A. libname sasdata SAS-data-library;data ;copy mydata;run;B. libname sasdata SAS-data-library;data ;keep mydata;run;C. libname sasdata SAS-data-library;data ;save mydata;run;D. libname sasdata SAS-data-library;data ;set mydata;run;Answer: D73. The SAS data set named COMPANY.PRICES is list
3、ed below:prodidprice producttype sales returnsK12S 5.10 NETWORK 15 2B132S 2.34 HARDWARE 300 10R18KY2 1.29 SOFTWARE 25 53KL8BY 6.37 HARDWARE 125 15DY65DW 5.60 HARDWARE 45 5DGTY23 4.55 HARDWARE 67 2The following SAS program is submitted:libnamecompany SAS-data-library;data hware inter soft;set (keep =
4、 producttype price);if price le 5.00;if producttype = HARDWARE then output HWARE;else if producttype = NETWORK then output INTER;else if producttype = SOFTWARE then output SOFT;run;How many observations does the HWARE data set contain?A. 0B. 2C. 4D. 6Answer: B74. The following SAS program is submitt
5、ed:data ;set (keep = jansales febsales marsales);array diff_sales3 difsales1 - difsales3;A00-201A - The Power of Knowingarray monthly3 jansales febsales marsales;run;Which one of the following represents the new variables that are created?A. JANSALES, FEBSALES and MARSALESB. MONTHLY1, MONTHLY2 and M
6、ONTHLY3C. DIFSALES1, DIFSALES2 and DIFSALES3D. DIFF_SALES1, DIFF_SALES2 and DIFF_SALES3Answer: C75. The following SAS DATA step is submitted:data ;set ;length jobcode$ 12;run;The WORK.DEPARTMENT SAS data set contains a character variable namedJOBCODE with a length of 5.Which one of the following is
7、the length of the variable JOBCODE in the outputdata set?A. 5B. 8C. 12D. The length can not be determined as the program fails to execute due to errors.Answer: A76. The following SAS program is submitted:proc freq data=sales;run:Exhibit: output from the FREQ procedure.Which one of the following stat
8、ements completes the program and produces theoutput?A. tables region product;B. tables region* product;C. tables product region;D. tables product region*;Answer: B77. The following SAS program is submitted:proc format;value score 1 - 50 = Fail51-100=Pass;run;proc report data=work .courses nowd;colum
9、n exam;define exam / display format=score.;run;The variable EXAM has a value of 50.5.How will the EXAM variable value be displayed in the REPORT procedure output?A. FailB. PassD. . (missing numeric value)Answer: C78. The following SAS program is submitted:proc means data= sasuser .shoes;where produc
10、t in (sandal , Slipper , Boot);run;Which one of the following ODS statements completes the program and sends thereport to an HTML file?A. ods html = sales .html;B. ods file=sales .html;C. ods file html=sales .html;D. ods html file=sales. html;Answer: D79. The following SAS program is submitted:libna
11、mesasdata SAS-data-library;data set;set sasdata .chemists;if jobcode = chem3then description = Senior Chemist;else description = Unknown;run;A value for the variable JOBCODE is listed below:JOBCODECHEM3Which one of the following values does the variable DESCRIPTION contain?A. chem3B. UnknownC. Senio
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- sas base 70题新题 70 题新题
限制150内