楼主: gujialuo
2711 1

[问答] SAS 123题 80题和81题 [推广有奖]

  • 0关注
  • 0粉丝

高中生

10%

还不是VIP/贵宾

-

威望
0
论坛币
76 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
215 点
帖子
9
精华
0
在线时间
28 小时
注册时间
2015-6-5
最后登录
2019-2-15

楼主
gujialuo 发表于 2017-8-27 09:06:21 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
题目是:
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?
                                
                        
              
二维码

扫码加我 拉你入群

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

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

关键词:represents Character represent Variable presents

沙发
yo_sun007 发表于 2022-7-6 21:48:07
我也想问

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-9 10:33