全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
1118 1
2016-06-20
123题库中的#54
The following SAS program is submitted:
data work.new;
length word $7;
amount = 4;
if amount=4 then word ='FOUR';
else if amount=7 then word ='SEVEN';
else word='NONE!!!';
amount=7;
run;

Which one of the following represents the values of the AMOUNT and WORD variables?
A. amount word
7  FOUR
B. amount word
7 SEVEN
C. amount word
4 FOUR
D. ' ' (missing character value)

为啥选A?  


二维码

扫码加我 拉你入群

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

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

全部回复
2016-6-21 03:35:47
第一个amount=4, 在执行If语句时,赋值word为FOUR;
RUN;前面的amount=7, 重新给amount 赋值为7.
所以选A
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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