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)- A84% (27)
- B3% (1)
- C3% (1)
- D9% (3)
Community Discussion
No community discussion yet for this question.