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

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

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

A.

SAS views can access the most current data in files that are frequently updated.

B.

SAS views can avoid storing a SAS copy of a large data file.

C.

SAS views can decrease programming time.

D.

both A and B are true

Item 18 of 63 Mark item for review

In what order does SAS search for format definitions by default?

A.

1. WORK.FORMATS 2. LIBRARY.FORMATS

B.

1. LIBRARY.FORMATS 2. WORK.FORMATS

C.

There is no default order,

it must be defined by the user.

D.

All user defined libraries that have a catalog named FORMATS, in alphabetic order.

Item 19 of 63 Mark item for review

Given the dataset WORK.STUDENTS:

Name Age ------- --- Mary 15 Philip 16 Robert 12 Ronald 15

The following SAS program is submitted:

%let Value=Philip;

proc print data=WORK.STUDENTS; [_insert_WHERE_statement_] run;

Which WHERE statement successfully completes the program and produces a report?

A.

where upcase(Name)=upcase(&Value);

B.

where upcase(Name)=%upcase(&Value);

C.

where upcase(Name)=\

D.

where upcase(Name)=\

Item 20 of 63 Mark item for review

The following SAS program is submitted:

data WORK.TEMP;

length A B 3 X; infile RAWDATA; input A B X; run;

What is the length of variable A?

A. 3

B. 8

C.

WORK.TEMP is not created - X has an invalid length.

D. Unknown.

Item 21 of 63 Mark item for review

The following SAS program is submitted:

data WORK.NEW;

do i=1, 2, 3;

Next=cats('March' || i ); infile XYZ filevar=Next end=Eof; do until (Eof);

input Dept $ Sales; end; end; run;

The purpose of the FILEVAR=option on the INFILE statement is to name the variable

Next, whose value:

A.

points to a new input file.

B.

is output to the SAS data set WORK.NEW.

C.

is an input SAS data set reference.

D.

points to an aggregate storage location.

Item 22 of 63 Mark item for review

Given the following partial SAS log:

NOTE: SQL table SASHELP.CLASS was created like:

create table SASHELP.CLASS( bufsize=4096 ) (

Name char(8), Sex char(1), Age num, Height num, Weight num );

Which SQL procedure statement generated this output?

A.

CONTENTS FROM SASHELP.CLASS;

B.

CREATE FROM SASHELP.CLASS INTO LOG;

C.

DESCRIBE TABLE SASHELP.CLASS;

D.

VALIDATE SELECT * FROM SASHELP.CLASS;

Item 23 of 63 Mark item for review

Given the SAS data set SASUSER.HIGHWAY:

Steering Seatbelt Speed Status Count -------- -------- ----- ------- ----- absent No 0-29 serious 31 absent No 0-29 not 1419 absent No 30-49 serious 191 absent no 30-49 not 2004 absent no 50+ serious 216

The following SAS program is submitted:

%macro SPLIT; proc sort

data=SASUSER.HIGHWAY

out=WORK.UNIQUES(keep=Status) nodupkey; by Status; run;

data _null_;

set uniques end=Lastobs;

call symputx('Status'||left(_n_),Status); if Lastobs then call symputx('Count',_n_); run;

%local i; data

%do i=1 %to &count; [_insert_reference_] %end; ;

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

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