全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
2358 2
2016-05-17

今天上午刚考完,100%的通过率,来和大家分享下

70题:

Q1:The following SAS program is submitted::

  data WORK.TOTAL;

     set WORK.SALARY;

     by Department Gender;

     if First.<_insert_code1_> then Payroll=0;

     Payroll+Wagerate;

     if Last.<_insert_code2_>;

  run;

The SAS data set WORK.SALARY is currently ordered by Gender within Department.题目让选择<_insert_code1_>、<_insert_code2_>分别选什么

    answer:Gender  Gender(其他答案忘记了。。)

Q3(原题)

Q5(原题)

Q6(原题)

Q7(原题)

Q9(将50.1改为50.5)

Q11(原题)

Q13(将Difcount1-Difcount3改为diff1-diff3)

Q16(原题)

Q17(原题)

Q18(选项C改为the _rror_ varible only expression in the data step 个人觉得这句话不对,但是答案选这个)

Q19(将where Num='1';改为where contains(1),答案还是选择no output)

Q20(原题)

Q21(将if sales GT 30;改为if sales GT 50)

Q22(原题)

Q24(原题)

Q27( 将by descending Month Day;改为by day descending month)

考到一个填空题,让对ascending expense within  ascending IDnumber,在by后面填空,另外分号已经给出,答案是IDnumber expense

Q28(原题)

Q30(原题)

Q31(原题)

Q32(原题)

Q35(将output改成else output other,答案是2 2 1)

Q36(题目中的日期换成22 5 2004这种格式,答案变为C)

Q37(原题)

Q40(将do while (prod le 6)改为do until(prod gt 6) )

Q42(将text=’Austrakia,,,,’改为’us-aus,,,,’,答案是5

Q45(原题)

Q46(原题)

Q51(原题)

Q52(原题)

Q56(原题)

Q58(原题)

Q60(将DROP=后面的变量改为两个,最后答案是3)

Q61(原题)

Q65(原题)

Q66(在第一个end后面加上output,答案是5)

Q69(原题)

问下面哪几种是有效地数据集名

test  _teat2  2test   test.2

答案是2

obs number

1 25

2 10

3 .

4 20

5 30

total=total+number,问最后的output

答案是:

obs number  total

1   25        .

2   10        .

3   .         .

4   20        .

5   30        .

123题:

Q7(原题)

Q11(原题)

Q34(原题)

Q55(考了这个题的知识点,但是具体题目记不清了)

Q64(原题)

还考了mean(of array{*});

还考了non-missing numeric variable values only used to calculate statistics in the means procedure

Q110(只是数字换了)

Q113(原题)

Q118(原题)

考了人口增长,在end前要加上output

考了split=’*’

cutoffyear=1970,year=(xx60),答案是2060


二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2016-8-27 10:41:47
谢谢楼主分享。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2017-7-31 12:23:54
楼主能分享一下资源嘛,感激不尽
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群