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
반응형
'SAS > Base Programmer' 카테고리의 다른 글
[A00-211, Crambible] SAS Q55 - WEEKDATE (0) | 2017.05.28 |
---|---|
[A00-211, Crambible] SAS Q54 - freq procedure - table 형태 (0) | 2017.05.28 |
[A00-211, Crambible] SAS Q52 - _null_ (0) | 2017.05.28 |
[A00-211, Crambible] SAS Q51 - ; (1) | 2017.05.28 |
[A00-211, Crambible] SAS Q50 - $ 문자형변수 (0) | 2017.05.28 |