楼主: feng_2long
2188 1

Base 70里的第32题! 求解答 [推广有奖]

  • 0关注
  • 1粉丝

硕士生

13%

还不是VIP/贵宾

-

威望
0
论坛币
1026 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
5511 点
帖子
117
精华
0
在线时间
112 小时
注册时间
2010-1-7
最后登录
2020-8-13

2论坛币
32.Consider the following data step:

data WORK.NEW;
    set WORK.OLD;
    Count+1;
run;

The variable Count is created using a sum statement. Which statement regarding this variable is true?
     A. It is assigned a value 0 when the data step begins execution.
     B. It is assigned a value of missing when the data step begins execution.
     C. It is assigned a value 0 at compile time.
     D. It is assigned a value of missing at compile time.


为什么答案是C ???????


据我所知,compile阶段只是检查语句是否错误而已,并没有进行赋值的。只有在execution的阶段才开始赋值的吧???

关键词:Base 求解答 Data step EXECUTION statement execution following regarding assigned created
沙发
梵阿玲 发表于 2018-3-14 23:11:14 |只看作者 |坛友微信交流群
count在数据步的编译(compile)过程中,初始值就默认为0,且只能为0了。
已有 1 人评分论坛币 收起 理由
admin_kefu + 10 热心帮助其他会员

总评分: 论坛币 + 10   查看全部评分

使用道具

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

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-4-23 15:05