BookmarkSubscribeRSS Feed

SAS Ceritified Advanced Programmer 덤프 풀이 38-40

Started ‎06-15-2020 by
Modified ‎06-15-2020 by
Views 151

38. The SAS data set WORK.TEMPDATA contains the variables FMTNAME, START and LABEL and it

consists of 10 observations. The following SAS program is submitted:

Proc format cntlin=work.tempdata;

Run;

What is the result of submitting the FORMAT procedure step?

A. It uses the WORK.TEMPDATA SAS data set as input to create the format

B. All formats created will be stored in two WORK.TEMPDATA SAS data set

C. An ERROR message is written to the SAS log because the program is incomplete

D. NO formats are created in this step

정답 : A

해설 : Proc format에 대한 문제입니다. PROC FORMAT은 데이터 셋을 불러와 그대로 format형식에 적용시키는 기능이 있습니다. "CNTLIN=" 이라는 옵션을 사용해야 하구요, 이 옵션을 사용하면 데이터 셋 자체를 format 형성을 위한 입력값을 받아들입니다. (교재 594p 참고) 

 

 

 

39. Which SET statement option names a variable that contains the number of the observation to read during the current iteration of the DATA step?

A. NOBS=pointobs

B. OBS=pointobs

C. KEY=pointobs

D. POINT=pointobs

정답 : D

해설 : Compressed 데이터 셋에서, Point= 옵션은 직접 접근 기능을 제공합니다. 이 기능은 시스템이 실행중일때 개체에 Sequentially가 아닌 Directly하게 개체에 접근하여 CPU 시간을 절약해주는 역할을 합니다. 마치 인덱스와 비슷하죠. (교재 689p 참고)

 

 

 

40. Which SAS procedure changes the name of a permanent format for a variable stored in a SAS

data set?

A. DATASETS

B. MODIFY

C. FORMAT

D. REGISTRY

정답 : A

해설 : 문제에서 묻고자 하는 바는, format의 이름을 무엇으로 바꾸냐는 겁니다. Modify의 경우 인풋데이터와 아웃풋데이터가 동일해야하는 특징이 있습니다. 즉, 결과적으론 포맷 이름이 바뀌지 않습니다. PROC FORMAT의 경우는 포맷을 형성할 때 사용합니다. 정답은 "Datasets" 입니다. (교재 609 참고) 

Version history
Last update:
‎06-15-2020 04:10 AM
Updated by:
Contributors

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

Register now!

Article Labels
Article Tags