70题的变形
原题为:
44. The following SAS program is submitted: data ONE TWO SASUSER.TWO set SASUSER.ONE; run;
Assuming that SASUSER.ONE exists, how many temporary and
permanent SAS data sets are created?
A. 2 temporary and 1 permanent SAS data sets are
created
B. 3 temporary and 2 permanent SAS data sets arecreated C. 2 temporary and 2 permanent SAS data sets arecreated D. there is an error and no new data sets are created Answer: D
考试题目为
The following SAS program is
submitted:
data ONE TWO SASUSER.TWO; set SASUSER.ONE; run; 答案是A
70题没有包括的题目:
1, 问variable length是多少?
先给出num length是10, 然后在data step中设length是15, 再用format把variable变成length 20, 问variable length是多少?
这里要区分format概念和length概念,format不改变其length。 2, 问你以下4个选项有几个是符合规则的 work. one two _two 2_two
注意libref is 1 to 8 characters long, begins with a letter or underscore, and contains only letters, numbers, or underscores.
机经 5/20/14
下面这些是50/70/123里没有的,但是基本概念都差不多 1.
data work.one
length var1 var2 12 (都是character类型的) set work.two (e.g. var1 length 5) format var1 20
问最后one里var1 length是多少,应该是12, 由最开始的length决定 2.
一个排序的问题
by var1 desceding var2 var3 问三个vars是怎么排序的
应该是var1 var3 ascending,var2 descending 3.
下面哪几种是有效的data set name DATA
WORK.one _test test_ 2Test
好像还有几个不记得了
但是最后答案是一共4个有效 4.
一个dataset,列出了所有的variables的类型 Name Type N1 num N2 num N3 char N4 char
问在程序中array{*} _numeric_ 建立了几个variable
答案是0, 因为这条命令只是refer了dataset里所有num类型的variables,并没有建立新的变量 5.
如果今天是Jan 2, 1960 问today() 答案应该是1 6.
obs number 1 25 2 10 3 . 4 20 5 30
问total+number的output是神马 obs number total 1 25 25 2 10 35 3 . . 4 20 55 5 30 85 7.
这道题和50题里的27题很像
问有一个column name是str1*str2*str3 用什么命令可以control column name显示 答案应该是 SPLIT = ”*\
下面我把我考过的题在50/70/123里的都列出来 可能会有重复的
考的基本上是70里的原题
50-27 70-3 70-4 70-5 70-6 70-7 70-10 70-11 70-12 70-13 70-14 70-15 70-16 70-17 70-18 70-19 70-20 70-21 70-22