s****4 发帖数: 8 | 1 I didn't have SAS to test the result. Thanks for your input.
Q1:
The following SAS program is submitted:
data WORK.DATE_INFO;
Day="01" ;
Yr=1960 ;
X=mdy(Day,01,Yr) ;
run;
What is the value of the variable X?
A.
the numeric value 0
B.
the character value "01011960"
C.
a missing value due to syntax errors
D.
the step will not compile because of
the character argument in the mdy function.
Q2:
The following SAS program is submitted:
data WORK.ACCOUN | s**********e 发帖数: 63 | 2 Copy and past to the SAS, you will know the answer! | D******6 发帖数: 6211 | 3 第一个答案是0。我在sas里run过了。
第二个应该是出错。。。
【在 s****4 的大作中提到】 : I didn't have SAS to test the result. Thanks for your input. : Q1: : The following SAS program is submitted: : data WORK.DATE_INFO; : Day="01" ; : Yr=1960 ; : X=mdy(Day,01,Yr) ; : run; : What is the value of the variable X? : A.
|
|