全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
2115 2
2008-11-19


#1
%let one=two;
%let two=three;
%let three=last;
what does &&&&&one resolve to?
A. one
B. two
C. three
D. last

#2
%macro doit();
data _null_;
<missing statement>
run;
%mend;
%doit;
which statement can replace the missing statement and create a global symbol?
A. CALL SYMPUT('x', 2);
B. CALL SYMPUT(2, 'x');
C. CALL SYMPUT('x', 2, 'G');
D. CALL SYMPUT(2, 'x', 'G');

#3 (not exact, just something similar to the following, there're only 2 distinct values for sex)
%macro doit();
proc sql noprint;
%let n=19;
select distinct sex into :sex1-:sex&n from sashelp.class;
%do i=1 %to &n;
proc print data=sashelp.class;
where sex="&&sex&i";
run;
%end;
%mend;
%end;
%doit

How many reports will be produced?
A. 0
B. 1
C. 2
D. 19

#4 (not exact)
%let word = blahblah;
how to display "blahblah" in a title?
A. "&word"
B. '"'&word'"'
C. ""&word""
D. "%quote(&word)"
This question itself is confusing. I had thought blahblah needs to be double quoted in the title and found no answer is appropriate. But now I think double quotes need not to be displayed.
*/

[此贴子已经被作者于2008-11-21 6:49:25编辑过]

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2008-11-21 06:48:00

I already passed that.

#1 b

#3 c

#4 a

I spent two months on the test, and read the sas online tutor for at least 4 times, and did all the problems that include in the online tutor.
Well, study hard, and do the 123 problems carefully, you will pass that too!

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2008-11-21 21:26:00
看看
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群