나루다루

SAS BASE Q91. 오름차순/내림차순 정렬 본문

Study/SAS BASE

SAS BASE Q91. 오름차순/내림차순 정렬

나루다루 2018. 11. 3. 01:50
728x90
반응형

QUESTION NO: 91

The following program is submitted:

proc sort data=SASUSER.PROJECTS out=PSORT;

by Code descending Date Cost;

run;

 

Which of the following is true concerning the submitted program?

 

A. The descending option applies to the variable Code.

B. The variable Code is sorted by ascending order.

C. The PSORT data set is stored in the SASUSER library.

D. The descending option applies to the Date and Cost variables.

 

 

Answer: B





# 문제 풀이

 - A) code, cost에는 오름차순, date에는 내림차순이 적용


 - B) code는 오름차순 정렬


 - C) PSORT 데이터는 work 라이브러리에 저장 (임시 라이브러리)


 - D) descending 옵션은 date에만 적용

728x90
반응형

'Study > SAS BASE' 카테고리의 다른 글

SAS Base 시험 준비/합격 후기/복원 문제  (0) 2018.11.24
SAS BASE Q90. proc format / Q39 참조  (0) 2018.11.03
SAS BASE Q89. proc contents & _all_  (0) 2018.11.03
SAS BASE Q88. merge & in  (0) 2018.11.03
SAS BASE Q87. 날짜 변수  (0) 2018.11.03
Comments