|
楼主

楼主 |
发表于 2008-11-19 22:58:53
|
只看该作者
Pass SAS advance
Hi I just passed the sas advance exam, and got 100
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!
Some of the problems that discussed in the forum did exist in the exam:
%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.
*/
A
#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
Choose C
#1
%let one=two;
%let two=three;
%let three=last;
what does &&&&&one resolve to?
A. one
B. two
C. three
D. last
B |
|