本答案对应课程为:点我自动跳转查看
本课程起止时间为:2020-02-24到2020-06-27
本篇答案更新状态:已完结

1. SAS基础 第一周课堂练习

1、 问题:显示SAS程序运行状态的窗口是
选项:
A:Editor
B:Output
C:Log
D:Explorer
答案: 【Log

2、 问题:SAS程序的每条语句必须以( )符号结束。
选项:
A:逗号
B:分号
C:点句号
D:单引号
答案: 【分号

3、 问题:SAS数据集的种类有()。
选项:
A:临时数据集和永久数据集
B:目录
C:永久数据集
D:表
答案: 【临时数据集和永久数据集

4、 问题:Which is a valid LIBNAME statement?
选项:
A:libname  " SAS data_ library_location_”;
B:sasdata libname  " SAS data_ library_location_”;
C:libname  sasdata  " SAS data_ library_location_”;
D:libname  sasdata  sas  " SAS data_ library_location_”;
答案: 【libname  sasdata  " SAS data_ library_location_”;

5、 问题:SAS过程步由( )关键词引出。
选项:
A:DARA
B:PROC
C:CARDS
D:RUN
答案: 【PROC

2. SAS语言 第二周课堂练习

1、 问题:在使用DATA步建立SAS数据集时,对于缺失的数值型数据,在对应的位置应使用()表示缺失。
选项:
A:逗号
B:点句号
C:分号
D:问号
答案: 【点句号

2、 问题:在使用DATA步建立SAS数据集时,对于缺失的字符型数据,在对应的位置应使用()表示缺失。
选项:
A:空格
B:点句号(.)
C:井号(#)
D:星号(*)
答案: 【点句号(.)

3、 问题:在使用DATA步建立SAS数据集时,若数据行中含有分号,应()。
选项:
A:数据行前使用datalines,数据行后使用“;”
B:数据行前使用datalines,数据行后使用“;;;;”
C:数据行前使用datalines4,数据行后使用“;;;;”
D:数据行前使用datalines4,数据行后使用“;”
答案: 【数据行前使用datalines4,数据行后使用“;;;;”

4、 问题:当DATA步的DATALINES语句中的数据一行有多条观测时,用一条INPUT语句读入,INPUT语句必须加()。
选项:
A:#
B:@@
C:@
D:*
答案: 【@@

5、 问题:输入字符型变量必须在变量名后加()。
选项:
A:;
B:#
C:$
D:*
答案: 【$

2. SAS语言 第三周课堂练习

1、 问题:对日期型数据,在输入/输出时必须使用()语句才能按日期格式读入和显示。
选项:
A:Data/Informat
B:Format/Informat
C:Data Format
D:Informat/Format
答案: 【Informat/Format

2、 问题:假设变量x的值为5,有如一程序if x<5 thenx=x+3;elsex=x-2;则执行程序以后变量x的值为
选项:
A:5
B:3
C:8
D:9
答案: 【3

3、 问题:有如下程序:data test;  do i=1 to 3;    put i=;  end;run;程序结果在LOG窗口输出形式为
选项:
A:i=1 i=2 i=3
B:i=2 i=3 i=4
C:i=3 i=2 i=1
D:不显示
答案: 【i=1 i=2 i=3

4、 问题:如下一段程序:data;injput x@@;cards;2 3 4 9 1;run;当程序运行以后系统会产生SAS数据集名为
选项:
A:data
B:NULL
C:data1
D:程序错误
答案: 【data1

5、 问题:SAS数据集采用两级命名法,第一级为库标记名,第二级为数据集名,两者用“."隔开。在默认的情况下库标记为
选项:
A:sashelp
B:mylib
C:sasuser
D:work
答案: 【work

2. SAS语言 第四周课堂练习

1、 问题:建立逻辑库名的语句是(     )。
选项:
A:Data
B:Input
C:Libname
D:Format
答案: 【Libname

2、 问题:Which statement specifies that records 1 through 10 to be read from the raw data file customer.txt? (   )
选项:
A: infile “customer.txt” 1-10;
B:infile “customer.txt” stop @ 10 ;
C:infile “customer.txt” obs=10 ;  
D: input “customer.txt” stop=10 ;
答案: 【infile “customer.txt” obs=10 ;  

3、 问题:The following SAS program is submitteddata work.retail;       Cost=’$20,000′;       Discount=0.10*Cost;proc print;run;What is the result?    (    )
选项:
A:The value of the variable Discount in the output data set is 2000. No messages are written to the SAS log.
B:The value of the variable Discount in the output data set is 2000. A note that conversion has taken place is written to the SAS log.
C:The value of the variable Discount in the output data set is missing. A note in the SAS log refers to invalid numeric data.
D:The value of the variable Discount in the output data set is set to zero. No messages are written to the SAS log.
答案: 【The value of the variable Discount in the output data set is missing. A note in the SAS log refers to invalid numeric data.

4、 问题:删除变量可使用(     )语句。
选项:
A:Input/Return
B:Drop/Keep
C:Drop/Delete

本门课程剩余章节答案为付费内容
本文章不含期末不含主观题!!
本文章不含期末不含主观题!!
支付后可长期查看
有疑问请添加客服QQ 2356025045反馈
如遇卡顿看不了请换个浏览器即可打开
请看清楚了再购买哦,电子资源购买后不支持退款哦

   

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注