nerdexam
SAS_Institute

A00-211 · Question #61

The following SAS program is submitted: data work.new; length word $7; amount = 7; if amount = 5 then word = 'CAT'; else if amount = 7 then word = 'DOG'; else word = 'NONE!!!'; amount = 5; run…

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

Question

The following SAS program is submitted:

data work.new; length word $7; amount = 7; if amount = 5 then word = 'CAT'; else if amount = 7 then word = 'DOG'; else word = 'NONE!!!'; amount = 5; run; Which one of the following represents the values of the AMOUNT and WORD variables?

Options

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

How the community answered

(45 responses)
  • A
    80% (36)
  • B
    7% (3)
  • C
    2% (1)
  • D
    11% (5)

Community Discussion

No community discussion yet for this question.

Full A00-211 Practice