nerdexam
SAS_Institute

A00-211 · Question #23

The following SAS program is submitted: data work.new; length word $7; amount = 4; it amount = 4 then word = FOUR'; else if amount = 7 then word = SEVEN'; else word = `NONE!!!'; amount = 7; run…

The correct answer is C. amount word. See the full explanation below for the reasoning.

Question

The following SAS program is submitted:

data work.new; length word $7; amount = 4; it amount = 4 then word = FOUR'; else if amount = 7 then word = SEVEN'; else word = `NONE!!!'; amount = 7; run; What are the values of the AMOUNT and WORD variables in SAS dataset work.new?

Options

  • Aamount word
  • Bamount word
  • Camount word
  • Damount word

How the community answered

(24 responses)
  • A
    13% (3)
  • B
    4% (1)
  • C
    75% (18)
  • D
    8% (2)

Community Discussion

No community discussion yet for this question.

Full A00-211 Practice