全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
1637 1
2015-10-01
在复习ADV中,下载到了两版的63题库,答案有些题不一样,想问问大家到底哪个是对的?

Item 1 of 63 Mark item forreview A or C ?

  When attempting to minimize memoryusage, the

  most efficient way to do groupprocessing when  

  using the MEANS procedure is touse:   

        A.

the BY statement.      

     B.

GROUPBY with the NOTSORTEDspecification.

     C.

the CLASS statement.   

     D.

multiple WHERE statements.   


Item 7 of 63 Mark item forreview  A or C ?  

A quick rule of thumb for thespace

required to run PROC SORT is:         

A. two times the size of the SAS dataset being sorted.            

B. three times the size of the SAS dataset being sorted.         

C. four times the size of the SAS dataset being sorted.           

D. five times the size of the SAS dataset being sorted.  


Item 26 of 63 Mark item forreview A or D ?
  Given the following SAS datasets:        

WORK.VISIT1             WORK.VISIT2      

Id     Expense          Id    Cost      

---    -------          ---   ----      

001        500          001     300     

001        400          002     600     

003        350   

The following result set wassummarized and    

consolidated using the SQLprocedure:     

Id     Cost   

---    ----   

001     300   

001     900   

002     600   

003     350   

Which of the following SQLstatements was      

most likely used to generate thisresult?            

A. select    Id,    

sum(Expense) label='COST'   

from WORK.VISIT1

group by 1   

union all     

select    Id,    

sum(Cost)  from WORK.VISIT2

group by 1    order by 1,2  ;            

B. select    id,    sum(expense) as COST from      

WORK.VISIT1(rename=(Expense=Cost)),      

WORK.VISIT2where VISIT1.Id=VISIT2.Id      

group by Id   order by         Id,    Cost;            

C. select    VISIT1.Id,    sum(Cost) as Cost   

from     WORK.VISIT1(rename=(Expense=Cost)),     

WORK.VISIT2where VISIT1.Id=VISIT2.Id      

group by Id   order by         Id,    Cost;            

D. select    Id,    

sum(Expense) as Cost from WORK.VISIT1group by Id   

outer union corrselect    Id,    

sum(Cost)  from WORK.VISIT2

group by Id   order by 1,2  ;      



二维码

扫码加我 拉你入群

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

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

全部回复
2015-10-1 01:20:35
还有45 (C or D)和 52(A or D) 都是关于sort 和first/last 的
以及57题 compress 是B or D
Item 57 of 63 Mark item for review  

  Which of the following is true about   
  the COMPRESS=YES data set option?      


        A.
It uses the Ross Data Compression method  
to compress numeric data.  

     B.
It is most effective with character data  
that contains repeated characters.  

     C.
It is most effective with numeric data that  
represents large numeric values.   

     D.
It is most effective with character data that
contains patterns, rather than simple repetitions.  
二维码

扫码加我 拉你入群

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

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

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群