SAS Adv 12月真題-63題

SAS Adv 12月真題-63題

ID:38582107

大?。?36.50 KB

頁數(shù):36頁

時間:2019-06-15

SAS Adv 12月真題-63題_第1頁
SAS Adv 12月真題-63題_第2頁
SAS Adv 12月真題-63題_第3頁
SAS Adv 12月真題-63題_第4頁
SAS Adv 12月真題-63題_第5頁
資源描述:

《SAS Adv 12月真題-63題》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在教育資源-天天文庫。

1、1.Whenattemptingtominimizememoryusage,themostefficientwaytodogroupprocessingwhenusingtheMEANSprocedureistouse:A.theBYstatement.B.GROUPBYwiththeNOTSORTEDspecification.C.theCLASSstatement.D.multipleWHEREstatements.(Thequestionisprettyclear-cut,IMO.Italludestothe"standa

2、rd"long->beardedpracticaltrickusedinthesituationwhenMEANS/SUMMARYwithCLASS>usestoomuchmemory.Itdoesnotaskwhatismoreefficientingeneral>(whichwouldbetousesomethingelseinsteadofMEANSifpossible),just>whatleadstotheminimalmemoryfootprint,andtheanswerisA.(AnswerB>isjustadi

3、straction-acommondeviceincomputer-adaptivetests).The>reasonisthatwithoutBY,MEANScreatesandbuildsitsAVLtreeforthe>entirefileandallcategoricalvaluescrossingsfoundinCLASS.WithBY,>theprocbuildsthetreeforthecurrentBYgrouponly,computesthestats,>thenerasesthetreebeforethene

4、xtBYgroupstarts,createsandbuildsit>again,andsoon.Theerase/createprocessisnotazerocostone,sothe>smallerthemorenumeroustheBYgroupsare,themoreitslowsdoesthe>processing;however,thesmalleristhelargestBYgroup,thesmalleristhe>memoryfootprint.)2.TheSASdatasetWORK.CHECKhasava

5、riablenamedId_Codeinit.WhichSQLstatementwouldcreateanindexonthisvariable?A.createindexId_CodeonWORK.CHECK;B.createindex(Id_Code)onWORK.CHECK;C.makeindex=Id_CodefromWORK.CHECK;D.defineindex(Id_Code)inWORK.CHECK;3.GiventheSASdatasets:WORK.EMPLOYEEWORK.NEWEMPLOYEENameDe

6、ptNamesSalary---------------------------AlanSalesMichelle50000MichelleSalesParesh60000ASASprogramissubmittedandthefollowingiswrittentotheSASlog:101procsql;102selectdept,name103fromWORK.EMPLOYEE104wherename=(selectnamesfromnewemployeewheresalary>40000)ERROR:Subqueryev

7、aluatedtomorethanonerow.105;106quit;Whatwouldallowtheprogramtosuccessfullyexecutewithouterrors?A.Replacethewhereclausewith:whereEMPLOYEE.Name=(selectNamesdelimitedwith','fromWORK.NEWEMPLOYEEwhereSalary>40000);B.Replaceline104with:whereEMPLOYEE.Name=ANY(selectNamessep

8、aratedwith','fromWORK.NEWEMPLOYEEwhereSalary>40000);(any表示要有多個值,而=只能要求一個值。)C.ReplacetheequalsignwiththeINoperator.D.Qualifythecolum

當前文檔最多預覽五頁,下載文檔查看全文

此文檔下載收益歸作者所有

當前文檔最多預覽五頁,下載文檔查看全文
溫馨提示:
1. 部分包含數(shù)學公式或PPT動畫的文件,查看預覽時可能會顯示錯亂或異常,文件下載后無此問題,請放心下載。
2. 本文檔由用戶上傳,版權(quán)歸屬用戶,天天文庫負責整理代發(fā)布。如果您對本文檔版權(quán)有爭議請及時聯(lián)系客服。
3. 下載前請仔細閱讀文檔內(nèi)容,確認文檔內(nèi)容符合您的需求后進行下載,若出現(xiàn)內(nèi)容與標題不符可向本站投訴處理。
4. 下載文檔時可能由于網(wǎng)絡(luò)波動等原因無法下載或下載錯誤,付費完成后未能成功下載的用戶請聯(lián)系客服處理。