Free A00-212 Exam Braindumps (page: 23)

Page 22 of 47

Text is sent to the SAS compiler as a result of macro execution. Which one of the following SAS system options writes that text to the log?

  1. MPRINT
  2. MLOGIC
  3. MSOURCE
  4. SOURCE2

Answer(s): A



Given the following SAS data set ONE:
ONE
CATEGORY AGE SALARY BONUS
----
M 28 200 .
M 25 100 10
F 18 100 50
F 25 200 10
The following SAS program is submitted:
proc sql;
create table two as
select category, salary + bonus as EARNINGS
from one; quit;

Which one of the following represents the data values stored in the data set TWO?

  1. CATEGORY EARNINGS
    M 200
    M 110
    F 150
    F 210
  2. CATEGORY EARNINGS
    M .
    M 110
    F 150
    F 210
  3. CATEGORY SALARY BONUS EARNINGS
    M 200 . 200
    M 100 10 110
    F 100 50 150
    F 200 10 210
  4. CATEGORY SALARY BONUS EARNINGS
    M 200 . .
    M 100 10 110
    M 200 . 200
    M 100 10 110
    F 100 50 150
    F 200 10 210

Answer(s): B



Which one of the following SAS SORT procedure options eliminates identical consecutive observations?

  1. NODUP
  2. UNIQUE
  3. DISTINCT
  4. NODUPKEY

Answer(s): A



The following SAS program is submitted:
data temp;
array points{3,2}_temporary_ (10,20,30,40,50,60);
score = points{2,1}
run;

Which one of the following is the value of the variable SCORE in the data set TEMP?

  1. 10
  2. 20
  3. 30
  4. 40

Answer(s): C






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

A00-212 Discussions & Posts