BookmarkSubscribeRSS Feed

SAS Certified Advanced Programmer 덤프3 풀이 1-3

Started ‎08-04-2020 by
Modified ‎08-04-2020 by
Views 374

 *AD dump3 파일로 첨부하였습니다.

 

#1.Which of the following statement(s) in the DATASETS procedure alters the name of a SAS data set stored in a SAS data library?

 

A. RENAME statement only
B. CHANGE statement only
C. MODIFY and RENAME statements
D. MODIFY and CHANGE statements

[정답] B

[풀이]

RENAME : 변수명(칼럼명)을 바꿈

CHANGE : 데이터 셋 이름 바꿈

MODIFY :  새로운 데이터 세트를 추가로 생성하지 않고 기존에 존재하는 sas 데이터 세트의 관측치에 대하여 대체, 삭제, 추가 작업 수행.  

 

2. The following SAS program is submitted: 

 

<insert statement here>; 

%let development = ontime; 

proc print data = sasuser.highway; 

title "For &dept"; 

title2 "This project was completed &development"; 

run;

 

Which one of the following statements completes the above and resolves title1 to "For research&development"?


A. %let dept = %str(research&development);
B. %let dept = %str(research%&development);
C. %let dept = %nrstr(research&development);
D. %let dept = %nrstr(research%&development);

 

[정답] C

[풀이]

%LET xxx = yyy;

> 매크로 xxx가 yyy로 출력되는 매크로를 생성합니다.

 

%STR: 특수문자를 포함한 문장을 macro변수로 할당시 세미콘론의 방해를 받지 않고 선언

%NRSTR: macro변수 사용시 &와 % 문자로 처리되나 NRSTR function 사용시 특수문자로 표현 가능

 

3.Which one of the following options controls the pagesize of a SAS data set?
 

A . SIZE=
B . BUFNO=
C . BUFSIZE=
D . PAGESIZE=

 

[정답] C

 

[풀이]

B) BUFNO=

Data Set의 옵션으로 특정한  Data Set buffers의 개수를 제어합니다.

System 옵션으로 모든 Data Set buffers의 개수를 제어합니다.

 

C) BUFSIZE=

Data Set 옵션으로, BUFSIZE= 특정한 Data Set output buffer size를 제어합니다.

System 옵션으로, BUFSIZE= 모든 Data Set output buffer size를 제어합니다.

 

D) PAGESIZE= 

출력문의 각 페이지에 얼마나 많은 행을 포함시킬지 명시합니다.

 

Version history
Last update:
‎08-04-2020 11:34 AM
Updated by:
Contributors

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

Article Labels
Article Tags