Item 31 of 63Mark item for review
Given the SAS data sets:
WORK.ONE WORK.TWO
X Y SumY
-- -- ----
A 10 36
A 3
A 14
B 9
The following SAS DATA step issubmitted:
data WORK.COMBINE;
if _n_=1 then set WORK.TWO;
set WORK.ONE;
run;
What data values are stored indata set WORK.COMBINE?
A.
An ERROR message is written to the SAS logand
the data set WORK.COMBINE is notcreated.
B.
SumY X Y
---- -- --
36 A 10
C.
SumY X Y
---- -- --
36 A 10
. A 3
. A 14
. B 9
D.
SumY X Y
---- -- --
36 A 10
36 A 3
36 A 14
36 B 9
这个为什么不是c啊?
Item 29 of 63 Mark item for review
The following program is submitted to check
the variables Xa, Xb, and Xc in the SASUSER.LOOK
data set:
data _null_ WORK.BAD_DATA /view=WORK.BAD_DATA ;
set SASUSER.LOOK(keep=Xa Xb Xc);
length _Check_ $ 10 ;
if Xa=. then_check_=trim(_Check_)!!" Xa" ;
if Xb=. then _check_=trim(_Check_)!!"Xb" ;
if Xc=. then_check_=trim(_Check_)!!" Xc" ;
put Xa= Xb= Xc= _check_= ;
run ;
When is the PUT statement executed?
A.
when the code is submitted
B.
only when the WORK.BAD_DATA view is used
C.
both when the code is submitted and the viewis used
D.
never, the use of _null_ in a view is a syntaxerror
这个在哪里看,为什么是b?
还有这个我也晕掉了
Item 27 of 63Mark item for review
Given the SAS data sets:
WORK.FIRST WORK.SECOND
Common X Common Y
------ -- ------ --
A 10 A 1
A 13 A 3
A 14 B 4
B 9 B 2
Thefollowing SAS program is submitted:
data WORK.COMBINE;
set WORK.FIRST;
set WORK.SECOND;
run;
What data values are stored in data
set WORK.COMBINE?
A.
Common X Y
------ -- --
A 10 1
A 13 3
B 14 4
B 9 2
B.
Common X Y
------ -- --
A 10 1
A 13 3
A 14 3
B 9 4
B 9 2
C.
Common X Y
------ -- --
A 10 1
A 13 3
A 14 .
B 9 4
B . 2
D.
Common X Y
------ -- --
A 10 1
A 13 1
A 14 1
A 10 3
A 13 3
A 14 3
B 9 4
B 9 2
A
为什么啊啊啊啊啊啊



雷达卡



京公网安备 11010802022788号







