Free A00-212 Exam Braindumps (page: 24)

Page 23 of 47

The following SAS FORMAT procedure is submitted:

proc format lib = sasuser;
value tempc low < 0 = 'BELOW FREEZING'
0 < 5 = 'COLD'
5 < 10 = 'MILD'
10 < 15 = 'WARM'
15 high = 'HOT';
run;

How is the value 10 displayed when the format TEMPC is applied?

  1. 10
  2. MILD
  3. WARM
  4. BELOW FREEZING

Answer(s): C



Which one of the following SAS programs uses the most amount of memory resources for output buffers?

  1. data new(bufsize = 1000 bufno = 5);
    set temp;
    run;
  2. data new(bufsize = 1000 bufno = 2);
    set temp;
    run;
  3. data new(bufsize = 2000 bufno = 3);
    set temp;
    run;
  4. data new(bufsize = 4000 bufno = 1);
    set temp;
    run;

Answer(s): C



Given the following SAS data sets ONE and TWO:

ONE TWO
NUM CHAR1 NUM CHAR2
1 A1 2 X1
1 A2 2 X2
2 B1 3 Y
2 B2 5 V
4 D

The following SAS program is submitted creating the output table THREE:

proc sql;
create table three as
select one.num, char1, char2
from one, two
where one.num = two.num;
quit;
THREE
NUM CHAR1 CHAR2

2 B1 X1
2 B1 X2
2 B2 X1
2 B2 X2

Which one of the following DATA step programs creates an equivalent SAS data set THREE?

  1. data three;
    merge one two;
    by num;
    run;
  2. data three;
    set one;
    set two;
    by num;
    run;
    merge one two;
    by num;
    run;
  3. data three;
    set one;
    set two;
    by num;
    run;
    by num;
    run;
  4. data three;
    set one;
    do i = 1 to numobs;
    set two(rename = (num = num2)) point = i
    nobs = numobs;
    if num2 = num then output;
    end;
    drop num2;
    run;

Answer(s): D



The following SAS program is submitted:

%macro execute;
<insert statement here>
proc print data = sasuser.houses;
run;
%end;
%mend;

Which of the following completes the above program so that it executes on Tuesday?

  1. %if &sysday = Tuesday %then %do;
  2. %if &sysday = 'Tuesday' %then %do;
  3. %if "&sysday" = Tuesday %then %do;
  4. %if '&sysday' = 'Tuesday' %then %do;

Answer(s): A






Post your Comments and Discuss SAS Institute A00-212 exam with other Community members:

A00-212 Discussions & Posts