上周二考完,共62题, 全部是70题和变形+机经。至于机经,基本都被涵盖在米粮包内,(
https://bbs.pinggu.org/thread-4172814-1-1.html), 几条新题也在近期机经都能看到。
觉得下面这贴跟我考得基本一样的机经,我就不重复了,请看:
https://bbs.pinggu.org/thread-4695714-1-1.html
其中原po比较不确定的题,我的答案是:
1. 给了两个dataset的variable
ALLEMP
EmpID Character
Name Character
Salary Numeric
EMPLY
EmployeeID Character
Name Character
Salary Numeric
data newemployee;
set ALLEMP EMPLY;
Run;
然后说第一个dataset有50 个obs,第二个dataset有4个obs,问newemployee 有多少个variable, 我选4.
2. _N_, _ERROR_, 1001
算下来98%应该就错了1题,成绩单写是managing data 出错, 我感觉下来比较不确定的是这一题。
1. 给了一个程序,大概是这样的
data work.sales;
retain totalsales;
if _N_=1, then totalsales=0;
else totalsales=total1+total2;
然后我在下面两个选项犹豫了:
NAME sales1 sales2 totalsales
ADAM 50 5 0
LISA 25 7 32
LILY 30 5 35
NAME sales1 sales2 totalsales
ADAM 50 5 0
LISA 25 7 32
LILY 30 5 67
有SAS 在手边的可以run一下看看,我选了第1个,我觉得是不是就是错了。。。