热腾腾的JJ出炉,基本上都是70题里的和变种题,有几题记得很清楚,一定要跟大家分享,大家多翻一翻最近的JJ,我的是在他们的基础上没有人提过的:
1. 关于year cutoff那题, 我后面有d, 所以我选了missing没有选2060. 如果有人有不同意见欢迎讨论
yearcutoff=1970;
Date='01jan60'd;
Year=year(date);
2. 竟然记住全部了!鸡蛋没白吃
data test1;
set test2 end=eof;
input var1;
var1=eof;
run;
问var1值是多少? 答案1
3. 关于_ERROR_
如果选项里有The _ERROR_ variable can be used in expressions or calculations in the DATA step. 那么一定选这个
我遇到的不是的,是The _ERROR_ variable can only be used in expressions in the DATA step. 所以没选
选的类似这个 _ERROR_ signals the occurrence of an error that is caused by the data during execution. (这句是书上的)我的那个是有contain的。还有一个选项跟这个很像但是是maintain ,大家去翻翻书把定义巩固一下
4. 这题大家一定要记住! 要不上场看到死磕C跟D,像我一样
data WORK.NEW;
set WORK.OLD;
Count+1;
run;
The varaible Count is created using a sum statement. Which statement regarding this variable is
true?
A. It is assigned a value 0 when the data step begins execution.
B. It is assigned a value of missing when the data step begins execution.
C. It is assigned a value 0 at compile time.
D. It is assigned a value of missing at compile time.
Answer: C
好了,基本上就是这么多了,谢谢论坛的小伙伴的分享,马上继续准备考ADV. 请赐我力量与运气吧!大家的金币都要用在刀刃上,就不麻烦大家了,喜欢的就回个赞呗