楼主: qt600
2691 3

[SAS] [求助]请教一道Base SAS题目 [推广有奖]

  • 0关注
  • 1粉丝

已卖:2704份资源

本科生

83%

还不是VIP/贵宾

-

威望
0 级
论坛币
5641 个
通用积分
0.9701
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
1143 点
帖子
98
精华
0
在线时间
77 小时
注册时间
2007-2-25
最后登录
2023-9-11

楼主
qt600 发表于 2007-3-19 03:30:00 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
<DIV class=Section1>
<P  align=left>The following SAS program is submitted:</P>
<P  align=left>data work.new;<o:p></o:p></P></DIV>
<DIV class=Section3>
<P  align=left>length word $7;<o:p></o:p></P>
<P  align=left>amount = 7;<o:p></o:p></P>
<P  align=left>if amount = 5 then word = 'CAT'; <o:p></o:p></P>
<P  align=left>else if amount = 7 then word = 'DOG'; <o:p></o:p></P>
<P  align=left>else work = 'NONE!!!';<o:p></o:p></P>
<P  align=left>amount = 5;<o:p></o:p></P>
<P  align=left>run;<o:p></o:p></P><BR  clear=all>
<P  align=left> </P></DIV><BR  clear=all>
<P  align=left>Which one of the following represents the values of the AMOUNT and WORD<o:p></o:p></P>
<P  align=left>variables? <o:p></o:p></P>
<P  align=left><o:p> </o:p></P>
<P  align=left>A. amount word<o:p></o:p></P>
<P  align=left>     5           DOG<o:p></o:p></P>
<P  align=left>B. amount word<o:p></o:p></P>
<P  align=left>     5          CAT<o:p></o:p></P>
<P  align=left>C. amount word<o:p></o:p></P>
<P  align=left>     7           DOG<o:p></o:p></P>
<P  align=left>D. amount word<o:p></o:p></P>
<P  align=left>     7           ' ' (missing character value)</P>
<P  align=left> </P>
<P  align=left><o:p>为何选A? </o:p></P>
二维码

扫码加我 拉你入群

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

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

关键词:Base represents following Character represent 求助 请教 题目 SAS Base

沙发
Vulpecula 发表于 2007-3-19 07:16:00
<P>第五行:“else if amount = 7 then word = 'DOG'; ”使得WORD=DOG;</P>
<P>第七行:“amount = 5;”使得AMOUNT=5,判断结束后重新赋值。</P>

藤椅
sumc 发表于 2007-3-19 09:15:00
data步是按照语句顺序执行的.

板凳
qt600 发表于 2007-3-19 12:23:00
多谢多谢。

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

客服
GMT+8, 2026-12-6 08:37