x******7 发帖数: 122 | 1 几个小时前考了BASE, 内容几乎可以认为全部来自题库50+70+123,62题中大概20题
可以认为是变体
错了3题,大概知道错了下面两题/三题 顺便回忆了其它的一些题
1.
data temp;
infile xxx;
date="01feb1980"d
how to generate ship_note in the form “Feb 01, 1980”
A.ship_note=put(date,date9.)
B.ship_note=put(date,date9.,worddate20.)
C.ship_note=put(date,worddate20.)
D.ship_note=input(.....)
我选了错误答案B,
2.
x y
5 1
4 6
5 4
data one two other;
if x ge 5 then output one;
else if y le 5 then output two;
else output other;
How many obs in dataset one, two and other?
毫不犹豫选了553.....后来回忆起来发现跟原题是不一样的....
3.
file:
Num xxx
33 123
22 2134
1 342
data temp;
set file;
where Num=contains(1);
How many obs in temp?
A. 1
B. 2
C. 3
D. no output
这题where语句和contain非常混乱,选了D
proc contents data=work._all_;
run;
A. list of datasets only
C. list of datasets and metadata of datasets
A和C不确定,不知道metadata什么意思
4.
A="US-Austrilia-xxxx";
pos=find(A,“us”,"i",5);
what is the value of pos
5.
How many file names is Allowed in SAS?
1. 2test
2. _2test
3. test2
4. 2-test
6.
output to pdf:
ods pdf file="";
ods pdf close;
7.
output as a comma delimeted file:
ods csvall file="";
ods csvall close;
8.
do i=1 to 5;
do month= 1 to 12;
x+1;
end;
output;
end;
How many obs in output data?
注意这题是变体,应该是5个吧
只想起来这些 |
|