全部版块 我的主页
› 论坛 › 数据科学 › 数据分析工具与软件(SAS、JMP等)
3434 8
2008-09-29
<div class="content">I just passed the SAS advanced programming exam last Saturday. Here are few things that I can share with everyone. Following are few exam questions I can only remember. They are not in the sample questions, which I got from this forum. Some descriptions of questions and options might not exactly be the same as the actual ones, but at least you guys can gain some idea.<br/><br/>1. In which situation, SELECT is more efficient than IF/THEN ELSE?<br/>A. In the small amount selected data which is randomly distributed for numeric variables.<br/>B. In the small amount selected data which is uniformly distributed for numeric variables.<br/>C. In the large amount selected data which is randomly distributed for character variables.<br/>D. In the large amount selected data which is uniformly distributed for character variables.<br/><br/>2. %LET VAR= WONDERFUL;<br/>%LET SAS= VAR<br/>%PUT &lt;INSERT A SAS STATEMENT HERE&gt;<br/>The %PUT statement generates "WONDERFUL" in the log, which following code is used for that?<br/>A. "&amp;&amp;&amp;SAS" <br/>B. """&amp;&amp;&amp;SAS""<br/>C. (I forget this one)<br/>D. %QUOTE(&amp;&amp;&amp;SAS)<br/><br/>3. %MACRO LOOP1 (INPUT);<br/>%LOOP2;<br/>%PUT DATE IS &amp;DATE;<br/>%MEND;<br/><br/>%MACRO LOOP2;<br/>CALL SYMPUT('DATE', '28SEP1998');<br/>%MEND;<br/><br/>%LET DATE=31DEC2006;<br/>%MACRO LOOP1(&amp;DATE)<br/><br/>What message is generated by %PUT?<br/><br/>A. DATE IS 31DEC2006 read from global symbol table.<br/>B. DATE IS 28SEP1998 read from local symbol table of LOOP1<br/>C. DATE IS 28SEP1998 read from local symbol table of LOOP2<br/>D. DATE IS 28SEP1998 read from global symbol table.<br/><br/>(There was another question which was almost the same as this one, but the location of %PUT was different.)<br/>(Therefore, we can see that understanding the global and local symbol tables are really important.)<br/><br/>4. sasuser.data contains variables FMTNAME, START, LABEL. What does the following statement do?<br/>PROC FORMAT CNTLIN=sasuser.data<br/>RUN;<br/>(I can barely remembere the options.)<br/><br/>5. %MACRO LOOP1;<br/>hight weight;<br/>%MEND;<br/><br/>%MACRO LOOP2;<br/>age race;<br/>%MEND;<br/><br/>Which one in the following options can correctly generate a report?<br/><br/>A. PROC PRINT DATA=sasuser.data;<br/>VAR %LOOP1 %LOOP2;<br/>RUN;<br/><br/>B. PROC PRINT DATA=sasuser.data;<br/>VAR %LOOP1 age;<br/>RUN;<br/><br/>C. PROC PRINT DATA=sasuser.data;<br/>VAR age %LOOP1;<br/>RUN;<br/><br/>D. PROC PRINT DATA=sasuser.data;<br/>VAR %LOOP1 %LOOP2 height;<br/>RUN;<br/><br/><br/><br/>GROUPFORMAT, NOTSORTED, HASH OBJECT, the purpose of using SASFILE are also in the exam.<br/>Don't even mention how important the different joins and vertical table combination techniques in PROC SQL are.<br/>Many exam questions are the same as those in the sample questions. <br/><br/>I hope you find these pieces of information helpful, and good luck to anyone who is preparing for the test.<br/><script type="text/javascript"></script><script src="https://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script><script></script></div>
二维码

扫码加我 拉你入群

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

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

全部回复
2009-2-17 08:43:00
谢谢
二维码

扫码加我 拉你入群

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

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

2009-2-18 05:01:00
xiexie
二维码

扫码加我 拉你入群

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

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

2009-2-18 10:48:00
谢了!
二维码

扫码加我 拉你入群

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

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

2009-2-18 11:03:00
thanks.
二维码

扫码加我 拉你入群

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

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

2011-3-29 03:28:09
谢谢了!谢谢了!
二维码

扫码加我 拉你入群

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

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

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

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