注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
今天晚上在家刚刚考完sas advance。在地里找到了好多有用的资料,发一份自己的鸡精回馈地里,希望大家能帮忙加大米!
63题:
1.NO
2.Yes
3.Yes
4.Yes 变型题:给出into: GROUPS separated by ',' 选输出的text。选0-29,30-49,50+
5.No
6.No
7.No. Χ
8.NO. 1point3acres
9.Yes
10.Yes 变成11了,选2 ..
11.Yes 题目描述变了但是选项意思没变
12.No
13.Yes
14.Yes. .и
15.Yes 变型题,多了一个gruop by,选有两行的. check 1point3acres for more.
16.No. ----
17.No
18.No
19.No
20.No
21.Yes
22.NO. Χ
23.Yes
24.No.
25.Yes 变成(Belt=no),选2
26.No
27.Yes
28.No
29.No
30.Yes 变型题,貌似变成book了但是考点没变
31.No
32.No
33.No
34.No
35.No. ----
36.No. .и
37.Yes
38.Yes 变型题,10和4换了位置,答案变成result is 0
39.Yes 变型题,第一行变成了%let Mv= bicycles,选自行车
40.Yes
41.Yes
42.No
43.Yes 变型题,output变成Jones 100,选having<
44.Yes 考了一道dictionaly.columns的知识点,题目不太能记得了
45.Yes 2和3换了位置但是原理不变,选proc SORT with NODUPKEY和proc SQL
46.Yes 变型题名字变了,选except
47.Yes. Χ
48.No
49.Yes
50.No
51.No
52.No
53.No
54.Yes
55.Yes 变型题,选left join,鸡精中有详细描述. 1point3acres
56.No
57.No
58.Yes,变型题,变量名变成了但原理一样
59.No. 1point 3 acres
60.Yes,变成%MP_ONE(means) 选print only
61.No
62.Yes,变成!!!了但是答案不变
63.Yes,给出var Weight Height %COLS1,选output
填空题:
corr. 1point 3acres
_global_
first.model
鸡精题:
. .и
average of ... is 7
given a failed program, ask the reason of failure.
Proc sql;
select Jobcode, Salary, (select avg(Salary)
from WORK.PILOTS order by Jobcode) as Avg
from WORK.PILOTS order by ID;
quit;
Answer: Order By statement cannot be used inside of an in-line view
Two data sets
Work.One year sales 2001 800 2001 500 2003 700 . 1point3acres.com
Work.Two year profit 2001 100 2002 200
proc sql;
select sum(profit)
from one right join two on one.year=two.year; . From 1point 3acres bbs
quit;
what is the output: 400
given data set and macro program, choose missing correct code
call symputx(‘&Num’, California) . 1point 3acres
%let this_year=%substr(&sysdate9, 6);
%let next_year=&this_year+1;
%let check_year=%eval(&next_year<2016); %put two years after this year is &next_year+1; %put check_year is &check_year;
Assume system time is 01Jan2013, what is the output?
Answer:
two years after this year is 2013+1+1 check_year is 1
proc fcmp outlib=sasuser.funcs.trial; ... ..
endsub; . 1point3acres
options ____cmplib_____=sasuser.funcs; data null;
... run;
A compressed data set has 200,000 observations, 300 variables. We need 20% of character observations, what method can minimize computer resource usage?
A. If-then/Else clause B. Case
C. Where
D. ...
Answer: WHERE clause is more efficient,
A data set ahs 300,000 observations, 20 character variables, 50 numeric variables. We need 5 character variables and 7 numeric variables, which one is the most efficient:
A. Drop=option in data step
B. KEEP=option in data step
C. Keep =option in set statement D. Keep statement
Answer: Keep=option in set statement. With it the system only read the desired variables.
. 1point3acres
Array multi{1:2, 2}(1,2); Do i=1 to 2;
Do j=1 to 2; Output=multi{I,j};
What is the corresponding values of i, j, and output.
Answer:
A 2*2 multi-array, only two initial values, so the array is following . 1point 3acres
⎛1 2⎞ , that means ⎜⎝. .⎟⎠ . 1point3acres.com
i j output 111 122 21. 22.
新题:
which statement could report the page size:
Proc contents
Proc report
Proc print
Proc category
我不会懵的contents. ----
给出proc sql full join+coalesce() function选对应的data step
主要考了missing data的转换和data step中full join怎么写
我选的if eq. and (ina and inb)
我参考的资料:
https://www.1point3acres.com/bbs/thread-313614-1-1.html
https://www.1point3acres.com/bbs/thread-447140-1-1.html
https://www.1point3acres.com/bbs/thread-527049-1-1.html
..
Advance没有大家想象的难考,一般一周没都可以搞定的!祝大家逢考必过!
|