Free A00-212 Exam Braindumps (page: 3)

Page 2 of 47

CORRECT TEXT
The following SAS program is submitted:

%macro check(num=4);
%let result=%sysevalf(&num+0.5);
%put result is &result;
%mend;
%check(num=10)

What is the written to the SAS log?

  1. result is
  2. result is 10
  3. result is 10.5
  4. result is 10+0.5

Answer(s): C



The following SAS program is submitted:

%micro test(var);
%let jobs=BLACKSMITH WORDSMITH SWORDSMITH;
%let type=%index(&jobs, &var);
%put type = &type;
%mend;
%test(SMITH)

What is the value of the macro variable TYPE when the %PUT statement executes?

  1. 0
  2. Null
  3. 6
  4. 3

Answer(s): C



The following SAS program is submitted:

%macro check(num=4);
%let result=%eval(&nm gt 5);
%put result is &result;
%mend;
%check (num=10)

What is written to the SAS log?

  1. result is true
  2. result is 10 gt 5
  3. result is 1
  4. result is 0

Answer(s): C



The following SAS program is submitted:

data temp;
length 1 b 3 x;
infile 'file reference';
input a b x;
run;

What is the result?

  1. The data set TEMP is not created because variables A and B have invalid lengths
  2. The data set TEMP is created, but variable X is not created
  3. The data set TEMP is not created because variable A has an invalid length
  4. The data set TEMP is created and variable X has a length of 8

Answer(s): C






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

A00-212 Discussions & Posts