题目是:
80
data work.month;
date = input('13mar2000', date9.);
run;
which one represents the type and length of the vatiable date:
A numeric, 8 bytes
B numeric, 9 bytes
答案A
81
data work.month;
date = input('13mar2000', date9.);
run;
which one represents the type and length of the vatiable date:
C character, 8 bytes
D character, 10 bytes
答案 D
解析如下
Q.80
A.
Date format is a numeric variable, which by default has a length of 8 bytes.
Q.81
D.
ddmmyy10. format is dd/mm/yyyy
PUT function converts a numeric variable to a character variable. So the date iswritten as 13/03/2000 (dd/mm/yyyy), which takes 10 btyes.
[size=12.000000pt]
问题是为什么80 不是B选项,同理81题的解析,日期格式为date 9,所以是byte9?