Practice for the SAS basic certification exam.
Data test2; infile furnture; input StockNum $ 1-3 Finish $ 5-9 Style $ 11-18 Item $ 20-24 Price 26-31 if finish='oak' then delete; retain TotPrice 100; totalprice+price; drop price; run; proc print data=test2 noobs; run;
Data test2; infile furnture; input StockNum $ 1-3 Finish $ 5-9 Style $ 11-18 Item $ 20-24 Price 26-31 if finish='oak' and price<200 then delete; totalprice+price; run; proc print data=test2 noobs; run;
Data test2(drop=price); infile furnture; input StockNum $ 1-3 Finish $ 5-9 Style $ 11-18 Item $ 20-24 Price 26-31 if finish='oak' and price<200 then delete; totalprice+price; run; proc print data=test2 noobs; run;
Data test2; infile furnture; input StockNum $ 1-3 Finish $ 5-9 Style $ 11-18 Item $ 20-24 Price 26-31 if finish='oak' and price<200 then delete; totalprice+price; run; proc print data=test2 noobs; run;
Rate this question:
Label Amount of Loan, format DOLLAR12.2
Label Total Amount Loaned, format COMMA10.
Label Amount, default format
The PROC PRINT step does not execute because two labels and two formats are assigned to the same variable.
Rate this question:
Finlexam>=95
Research='A'
Project='A' and present='A'
Research='A' or (project='A' and present='A')
Rate this question:
Missing
0
30
70
Rate this question:
Missing
0
100
130
Rate this question:
Count = 12 Control = Go
Count = 13 Control = Stop
Count = 12 Control = Stop
Count = 13 Control = Go
Rate this question:
The length of the variable's first value
The assignment statement
The LENGTH statement
All of the above
Rate this question:
If code='1' then Type='Fixed'; else if code='2' then Type='Variable'; else Type='Unknown';
If code='1' then Type='Fixed'; if code='2' then Type='Variable'; else Type='Unknown';
If code='1' then type='Fixed'; else code='2' and type='Variable'; else type='Unknown';
If code='1' and type='Fixed'; then code='2' and type='Variable'; else type='Unknown';
Rate this question:
5
8
10
It depends on the first value of Type
Rate this question:
Data clinic.stress(drop=timemin timesec); infile tests; input ID $ 1-4 Name $ 6-25 RestHR 27-29 MaxHR 31-33 RecHR 35-37 TimeMin 39-40 TimeSec 42-43 Tolerance $ 45; TotalTime=(timemin*60)+timesec; SumSec+totaltime; run;
Proc print data=clinic.stress; label totaltime='Total Duration of Test'; format timemin 5.2; drop sumsec; run;
Proc print data=clinic.stress(keep=totaltime timemin); label totaltime='Total Duration of Test'; format timemin 5.2; run;
Data clinic.stress; infile tests; input ID $ 1-4 Name $ 6-25 RestHR 27-29 MaxHR 31-33 RecHR 35-37 TimeMin 39-40 TimeSec 42-43 Tolerance $ 45; TotalTime=(timemin*60)+timesec; keep id totaltime tolerance; 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.