By admin | September 18, 2009

SAS Certified Base Programmer 123 Questions (60)

The following SAS program is submitted:

data work.passengers;
    if OrigPassengers = . then
        OrigPassengers=100;
    TransPassengers= 100;
    OrigPassengers= .;
    NonPaying= 10;
    TotalPassengers= OrigPassengers + TransPassengers;
run;

Which one of the following is the value of the TOTALPASSENGERS variable in the output data set?

A. 100
B. 110
C. 200
D. . (missing numeric value)

One comment | Add One

  1. admin - 09/18/2009 at 4:17 pm

    D

Leave a Comment

Leave a Reply

Your email address will not be published.