SAS Base, A00-211 Crambible
SAS 베이스 자격증
QUESTION NO: 13
Given the following raw data record:
----I----10---I----20---I----30
son, Travis
The following output is desired:
Obs relation firstname
1 son Travis
Which SAS program correctly reads in the raw data?
A. data family (dIm = ','); infile 'tile specification'; input relation $ firstname $; run;
B. optionsdIm = ','; data family; infile 'file specification'; input relation $ firstname $; run;
C. data family;infile 'file specification' dIm = ','; input relation $ firstname $; run;
D. data family;infile 'file specification'; input relation $ firstname $ / dlm = ','; run;
son Travis는 raw 데이타를 가지고 있고요. infile 명령어를 통해 son Travis 라는 결과물을 갖고싶어 합니다.
a) data family (dlm = ','), b) optionsdlm , d) 문법이 맞지 않고요.
c)처럼 dlm은 infile 다음에 와야합니다.
data family;
infile 'file specification' dlm = ',' ;
input relation $ firstname $;
run;
Answer: C
'SAS > Base Programmer' 카테고리의 다른 글
[A00-211, Crambible] SAS Q15 (0) | 2017.05.23 |
---|---|
[A00-211, Crambible] SAS Q14 (0) | 2017.05.23 |
[A00-211, Crambible] SAS Q12 (0) | 2017.05.23 |
[A00-211, Crambible] SAS Q11 (0) | 2017.05.23 |
[A00-211, Crambible] SAS Q10 (0) | 2017.05.22 |