nerdexam
SAS_Institute

A00-212 · Question #43

Given the data set SASHELP.CLASS SASHELP.CLASS NAME AGE ------- ------ Mary 15 Philip 16 Robert 12 Ronald 15 The following SAS program is submitted: %let value = Philip; proc print data =…

The correct answer is D. where upcase(name) = "%upcase(&value)". See the full explanation below for the reasoning.

Question

Given the data set SASHELP.CLASS SASHELP.CLASS NAME AGE ------- ------ Mary 15 Philip 16 Robert 12 Ronald 15 The following SAS program is submitted:

%let value = Philip; proc print data = sashelp.class; <insert WHERE statement here> run; Which WHERE statement successfully completes the program and produces a report?

Options

  • Awhere upcase(name) = upcase(&value);
  • Bwhere upcase(name) = %upcase(&value);
  • Cwhere upcase(name) = "upcase(&value)";
  • Dwhere upcase(name) = "%upcase(&value)";

How the community answered

(28 responses)
  • A
    14% (4)
  • B
    4% (1)
  • C
    7% (2)
  • D
    75% (21)

Community Discussion

No community discussion yet for this question.

Full A00-212 Practice