1 / 42
文档名称:

SAS-base-考试必备-70真题(附答案).docx

格式:docx   大小:57KB   页数:42页
下载后只包含 1 个 DOCX 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

SAS-base-考试必备-70真题(附答案).docx

上传人:温柔的兰花 2022/1/25 文件大小:57 KB

下载得到文件列表

SAS-base-考试必备-70真题(附答案).docx

相关文档

文档介绍

文档介绍:following SAS program is submitted:
data ;
set ;
by Department Gender;
if First$;
else if Month='MAR' then input Week1 Week2 Week3 Week4 Week5 Status $; format Week1-Week5 dollar6.;
run;
proc print data=;
run;
D.
data ;
length Name $ 4 Month $ 3 Status $ 7;
infile '' dsd @;
input Name $ Month $;
if Month='FEB' then input Week1 Week2 Week3 Week4 Status $;
else if Month='MAR' then input Week1 Week2 Week3 Week4 Week5 Status $; format Week1-Week5 dollar6.;
run;
proc print data=;
run;
Answer: C
-------------------------------------
Excel workbook contains the following four worksheets:
EAST
WEST
NORTH
SOUTH
The following program is submitted:
libname MYXLS '';
Which PROC PRINT step correctly displays the NORTH worksheet?
A. proc print data=;run;
B. proc print data=$;run;
C. proc print data=MYXLS.'NORTH'e;run;
D. proc print data=MYXLS.'NORTH$'n;run;
Answer: D
-------------------------------------
following SAS program is submitted:
data ;
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.
Answer: A
-------------------------------------
statement specifies that records 1 through 10 are to be read from the raw data file ?
A. infile '' 1-10;
B. input '' ******@10;
C. infile '' obs=10;
D. input '' stop=10;
Answer: C
-------------------------------------
a SAS program is submitted, the following is written to the SAS log:
data ;
set WOR