Site icon Exam4Training

Which one of the following SAS programs requires the least CPU time to be processed?

The SAS data set TEMP has the following distribution of values for variable A:

A Frequency

1 500,000

2 500,000

6 7,000,000

8 3,000

Which one of the following SAS programs requires the least CPU time to be processed?
A . data new;
set temp;
if a = 8 then
b = ‘Small ‘;
else if a in(1, 2) then
b = ‘Medium’;
else if a = 6 then
b = ‘Large’;
run;
B . data new;
set temp;
if a in (1, 2) then
b = ‘Medium’;
else if a = 8 then
b = ‘Small’;
else if a = 6 then
b = ‘Large’;
run;
C . data new;
set temp;
if a = 6 then
b = ‘Large ‘;
else if a in (1, 2) then
b = ‘Medium’;
else if a = 8 then
b = ‘Small’;

D . data new;
set temp;
if a = 6 then
b = ‘Large ‘;
if a in (1, 2) then
b = ‘Small’;
run;

Answer: C

Latest A00-212 Dumps Valid Version with 184 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version