已阅读5页,还剩6页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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 permanent data set?A. libname sasdata SAS-data-library;data sasdata.mydata;copy mydata;run;B. libname sasdata SAS-data-library;data sasdata.mydata;keep mydata;run;C. libname sasdata SAS-data-library;data sasdata.mydata;save mydata;run;D. libname sasdata SAS-data-library;data sasdata.mydata;set mydata;run;Answer: D73. The SAS data set named COMPANY.PRICES is listed below:COMPANY.PRICESprodidprice 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 company.prices (keep = 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 submitted:data work.test;set work.staff (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 MONTHLY3C. DIFSALES1, DIFSALES2 and DIFSALES3D. DIFF_SALES1, DIFF_SALES2 and DIFF_SALES3Answer: C75. The following SAS DATA step is submitted:data work.accountting;set work.department;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 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 statements 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;column 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. PassC. 50.5D. . (missing numeric value)Answer: C78. The following SAS program is submitted:proc means data= sasuser .shoes;where product 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:libnamesasdata 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. Senior ChemistD. (missing character value)Answer: B80. The contents of the raw data file EMPLOYEE are listed below:-|-10-|-20-|-30Ruth 39 11Jose 32 22Sue 30 33John 40 44The following SAS program is submitted:data test;in file employee;input employee_ name $ 1-4;if employee_ name = Ruthh then input idnum 10-11;else input age 7-8;runWhich one of the following values does the variable IDNUM contain when the nameof the employee is Ruth?A. 11B. 22C. 32D. . (missing numeric value)Answer: B81. The following SAS program is submitted:data work.january;set work.allmonths (keep=product month num_sold cost);if month=janthen output work.january;sales=cost*num_sold;keep=product sales;run;Which variables does the WORK.JANUARY data set contain?A. PRODUCT and SALES onlyB. PRODUCT, MONTH, NUM_SOLD and COST onlyC. PRODUCT, SALES, MONTH, NUM_SOLD and COST onlyD. An incomplete output data set is created due to syntax errors.Answer: D82. The following SAS program is submitted:data work.totalsales;set work.monthlysales(keep=year product sales);retrain montnsales 12;array montnsales 12;doi=1 to 12;monthsalesi=sales;end;ent+1;monthsalesent=sales;run;The data set named WORK.MONTHLYSALES has one observation per month foreach of five years for a total of 60 observations.Which one of the following is the result of the above program?A. The program fails execution due to data errors.B. The program fails execution due to syntax errors.C. The program runs with warnings and creates the WORK.TOTALSALES data set with 60 observations.D. The program runs without errors or warnings and creates theWORK.TOTALSALES data set with 60 observations.Answer: B83. The following SAS program is submitted:data work.totalsales (keep=monthsales12);set work.monthlysales (keep=year product sales);srray monthsales 12;doi=1 to 12;monthsalesi=sales;end;run;The data set named WORK.MONTHLYSALES has one observation per month foreach of five years for a total of 60 observations.Which one of the following is the result of the above program?A. The program fails execution due to data errors.B. The program fails execution due to syntax errors.C. The program executes with warnings and creates the WORK.TOTALSALES data set.D. The program executes without errors or warnings and creates theWORK.TOTALSALES data set.Answer: B84. Which one of the following statements is true regarding the SAS automatic_ERROR_ variable?A. The _ERROR_ variable contains the values ON or OFF.B. The _ERROR_ variable contains the values TRUE or FALSE.C. The _ERROR_ variable is automatically stored in the resulting SAS data set.D. The _ERROR_ variable can be used in expressions or calculations in the DATA step.Answer: DNew Questions:85. data work.onelength var1 var2 12 (都是character类型的)set work.two (e.g. var1 length 5)format var1 20问最后one里var1 length是多少,应该是12, 由最开始的length决定86. 一个排序的问题by var1 desceding var2 var3问三个vars是怎么排序的应该是var1 var3 ascending,var2 descending87. 下面哪几种是有效的data set nameDATAWORK.one_testtest_2Test好像还有几个不记得了但是最后答案是一共4个有效88. 一个dataset,列出了所有的variab
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 腹部解剖图课件
- 健身房运动场所安全生产应急预案
- 2025年工商银行行长面试竞聘问题及答案
- 2026年工程监理行业现状与发展趋势分析
- 2026年甘肃张掖新闻记者职业资格考试(新闻基础知识)复习题库及答案
- 落实医疗质量安全核心制度专项行动实施方案
- 抢救应急预案演练脚本范文
- 2026光伏储能一体化系统市场供需分析与投资价值评估报告
- 2026保险科技在健康险领域的应用场景拓展分析报告
- 电信客户服务部高级顾问考核表
- 2026年井控考试题库及答案
- 电梯工程安装及后期保养合同三篇
- 2025年正高面审答辩正高面审答辩重症医学笔试参考题库附带答案详解
- 月子中心母婴营养餐专项承包协议
- 2026家族企业代际传承与治理结构优化咨询需求分析报告
- 工业网络和现场总线技术基础与案例
- 2026年生物技术农业创新报告
- 2026年公司年度人力资源成本分析报告
- 2025年浙银金租笔试真题及答案
- (一模)济南市2026届高三第一次模拟考试历史试卷(含答案)
- 健身中心合作方案
评论
0/150
提交评论