77范文网 - 专业文章范例文档资料分享平台

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

来源:网络收集 时间:2020-06-03 下载这篇文档 手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:或QQ: 处理(尽可能给您提供完整文档),感谢您的支持与谅解。点击这里给我发消息

------ Chang Lauren

Which SQL set operator completes the program and generates the desired output?

A.

intersect corr

B. except

C. intersect

D.

left except

Item 47 of 63 Mark item for review

The following SAS program is submitted:

%macro execute;

[_insert_statement_here_]

proc print data=SASUSER.HOUSES; run; %end; %mend execute; %execute

Which statement completes the program so that the PROC PRINT step executes on Thursday?

A.

if &sysday = Thursday then %do;

B.

%if &sysday = Thursday %then %do;

C.

%if \

D.

%if &sysday = \

Item 48 of 63 Mark item for review

Given the following program and data:

data WORK.BDAYINFO; infile datalines;

input Name $ Birthday : mmddyy10.; datalines;

Alan 11/15/1950 Barb 08/23/1966 Carl 09/01/1963 ; run;

%let Want=23AUG1966;

proc print data=WORK.BDAYINFO; [_insert_statement_] run;

What is the WHERE statement that successfully completes the PROC PRINT and selects the observation for Barb?

A.

where Birthday=&Want;

B.

where Birthday=\

C.

where Birthday=\

D.

where Birthday='&Want'd;

Item 49 of 63 Mark item for review

Which macro statement would remove the macro variable Mv_Info from the symbol table?

A.

%mdelete &Mv_Info;

B.

%symerase Mv_Info;

C.

%symdel &Mv_Info;

D.

%symdel Mv_Info;

Item 50 of 63 Mark item for review

The table WORK.PILOTS contains the following data:

Id Name Jobcode Salary --- ------ ------- ------ 001 Albert PT1 50000 002 Brenda PT1 70000 003 Carl PT1 60000 004 Donna PT2 80000 005 Edward PT2 90000 006 Flora PT3 100000

A query was constructed to display the pilot salary means at each level of Jobcode and the difference to

the overall mean salary:

Jobcode Average Difference ------------------------------ PT1 60000 -15000 PT2 85000 10000 PT3 100000 25000

Which select statement could NOT have produced this output?

A. select

Jobcode,

avg(Salary) as Average,

calculated Average - Overall as difference from

WORK.PILOTS,

(select avg(Salary) as Overall from WORK.PILOTS) group by jobcode ;

B. select

Jobcode,

avg(Salary) as Average,

(select avg(Salary) from WORK.PILOTS) as Overall, calculated Average - Overall as Difference from WORK.PILOTS group by 1 ;

C. select

Jobcode, Average,

Average-Overall as Difference from

(select Jobcode, avg(Salary) as Average from WORK.PILOTS group by 1),

(select avg(Salary) as Overall from WORK.PILOTS)

;

D. select

Jobcode,

avg(Salary) as Average,

calculated Average-(select avg(Salary) from WORK.PILOTS) as Difference from WORK.PILOTS group by 1 ;

Item 51 of 63 Mark item for review

The SAS data set WORK.TEMP is indexed on the variable Id:

Id Amount -- ------ P 52 P 45 A 13 A 56 R 34 R 12 R 78

The following SAS program is submitted:

proc print data=WORK.TEMP; [_insert_BY_statement_] run;

Which BY statement completes the program, creates a listing report that is grouped by Id, and completes without errors?

A. by Id;

百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说教育文库SAS ADVANCE(63题,无答案版,适合独立练习使用)(10)在线全文阅读。

SAS ADVANCE(63题,无答案版,适合独立练习使用)(10).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印 下载失败或者文档不完整,请联系客服人员解决!
本文链接:https://www.77cn.com.cn/wenku/jiaoyu/1085629.html(转载请注明文章来源)
Copyright © 2008-2022 免费范文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ: 邮箱:tiandhx2@hotmail.com
苏ICP备16052595号-18
× 注册会员免费下载(下载后可以自由复制和排版)
注册会员下载
全站内容免费自由复制
注册会员下载
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: