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

2025-09-14

(select avg(Salary) from WORK.PILOTS

group by Jobcode) as Avg from WORK.PILOTS order by Id ;

D. select

Jobcode, Salary, Avg from

WORK.PILOTS, (select

Jobcode as Jc, avg(Salary) as Avg from WORK.PILOTS group by 1) where Jobcode=Jc order by Id ;

Item 7 of 63 Mark item for review

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.

Item 8 of 63 Mark item for review

Multi-threaded processing for PROC SORT will effect which of these system resources?

A.

CPU time will decrease,

wall clock time will decrease

B.

CPU time will increase,

wall clock time will decrease

C.

CPU time will decrease,

wall clock time will increase

D.

CPU time will increase, wall clock time will increase

Item 9 of 63 Mark item for review

Given the SAS data set WORK.TRANSACT:

Rep Cost Ship ----- ----- ----- SMITH 200 50 SMITH 400 20 JONES 100 10 SMITH 600 100 JONES 100 5

The following output is desired:

Rep

----- ---- JONES 105 SMITH 250

Which SQL statement was used?

A. select rep,

min(Cost+Ship)

from WORK.TRANSACT order by Rep ;

B. select Rep,

min(Cost,Ship) as Min from WORK.TRANSACT summary by Rep order by Rep ;

C. select Rep,

min(Cost,Ship)

from WORK.TRANSACT group by Rep order by Rep ;

D. select Rep,

min(Cost+Ship)

from WORK.TRANSACT group by Rep order by Rep ;

Item 10 of 63 Mark item for review

The following SAS program is submitted: %let Value=9; %let Add=5;

%let Newval=%eval(&Value/&Add); %put &Newval;

What is the value of the macro variable Newval when the %PUT statement executes?

A. 0.555

B. 2

C. 1.8

D. 1

Item 11 of 63 Mark item for review

The following SAS code is submitted:

data WORK.TEMP WORK.ERRORS / view=WORK.TEMP; infile RAWDATA; input Xa Xb Xc;

if Xa=. then output WORK.ERRORS; else output WORK.TEMP; run;

Which of the following is true of the WORK.ERRORS data set?

A.

The data set is created when the DATA step is submitted.

B.

The data set is created when the view TEMP is used in another SAS step.

C.

The data set is not created because the DATA statement contains a syntax error.

D.

The descriptor portion of WORK.ERRORS is created when the DATA step is submitted.

Item 12 of 63 Mark item for review

Which title statement would always display the current date?

A.

title \

B.

title \

C.

title \

D.

title \

Item 13 of 63 Mark item for review

Given the SAS data sets:

WORK.ONE WORK.TWO


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

下一篇:线切割复习题

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

下载本文档需要支付 7

支付方式:

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

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