没有合适的资源?快使用搜索试试~ 我知道了~
SAS Base programmer 认证考试官方模考题.pdf
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 3 下载量 156 浏览量
2022-02-11
22:06:34
上传
评论 1
收藏 283KB PDF 举报
温馨提示
试读
50页
SAS Base programmer 认证考试官方模考题.pdf
资源推荐
资源详情
资源评论
The SAS Base Programming Exam is property of SAS Institute Inc. ("SAS") and may not be copied or
disseminated without the prior written consent of SAS.
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other
countries. ® indicates USA registration. Other brand and product names are trademarks of their respective companies. Copyright © 2003 SAS Institute
Inc. Cary, NC, USA. All rights reserved.
SAS Certification: Base Programming Practice Exam
1
. A raw data file is listed below.
----|----10---|----20---|----30
son Frank 01/31/89
daughter June 12-25-87
brother Samuel 01/17/51
The following program is submitted using this file as input.
data work.family;
infile file-specification;
<insert INPUT statement here>
run;
Which INPUT statement correctly reads the values for the variable BIRTHDATE as SAS date values?
A. input relation $ first_name $ birthdate date9.;
B. input relation $ first_name $ birthdate mmddyy8.;
C. input relation $ first_name $ birthdate : date9.;
D. input relation $ first_name $ birthdate : mmddyy8.;
SAS Certification: Base Programming Practice Exam Page 2 of 50
2. The following SAS program is submitted:
data work.areacodes;
phonenumber = 3125551212;
code = '('!!substr(phonenumber,1,3)!!')';
run;
Which one of the following is the value of the variable CODE in the output data set?
A. ( 3)
B. (312)
C. 3
D. 312
SAS Certification: Base Programming Practice Exam Page 3 of 50
3. The contents of the SAS data set SASDATA.GROUP is listed below:
name age
Janice 10
Henri 11
Michele 11
Susan 12
The following SAS program is submitted using the SASDATA.GROUP data set as input:
libname sasdata 'SAS-data-library';
data group;
set sasdata.group;
file 'file-specification';
put name $15. @5 age 2.;
run;
Which one of the following describes the output created?
A. a raw data file only
B. a SAS data set named GROUP only
C. both a SAS data set named GROUP and a raw data file
D. Output is not created as the program fails to execute due to errors.
SAS Certification: Base Programming Practice Exam Page 4 of 50
4. Which of the following statements creates a numeric variable named IDNUMBER with a value of 4198?
A. idnumber = 4198;
B. idnumber = '4198';
C. length idnumber = 8;
D. length idnumber $ 8;
SAS Certification: Base Programming Practice Exam Page 5 of 50
5. Assume the SAS data set SASUSER.HOUSES contains four numeric variables.
The following SAS program is submitted:
proc means data = sasuser.houses mean;
<insert statement(s) here>
run;
The following report is produced:
The MEANS Procedure
Style
N
Obs
Variable
Mean
CONDO 4 bedrooms 2.7500000
baths 2.1250000
RANCH 4 bedrooms 2.2500000
baths 2.0000000
SPLIT 3 bedrooms 2.6666667
baths 1.8333333
TWOSTORY 4 bedrooms 3.0000000
baths 1.8750000
Which of the following generates the above report?
A. class style;
B. var bedrooms baths;
C. class style;
var bedrooms baths;
D. var style;
class bedrooms baths;
剩余49页未读,继续阅读
资源评论
- 半夏微凉%2022-04-25用户下载后在一定时间内未进行评价,系统默认好评。
- m0_637821722022-05-18用户下载后在一定时间内未进行评价,系统默认好评。
年鉴汇
- 粉丝: 79
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功