a**********9 发帖数: 491 | 1 29.The following SAS program is sumbitted:
data WORK.INF0;
infile 'DATAFILE,TXT';
input @ I Company $20. @25 State $2. @;
if State=' ' then input @30 Year;
else input 4330 City Year;
input NumErnpIoyees;
run ;
How many raw data records are read during each iteration of the DATA step?
A 1
B 2
C 3
D 4
Answer: A
我怎么觉得应该是2呢,因为year 后面没有 @ 啊。 |
a********0 发帖数: 81 | 2 同问这道题!
我也觉得是B。我的理解是company和state两个raw data records……
是不是这样呢?
菜鸟画圈圈中…… |
t******1 发帖数: 1263 | 3 我怎么觉得是 3: company, state, year.是一个 iteration of the DATA step |
S********s 发帖数: 42 | 4 我也觉得答案是b, The first input statement read on record and second input
statement read another record. The two input statements read two record into
one observation during one data step. |
y******8 发帖数: 171 | |