nerdexam
SAS_Institute

A00-202 · Question #47

The following SAS program is submitted: %let name = Patel's Restaurant; Which one of the following statements avoids problems associated with the unbalanced quotation mark?

The correct answer is A. %let name = %str(Patel%'s Restaurant). See the full explanation below for the reasoning.

Question

The following SAS program is submitted:

%let name = Patel's Restaurant; Which one of the following statements avoids problems associated with the unbalanced quotation mark?

Options

  • A%let name = %str(Patel%'s Restaurant);
  • B%let name = %str(Patel's Restaurant);
  • C%let name = Patel%str(')s Restaurant;
  • D%let name = Patel%'s Restaurant;

How the community answered

(35 responses)
  • A
    77% (27)
  • B
    3% (1)
  • C
    11% (4)
  • D
    9% (3)

Community Discussion

No community discussion yet for this question.

Full A00-202 Practice