SAS Base, A00-211 Crambible 

SAS 베이스 자격증 


QUESTION NO: 53

The following SAS program is submitted: 


data work.test;
array items{3} _temporary_;  오류입니다. 아래처럼 바꿔주세요. 

array items{3} _temporary_(1, 2, 3);
run;


What are the names of the variable(s) in the WORKTEST data set?


A. ITEMS
B. ITEMS1, ITEMS2, ITEMS3
C. No variables are created because it is a temporary array. 

D. The program fails to execute because there are no variables listed on the ARRAY statement.


items라는 이름을 가진 길이 3의 array를 만들려고 하는데요. 이를 _temporary_ 이렇게 임시적으로 할당을 합니다. 즉 데이터에 출력이 안됩니다. 그냥 중간 계산 용도로만 필요해서 이를 사용하게 됩니다. 


Answer: C 



반응형

+ Recent posts