满打满算刷了2天半的题(这是由于拖延症。。。),不得不说70题太给力了,另外123题和机经也很重要!!!今天就碰到了很多之前机经帖里面的原题!!!万分感谢前人栽的树呐~~~
--------------------------------------------------------------------------------
以下是我今天碰到的题目~
70题考到部分:
Q3, Q4, Q5, Q6, Q10, Q11, Q13, Q15,Q16, Q17,Q20,
Q21变形:Sales GT 50;,
Q22, Q24, Q28, Q30,Q31, Q32,
Q33:换了variable名字而已,选unknown;
Q34,
Q35 变形 elseoutput,
选one:2 observation, two:2observation other:1observation,
Q36:月和日调换,选mmddyy10,
Q37,
Q42: 变形,知道find function用法,
Q46 变形,加了一个有missing value的variable,
Q51,
Q52变形 数据有点不同,
Q56变形:选项有点不同,但是选择结果一样,
Q57变形:选day()那个,
Q58, Q60,
Q62 变形 ods pdf file=” ”,
Q63, Q65,
Q66变形:
do year=1 to 7;
do month=1 to 12;
x+1;
end;
output;
end;
run;
我选的7.
Q67, Q69
其他题目:
1.label: split(*)
2. obs html file;
proc sort…;
proc print…;
run;
我选无法执行的选项,因为proc sort后面少了run
3. Thefollowing SAS program is submitted:
procformat;
valuescore 1 - 50 = 'Fail'
51-100='Pass';
run;
procreport data=work .courses nowd;
columnexam;
defineexam / display format=score.;
run;
Thevariable EXAM has a value of 50.5.
Howwill the EXAM variable value be displayed in the REPORT procedure output?
A.Fail
B.Pass
C.50.5
D. .(missing numeric value)
Answer: C
4. . 如下题目的变形,把html改成pdf了。
The following SAS program is submitted:
<insert ODS statement here>
proc means data= sasuser .shoes;
where product in ('sandal' , 'Slipper' , 'Boot');
run;
Which one of the following ODS statements completes theprogram and sends the
report to an HTML file?
A. ods html = 'sales .html';
B. ods file='sales .html';
C. ods file html='sales .html';
D. ods html file='sales. html';
选:D
5.如下题目的变形,把数据改了。
The contents of the raw data file EMPLOYEE are listedbelow:
----|----10---|----20---|----30
Ruth39 11
Jose32 22
Sue 30 33
John 40 44
The following SAS program is submitted:
data test;
infile' employee';
input employee_ name $ 1-4;
if employee_ name = 'Ruth' then input idnum 10-11;
else input age 7-8;
run
Which one of the following values does the variable IDNUMcontain when the name
of the employee is "Ruth"?
A. 11
B. 22
C. 32
D. . (missing numeric value)
Answer: B
6.proc sort…;by…;run 的填空题,填by idnum expenses
7.填空题:给了几个dataset的名字,问valid的,4个里面有2个
8. 其他机经里的题:四个选项中有两个是input( ),有两个是put( ),显然input( )是错的,于是在 put( ) 里面二选一:
A) put(date, date9., worddate20.)
B) put(date, worddate20.)
选B.