SAS ADVANCE(63题,无答案版,适合独立练习使用)(5)

2025-09-14

B.

by Id grouped;

C.

by Id descending;

D.

by descending Id;

Item 52 of 63 Mark item for review

To create a dataset with unique values of a given varible using a data step and the FIRST. and LAST. varaibales, it is assumed that the input dataset is:

A.

sorted on that variable.

B.

indexed by that variable.

C.

naturally in order.

D.

any of the above A, B, or C

Item 53 of 63 Mark item for review

The SASFILE statement requests that a SAS data set be opened and loaded into memory:

A.

one page at a time.

B.

one variable at a time.

C.

one observation at a time.

D.

in its entirety, if possible.

Item 54 of 63 Mark item for review

The following SAS program is submitted:

%let Name1=Shoes; %let Name2=Clothes; %let Root=name; %let Suffix=2;

%put &&&Root&Suffix;

What is written to the SAS log?

A. &Name2

B. Clothes

C.

&&&Root&Suffix

D.

WARNING: Apparent symbolic reference ROOT2 not resolved.

Item 55 of 63 Mark item for review

Given the SAS data sets:

WORK.ONE WORK.TWO

Year Qtr Budget Year Qtr Sales ---- --- ------ ---- --- ----- 2001 3 500 2001 4 300 2001 4 400 2002 1 600 2003 1 350

The following SAS program is submitted:

proc sql; select TWO.*, budget from WORK.ONE

[_insert_join_operator_] WORK.TWO

on ONE.Year=TWO.Year ; quit;

The following output is desired:

Year Qtr Sales Budget ---- --- ----- ------ 2001 4 300 500 2001 4 300 400 2002 1 600 . . . . 350

Which join operator completes the program and generates the desired output?

A. left join

B. right join

C. full join

D. outer join

Item 56 of 63 Mark item for review

The SAS data set WORK.ADDRESSES contains the email addresses of The XYZ Corporation's customers in a variable named Email_Address. The following DATA step is submitted:

data _null_;

set WORK.ADDRESSES; [_insert_statement_]

put \ put \ put \

put \ put \ put \ put \

put \ put \ run;

Which statement completes the program and creates a SAS program file?

A.

infile \

B.

output \

C.

file \

D.

None of the above.

Item 57 of 63 Mark item for review

Which of the following is true about the COMPRESS=YES data set option?

A.

It uses the Ross Data Compression method to compress numeric data.

B.

It is most effective with character data that contains repeated characters.

C.

It is most effective with numeric data that represents large numeric values.

D.

It is most effective with character data that

contains patterns, rather than simple repetitions.

Item 58 of 63 Mark item for review

Given the SAS dataset WORK.ONE:

Salary ------ 200 205 . 523


SAS ADVANCE(63题,无答案版,适合独立练习使用)(5).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:线切割复习题

相关阅读
本类排行
× 游客快捷下载通道(下载后可以自由复制和排版)

下载本文档需要支付 7

支付方式:

开通VIP包月会员 特价:29元/月

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:xuecool-com QQ:370150219