我这次北美
SAS BASE考试 一共62道考题,其中有5道填空题
我对2道选择题印象比较深刻(一下个数据集名称虚拟):
1. 现有2个数据集,数据类型分别为
WORK.ONE WORK.TWO
Fname Character Fname Character
Lname Character Lname Character
Age Numeric Age Numeric
data WORK.NEW;
set WORK.ONE WORK.TWO;
BY...
run;
Question: There is 60 observations in WORK.ONE and 4 observations in WORK.TWO.
How many observations in WORK.NEW?
A. 4 B. 3 C. 2 D. fail to execute
2.
01 ONE1 TWO1 THREE1 FOUR1 FIVE1
02 ONE2 TWO2 THREE2
03 ONE3 TWO3
04 ONE4 TWO4 THREE4 FOUR4 FIVE4
data perm.namelist;
infile 'file-specification' MISSOVER;
input Fname
Lname
Children1
Children2
Children3 ; (前四个变量都是字符型的,最后一个是数据型的,不好意思,用输入的方式,显示总是会错)
......
run;
Question: What is the value of _ERROR_ in each interation of the data step?
_N_ _ERROR_
A. 1 1
2 0
3 0
4 2
B. 1 1
2 0
3 0
4 1
C. 1 1
2 1
3 1
4 1
D. 1 1
2 2
3 3
4 4
数据步骤记得不是特别清楚,大家见谅
接下来是我分享的一个文件压缩包,里面的资料有