经管之家送您一份
应届毕业生专属福利!
求职就业群
感谢您参与论坛问题回答
经管之家送您两个论坛币!
+2 论坛币
<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 <INSERT A SAS STATEMENT HERE><br/>The %PUT statement generates "WONDERFUL" in the log, which following code is used for that?<br/>A. "&&&SAS" <br/>B. """&&&SAS""<br/>C. (I forget this one)<br/>D. %QUOTE(&&&SAS)<br/><br/>3. %MACRO LOOP1 (INPUT);<br/>%LOOP2;<br/>%PUT DATE IS &DATE;<br/>%MEND;<br/><br/>%MACRO LOOP2;<br/>CALL SYMPUT('DATE', '28SEP1998');<br/>%MEND;<br/><br/>%LET DATE=31DEC2006;<br/>%MACRO LOOP1(&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>
扫码加我 拉你入群
请注明:姓名-公司-职位
以便审核进群资格,未注明则拒绝
|