1)The contents of the raw data file SIZE are listed below:
----|----10---|----20---|----30
72 95
The following SAS program is submitted:
data test;
infile 'size';
input@ 1 height 2. @ 4 weight 2;
run;
Which one of the following is the value of the variable WEIGHT in the output data set?
A. 2
B. 72
C. 95
D. . (missing numeric value)
answer:A
************************
2)The following SAS program is submitted:
data work.january;
set work.allmonths (keep=product month num_sold cost);
if month='jan'then output work.january;
sales=cost*num_sold;
keep=product sales;
run;
Which variables does the WORK.JANUARY data set contain?
A. PRODUCT and SALES only
B. PRODUCT, MONTH, NUM_SOLD and COST only
C. PRODUCT, SALES, MONTH, NUM_SOLD and COST only
D. An incomplete output data set is created due to syntax errors.
answer: D
小菜小谋,这两个题怎么得出这答案呢?
所有跟帖:
•
小谋看来是这次受惊受大了;小菜跟狗狗玩也不出来了.俺不等了。
-戏雨飞鹰-
♀
(0 bytes)
()
01/12/2010 postreply
20:56:27
•
幸亏准备睡觉前,我爬上来瞧了一眼,我试试哈
-veggiedoggie-
♀
(511 bytes)
()
01/12/2010 postreply
20:58:47
•
有点小错,自己纠正一下下
-veggiedoggie-
♀
(164 bytes)
()
01/12/2010 postreply
21:47:45
•
瑕不掩瑜,不能求全责备,u r good enough buddy!!
-撅着挺好-
♂
(0 bytes)
()
01/12/2010 postreply
21:52:55
•
菜菜,你比我们大学教授讲的都好,真的。
-戏雨飞鹰-
♀
(0 bytes)
()
01/13/2010 postreply
08:55:03
•
answer to 2
-veggiedoggie-
♀
(109 bytes)
()
01/12/2010 postreply
21:01:11
•
鹰姐,你还在吗?我等你一会儿,有事儿您说话。
-veggiedoggie-
♀
(0 bytes)
()
01/12/2010 postreply
21:02:45
•
我爱死你了,菜菜。你好牛啊!太高兴了,今天问题全解决了。
-戏雨飞鹰-
♀
(9 bytes)
()
01/12/2010 postreply
21:11:32
•
what about me?
-撅着挺好-
♂
(19 bytes)
()
01/12/2010 postreply
21:52:10
•
你靠边站先。猪都归你了,还打鹰的主意?给别人一点机会。。。
-如风网事-
♂
(0 bytes)
()
01/13/2010 postreply
10:10:41