楼主: ivyyoung
1869 4

[学习分享] SAS BASE 2/29/2016北美机经~ [推广有奖]

  • 1关注
  • 0粉丝

硕士生

58%

还不是VIP/贵宾

-

威望
0
论坛币
89 个
通用积分
1.2258
学术水平
1 点
热心指数
3 点
信用等级
0 点
经验
243 点
帖子
89
精华
0
在线时间
249 小时
注册时间
2009-3-21
最后登录
2020-10-13

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
受益于SAS板块各种给力经验帖和机经帖~我也来发个机经帖~~
满打满算刷了2天半的题(这是由于拖延症。。。),不得不说70题太给力了,另外123题和机经也很重要!!!今天就碰到了很多之前机经帖里面的原题!!!万分感谢前人栽的树呐~~~
--------------------------------------------------------------------------------
以下是我今天碰到的题目~

70考到部分:

Q3, Q4, Q5, Q6, Q10, Q11, Q13, Q15,Q16, Q17,Q20,

Q21形:Sales GT 50;,

Q22, Q24, Q28, Q30,Q31, Q32,

Q33:variable名字而已,unknown

Q34,

Q35 elseoutput,

one2 observation two2observation other1observation

Q36月和日调换,选mmddyy10,

Q37,

Q42: 变形,知道find function用法,

Q46 变形,加了一个有missing value的variable,

Q51,

Q52变形 数据有点不同,

Q56变形:选项有点不同,但是选择结果一样,

Q57变形:选day()那个,

Q58,  Q60,

Q62 变形 ods pdf file=” ”,

Q63, Q65,

Q66变形:

do year=1 to 7;

do month=1 to 12;

x+1;

end;

output;

end;

run;

我选的7.

Q67, Q69

其他题目:

1.label:  split(*)

2. obs html file;

proc sort…;

proc print…;

run;

我选无法执行的选项,因为proc sort后面少了run

3. Thefollowing SAS program is submitted:

procformat;

valuescore 1 - 50 = 'Fail'

51-100='Pass';

run;

procreport data=work .courses nowd;

columnexam;

defineexam / display format=score.;

run;

Thevariable EXAM has a value of 50.5.

Howwill the EXAM variable value be displayed in the REPORT procedure output?

A.Fail

B.Pass

C.50.5

D. .(missing numeric value)

Answer: C

4. . 如下题目的变形,把html改成pdf了。

The following SAS program is submitted:

<insert ODS statement here>

proc means data= sasuser .shoes;

where product in ('sandal' , 'Slipper' , 'Boot');

run;

Which one of the following ODS statements completes theprogram and sends the

report to an HTML file?

A. ods html = 'sales .html';

B. ods file='sales .html';

C. ods file html='sales .html';

D. ods html file='sales. html';

选:D

5.如下题目的变形,把数据改了。

The contents of the raw data file EMPLOYEE are listedbelow:

----|----10---|----20---|----30

Ruth39 11

Jose32 22

Sue 30 33

John 40 44

The following SAS program is submitted:

data test;

infile' employee';

input employee_ name $ 1-4;

if employee_ name = 'Ruth' then input idnum 10-11;

else input age 7-8;

run

Which one of the following values does the variable IDNUMcontain when the name

of the employee is "Ruth"?

A. 11

B. 22

C. 32

D. . (missing numeric value)

Answer: B

6.proc sort…;by…;run 的填空,填by idnum expenses

7.填空:了几个dataset的名字,valid的,4个里面有2个

8. 其他机里的题:四个选项中有两个是input(  ),有两个是put(  ),显然input( )是错的,于是在 put( ) 里面二选一:

A) put(date, date9., worddate20.)

B) put(date, worddate20.)

B.


二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:SAS base Base observation Statements following sas base

沙发
zwnSAS121 发表于 2016-3-4 10:45:10 |只看作者 |坛友微信交流群
lz打算什么时候考adv

使用道具

藤椅
danansty 发表于 2016-3-4 23:48:51 |只看作者 |坛友微信交流群
谢谢楼主分享!

使用道具

板凳
ivyyoung 发表于 2016-3-7 13:03:53 |只看作者 |坛友微信交流群
zwnSAS121 发表于 2016-3-4 10:45
lz打算什么时候考adv
这学期呢~求建议~

使用道具

报纸
azhuzjh 发表于 2016-3-9 01:48:11 |只看作者 |坛友微信交流群
zan...............................

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-4-25 18:17