SAS 考题 123.doc

SAS 考题 123.doc

ID:48621107

大小:93.01 KB

页数:46页

时间:2020-01-30

SAS 考题 123.doc_第1页
SAS 考题 123.doc_第2页
SAS 考题 123.doc_第3页
SAS 考题 123.doc_第4页
SAS 考题 123.doc_第5页
资源描述:

《SAS 考题 123.doc》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、SAS考题123BaseSAS1ThefollowingSASprogramissubmitted:datatest;setsasuser.employees;if2leyears_servicele10thenamount=1000;elseifyears_servicegt10thenamount=2000;elseamount=0;amount_per_year=years_service/amount;run;WhichoneofthefollowingvaluesdoesthevariableA

2、MOUNT_PER_YEARcontainifanemployeehasbeenwiththecompanyforoneyear?A.0B.1000C.2000D..(missingnumericvalue)AnswerisD.BaseSAS2ThefollowingSASprogramissubmitted:datatest;setsasuser.employees;if2leyears_servicele10thenamount=1000;elseifyears_servicegt10thenamou

3、nt=2000;elseamount=0;amount_per_year=years_service/46amount;run;WhichoneofthefollowingvaluesdoesthevariableAMOUNT_PER_YEARcontainifanemployeehasbeenwiththecompanyforoneyear?A.0B.1000C.2000D..(missingnumericvalue)AnswerisB/D1ThefollowingSASprogramissubmitt

4、ed:datatest;setsasuser.employees;if2leyears_servicele10thenamount=1000;elseifyears_servicegt10thenamount=2000;elseamount=0;amount_per_year=years_service/amount;run;WhichoneofthefollowingvaluesdoesthevariableAMOUNT_PER_YEARcontainifanemployeehasbeenwiththe

5、companyforoneyear?A.0B.1000C.2000D..(missingnumericvalue)2ThecontentsoftherawdatafileAMOUNTarelistedbelow:--------10-------20-------30$1,234ThefollowingSASprogramissubmitted:datatest;infile'amount';input@1salary6.;if_error_thendescription='Problems';elsed

6、escription='NoProblems';run;WhichoneofthefollowingisthevalueoftheDESCRIPTIONvariable?A.ProblemsB.No46ProblemsC.''(missingcharactervalue)D.Thevaluecannotbedeterminedastheprogramfailstoexecuteduetoerrors.3ThecontentsoftherawdatafileNAMENUMarelistedbelow:---

7、-----10-------20-------30JoexxThefollowingSASprogramissubmitted:datatest;infile'namenum';inputname$number;run;WhichoneofthefollowingisthevalueoftheNUMBERvariable?A.xxB.JoeC..(missingnumericvalue)D.Thevaluecannotbedeterminedastheprogramfailstoexecuteduetoe

8、rrors.4ThecontentsoftherawdatafileNAMENUMarelistedbelow:--------10-------20-------30JoexxThefollowingSASprogramissubmitted:datatest;infile'namenum';inputname$number;run;WhichoneofthefollowingisthevalueoftheNUMBERvar

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

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

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