By admin | October 6, 2009

SAS Certified Base Programmer 123 Questions (104)

The following SAS program is submitted:

proc format;
    value score 1 - 50 = 'Fail'
    51-100='Pass';
run;

proc report data=work .courses nowd;
    column exam;
    define exam / display format=score.;
run;

The variable EXAM has a value of 50.5.
How will the EXAM variable value be displayed in the REPORT procedure output?

A. Fail
B. Pass
C. 50.5
D. . (missing numeric value)

3 comments | Add One

  1. admin - 10/6/2009 at 3:19 pm

    C

  2. ankit - 01/30/2012 at 7:33 am

    ans would be * according to SAS 9.2

  3. new user - 03/16/2013 at 6:12 pm

    is there a typo on the define statement which should be score instead of exam.

Leave a Comment

Leave a Reply

Your email address will not be published.