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

SAS base 123 训练题 免费 - 图文

来源:用户分享 时间:2025/5/24 22:07:00 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

A00-201

The following SAS program is submitted and produces the first report: proc report data = sasuser.shoes nowd; column region subsidiary sales; define subsidiary / display; define region / group; define sales / sum; run;

Which one of the following corrects the program above to produce the second report shown in the exhibit?

A. Define the variable SUBSIDIARY with a SUM usage. B. Define the variable SUBSIDIARY with a GROUP usage. C. Define the variable SUBSIDIARY with an ORDER usage. D. Define the variable SUBSIDIARY with an ACROSS usage.

Answer: B

QUESTION 100

Which one of the following SAS system options prevents the page number from appearing on a report?

A. NONUM B. NOPAGE C. NONUMBER D. NOPAGENUM

Answer: C

QUESTION 101

The following SAS program is submitted: proc freq data=sales;

Actualtests.com - The Power of Knowing

A00-201

run:

Exhibit: output from the FREQ procedure.

Which one of the following statements completes the program and produces the output?

A. tables region product; B. tables region* product; C. tables product region; D. tables product region*;

Answer: B

QUESTION 102

Which one of the following SAS system options displays the time on a report?

A. TIME B. DATE C. TODAY D. DATETIME

Answer: B

QUESTION 103

The following SAS program is submitted: options pageno = 1;

Actualtests.com - The Power of Knowing

A00-201

proc prient data=sasuser. houses; run;

proc means data=sasuser .shoes; run;

The report created by the PRINT procedure step generates 5 pages of output. What is the page number on the first page of the report generated by the MEANS procedure step? A. 1 B. 2 C. 5 D. 6

Answer: D

QUESTION 104

The following SAS program is submitted: proc format;

value score 1 - 50 = 'Fail' 51-100='Pass'; run;

proc report data=work .courses nowd; column exam;

define exam / display format=score.; run;

The variable EXAM has a value of 50.5.

How will the EXAM variable value be displayed in the REPORT procedure output?

A. Fail B. Pass C. 50.5

D. . (missing numeric value)

Answer: C

QUESTION 105

The following SAS program is submitted: proc means data= sasuser .shoes;

where product in ('sandal' , 'Slipper' , 'Boot'); run;

Which one of the following ODS statements completes the program and sends the report to an HTML file? A. ods html = 'sales .html'; B. ods file='sales .html';

C. ods file html='sales .html';

Actualtests.com - The Power of Knowing

A00-201

D. ods html file='sales. html';

Answer: D

QUESTION 106

Which one of the following ODS statement options terminates output being written to an HTML file?

A. END B. QUIT C. STOP D. CLOSE

Answer: D

QUESTION 107

The following SAS program is submitted: libnamesasdata 'SAS-data-library'; data set;

set sasdata .chemists; if jobcode = 'chem3'

then description = 'Senior Chemist'; else description = 'Unknown'; run;

A value for the variable JOBCODE is listed below: JOBCODE CHEM3

Which one of the following values does the variable DESCRIPTION contain?

A. chem3 B. Unknown

C. Senior Chemist

D. ' ' (missing character value)

Answer: B

QUESTION 108

The following SAS program is submitted: libnamesasdata 'SAS-data-library'; data set;

set sasdata .chemists; if jobcode = 'Chem2'

then description = 'Senior Chemist'; else description = 'Unknown'; run;

A value for the variable JOBCODE is listed below:

Actualtests.com - The Power of Knowing

A00-201

JOBCODE chem2

Which one of the following values does the variable DESCRIPTION contain?

A. Chem2 B. Unknown

C. Senior Chemist

D. ' ' (missing character value)

Answer: B

QUESTION 109

The contents of the raw data file EMPLOYEE are listed below: ----|----10---|----20---|----30 Ruth 39 11 Jose 32 22 Sue 30 33 John 40 44

The following SAS program is submitted: data test;

in file' employee';

input employee_ name $ 1-4;

if employee_ name = 'Sue' then input age 7-8; else input idnum 10-11; run;

Which one of the following values does the variable AGE contain when the name of the employee is \

A. 30 B. 33 C. 40

D. . (missing numeric value)

Answer: C

QUESTION 110

The contents of the raw data file EMPLOYEE are listed below: ----|----10---|----20---|----30 Ruth 39 11 Jose 32 22 Sue 30 33 John 40 44

The following SAS program is submitted: data test;

in file' employee';

input employee_ name $ 1-4;

Actualtests.com - The Power of Knowing

搜索更多关于: SAS base 123 训练题 免费 - 图文 的文档
SAS base 123 训练题 免费 - 图文.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c2irp61vsj628mwx144to_10.html(转载请注明文章来源)
热门推荐
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top