昨天刚考完。白天工作忙,晚上偶尔加班,主要复习准备是用业余时间。分享给大家,顺便希望赚点论坛币
感觉70题看熟了肯定能过。我昨天的情况就是考题以70题为主,123题考到一题。70题里面偶有变形题,偶有新题。注意选项ABCD顺序和题库比,经常有变化。
1、一个数据集,告诉你某个变量长度为10,然后先用length定义为15,再用format 设为20,问最终输出的长度
2、library的命名规范,下面几个哪些是符合规范的library命名
记得两个选项是
WORK.ONE
DATA
还有其他一些,记不得了。注意字母和下划线开头,字母、下划线、数字组成的才是符合规范的命名
3、if _N_=1 then total=xx+xxxx
xx和xxxx都是之前input后面读入的,total一开始retain 为0,后面就是这个if语句,最后问输出结果
4、这题之前看到其他帖子介绍了,是个新提。于是背答案了。
四个选项中有两个是 input( ),有两个是put( ),显然input( )是错的,于是在 put( ) 里面二选一:
A) put(date, date9., worddate20.)
B) put(date, worddate20.)
B为正确答案。
5、yearcutoff=1970
理解yearcutoff的意义即可。题目中60必须是1970之后,我选2060年
6、其他帖子也见过的新题
label split=
we want to wrap the label AAAA*BBBB,选哪个?
A) wrap='*'
B) split='*'
C) labelwrap='*'
D) label='*'
B为正确答案
7、123题中的某题
The contents of the raw data file EMPLOYEE are listed below:
----|----10---|----20---|----30
Ruth 39 11
Jose 32 22
Sue 30 33
John 40 44
The 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;
run
Which one of the following values does the variable IDNUM contain when the name
of the employee is "Ruth"?
A. 11
B. 22
C. 32
D. . (missing numeric value)
Answer: B
8、
array items{3} _TEMPORARY_
选项是
ITEMS1,ITEMS2,ITEMS3
ITEMS_1,ITEMS_2,ITEMS_3
_TEMPORARY_1,_TEMPORARY_2,_TEMPORARY_3
这题我不大确定
最后祝后来参加考试的好运!
我去准备adv的了,哈哈