Free A00-212 Exam Braindumps (page: 21)

Page 21 of 47

The SAS data set ONE has a variable X on which an index has been created. The data sets ONE and THREE are sorted by X. Which one of the following SAS programs uses the index to select observations from the data set ONE?

  1. data two;
    set three;
    set one key = X;
    run;
  2. data two;
    set three key = X;
    set one;
    run;
  3. data two;
    set one;
    set three key = X;
    run;
  4. data two;
    set three;
    set one (key = X);
    run;

Answer(s): A



Given the following SAS data set ONE:

ONE
REP AREA COST
SMITH NORTH 100
SMITH SOUTH 200
JONES EAST 100
SMITH NORTH 300
JONES WEST 100
JONES NORTH 200
JONES NORTH 400
SMITH NORTH 400
JONES WEST 100
JONES WEST 300
The following SAS program is submitted:
proc sql;
select rep, area, count(*) as TOTAL
from one
group by rep, area;
quit;

Which one of the following reports is generated?

  1. REP AREA COUNT
    JONES EAST 100
    JONES NORTH 600
    JONES WEST 500
    SMITH NORTH 800
    SMITH SOUTH 200
  2. REP AREA TOTAL
    JONES EAST 100
    JONES NORTH 600
    JONES WEST 500
    SMITH NORTH 800
    SMITH SOUTH 200
  3. REP AREA TOTAL
    JONES EAST 1
    JONES NORTH 2
    JONES WEST 3
    SMITH NORTH 3
    JONES WEST 3
    SMITH NORTH 3
    SMITH SOUTH 1
  4. REP AREA TOTAL
    JONES EAST 1
    JONES NORTH 2
    JONES WEST 3
    SMITH NORTH 3
    SMITH SOUTH 1
    SMITH NORTH 3
    SMITH SOUTH 1

Answer(s): C,D



Which one of the following SAS procedures changes a permanent format of a variable stored in a SAS data set?

  1. MODIFY
  2. FORMAT
  3. CONTENTS
  4. DATASETS

Answer(s): D



Given the following SAS data set SASUSER.HIGHWAY:

SASUSER.HIGHWAY
STEERING SEATBELT SPEED STATUS COUNT
absent no 0-29 serious 31
absent no 0-29 not 1419
absent no 30-49 serious 191
absent no 30-49 not 2004
absent no 50+ serious 216
The following SAS program is submitted:
%macro highway;
proc sql noprint;
select count(distinct status)
into :numgrp
from sasuser.highway;
%let numgrp = &numgrp;
select distinct status
into :group1-:group&numgrp
from sasuser.highway;
quit;
%do i = 1 %to &numgrp;
proc print data = sasuser.highway;
where status = "&&group&i" ;
run;
%end;
%mend;
%highway

How many reports are produced by the above program?

  1. 0
  2. 1
  3. 2
  4. 5

Answer(s): C



Page 21 of 47



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

Nick commented on October 05, 2023
Just bought it, hope for the best
Anonymous
upvote

Abdul SK commented on September 28, 2023
Please upload it
Anonymous
upvote

SK commented on April 21, 2021
You cannot pass this examinations without the help of this braindumps questions.
SINGAPORE
upvote

Miguel commented on April 09, 2020
Muchas Gracias!
I write my exam last week and got a score of 87%. Good and happy for now.

MEXICO
upvote