nerdexam
SAS_Institute

A00-211 · Question #22

The following SAS program is submitted: data work.flights; destination = cph'; select(destination); when('LHR') city = London'; when('CPH') city = Copenhagen'; otherwise city = Other'; end; run…

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

Question

The following SAS program is submitted:

data work.flights; destination = cph'; select(destination); when('LHR') city = London'; when('CPH') city = Copenhagen'; otherwise city = Other'; end; run; What is the value of the CITY variable?

Options

  • AOther
  • BCopenh
  • CCopenhagen
  • D``(missing character value)

How the community answered

(32 responses)
  • A
    84% (27)
  • B
    3% (1)
  • C
    3% (1)
  • D
    9% (3)

Community Discussion

No community discussion yet for this question.

Full A00-211 Practice