nerdexam
SAS_Institute

A00-212 · Question #7

The following SAS program is submitted: %macro check(num = 4); %let result = %eval(&num gt 5); %put result is &result; %mend; %check(num = 10) What is written to the SAS log?

The correct answer is B. result is 1. See the full explanation below for the reasoning.

Question

The following SAS program is submitted:

%macro check(num = 4); %let result = %eval(&num gt 5); %put result is &result; %mend; %check(num = 10) What is written to the SAS log?

Options

  • Aresult is 0
  • Bresult is 1
  • Cresult is 10 gt 5
  • Dresult is true

How the community answered

(30 responses)
  • A
    7% (2)
  • B
    80% (24)
  • C
    3% (1)
  • D
    10% (3)

Community Discussion

No community discussion yet for this question.

Full A00-212 Practice