By admin | September 17, 2009

SAS Certified Base Programmer 123 Questions (56)

The following SAS program is submitted:

data work.flights;
    destination = 'cph';
    select(destination);
        when('LHR') city = 'London';
        when('CPH') city = 'Copenhgen';
        otherwise city = 'Other';
    end;
run;

Which one of the following is the value of the CITY variable?

A. Other
B. Copenh
C. Copenhagen
D. ‘ ‘ (missing character value)

One comment | Add One

  1. admin - 09/17/2009 at 9:53 am

    A

Leave a Comment

Leave a Reply

Your email address will not be published.