SAS Base, A00-211 Crambible, SAS 크램바이블

SAS 베이스 자격증, SAS 문제풀이 


NO: 145

The following SAS program is submitted: 


data work.month;
date = put('13mar2000'd,ddmmyy10.); 

run;


Which one of the following represents the type and length of the variable DATE in the output data set?


A. numeric, 8 bytes 

B. numeric, 10 bytes 

C. character, 8 bytes 

D. character, 10 bytes


put은 숫자를 문자로 

input은 문자를 숫자로 변환하는 명령어입니다. 


일단 put이 왔으니 문자로 변환이 되었으니까 character 중에 답이겠지요. 

데이타가 13/03/2000으로 표현되니까 10bytes가 됩니다. 


비슷한문제 144번 참고하세요!! 



Answer: D 


반응형

+ Recent posts