SAS_Institute
A00-201 · Question #66
The following SAS program is submitted: data work.passengers; if OrigPassengers = . then OrigPassengers = 100; TransPassengers = 100; OrigPassengers = .; NonPaying = 10; TotalPassengers = sum…
The correct answer is A. 100. See the full explanation below for the reasoning.
Question
The following SAS program is submitted:
data work.passengers;
if OrigPassengers = . then
OrigPassengers = 100;
TransPassengers = 100;
OrigPassengers = .;
NonPaying = 10;
TotalPassengers = sum (OrigPassengers, TransPassengers);
run;
Which one of the following is the value of the TOTALPASSENGERS variable in the output data set?
Options
- A100
- B110
- C200
- D(missing numeric value)
How the community answered
(40 responses)- A85% (34)
- B5% (2)
- C3% (1)
- D8% (3)
Community Discussion
No community discussion yet for this question.