全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
2669 1
2017-08-27
题目是:
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?
                                
                        
              
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2022-7-6 21:48:07
我也想问
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群