When attempting to minimize memory usage, the
most efficient way to do group processing when
using the MEANS procedure is to use:
A.
the BY statement.
B.
GROUPBY with the NOTSORTED specification.
C.
the CLASS statement.
D.
multiple WHERE statements.
个人认为因该是选A,理由为, 但是看到有的答案选C,请指教!
A quick rule of thumb for the space
required to run PROC SORT is:
A.
two times the size of the SAS data set being sorted.
B.
three times the size of the SAS data set being sorted.
C.
four times the size of the SAS data set being sorted.
D.
five times the size of the SAS data set being sorted.
SAS pre guid 中有描述:
The SORT procedure is one technique that can be used to group or order data.
However, the SORT procedure can use a high volume of resources. When an
uncompressed data file is sorted using the SORT procedure, SAS requires enough space
in the data library for two copies of the data file, plus a workspace that is
approximately two to four times the size of the data file.
题中所言的the space
required to run 与 workspace 的含义是一致的吗? 如果是的话,在SAS9.1
以后的本版中就应该是2倍的,如果值得是全部的话,就应该是4倍的?
The following SAS program is submitted:
data WORK.TEMP;
length A B 3 X;
infile RAWDATA;
input A B X;
run;
What is the length of variable A?
A.
3
B.
8
C.
WORK.TEMP is not created - X has an invalid length.
D.
Unknown.
通过程序验证,应该是C, 但是有参考答案为A,请指教
Given the following macro program:
%macro MAKEPGM(NEWNAME, SETNAME, PRINT);
data &NEWNAME;
set &SETNAME;
run;
%if &PRINT=YES %then %do;
proc print data=&NEWNAME.(obs=10);
run ;
%end;
%mend;
Which option would provide feedback in the
log about the parameter values passed into
this macro when invoked?
A.
MPRINT
B.
MDEBUG
C.
MLOGIC
D.
MPARAM
个人认为应该选A, 但有参考答案为C,请指导
不胜感激!



雷达卡




京公网安备 11010802022788号







