Practice for the SAS base certification exam.
Mean(var1,var4)
Mean(var1-var4)
Mean(of var1,var4)
Mean(of var1-var4)
Rate this question:
SAS converts the values of PayRate to numeric values. No message is written to the log.
SAS converts the values of Payrate to numeric values. A message is written to the log.
SAS converts the values of Hours to character values. No message is written to the log.
SAS converts the values of Hours to character values. A message is written to the log.
Rate this question:
TargetNo=input(target,comma6.);
TargetNo=input(target,comma7.);
TargetNo=put(target,comma6.);
TargetNo=(target,comma7.)
Rate this question:
Location=dept||'/'||input(sitenum,3.1);
Location=dept||'/'||input(sitenum,4.1);
Location=dept||'/'||put(sitenum,3.1);
Location=dept||'/'||put(sitenum,4.1);
Rate this question:
MDY(1,3,20)
MDY(3,1,20)
MDY(1,3,2020)
MDY(3,1,2020)
Rate this question:
State=scan(address2,2);
State=scan(address2,13,2);
State=substr(address2,2);
State=substr(address2,13,2);
Rate this question:
Sex=scan(idcode,4);
Sex=scan(idcode,4,1);
Sex=substr(idcode,4);
Sex=substr(idcode,4,1);
Rate this question:
Data work.piedmont(drop=areacode exchange); set clients.piedmont; Areacode=substr(phone,1,3); Exchange=substr(phone,5,3); if areacode='919' and exchange='555' then scan(phone,1,3)='920'; run;
Data work.piedmont(drop=areacode exchange); set clients.piedmont; Areacode=substr(phone,1,3); Exchange=substr(phone,5,3); if areacode='919' and exchange='555' then phone=scan('920',1,3); run;
Data work.piedmont(drop=areacode exchange); set clients.piedmont; Areacode=substr(phone,1,3); Exchange=substr(phone,5,3); if areacode='919' and exchange='555' then substr(phone,5,3)='920'; run;
Data work.piedmont(drop=areacode exchange); set clients.piedmont; Areacode=substr(phone,1,3); Exchange=substr(phone,5,3); if areacode='919' and exchange='5555'
Rate this question:
Data work.maillist; set reatil.maillist; length FullName $ 40; fullname=trim firstname||' '||lastname; run;
Data work.maillist; set retail.maillist; length FullName $ 40; fullname=trim(firstname)||' '||lastname; run;
Data work.maillist; set retail.maillist; length FullName $ 40; fullname=trim(firstname)||' '||trim(lastname); run;
Data work.maillist; set retail.maillist; length FullName $ 40; fullname=trim(firstname||' '||lastname); run;
Rate this question:
Data work.bookcase; set furnitur.bookcase; if index(finish,walnut) = 0; run;
Data work.bookcase; set furnitur.bookcase; if index(finish,'walnut') = 0; run;
Data work.bookcase; set furnitur.bookcase; if index(lowcase(finish),walnut) = 0; run;
Data work.bookcase; set furnitur.bookcase; if index(lowcase(finish),'walnut') > 0; run;
Rate this question:
Quiz Review Timeline +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.