By admin | September 21, 2009

SAS Certified Base Programmer 123 Questions (68)

The following SAS program is submitted:

data work.total;
    set work.salary(keep = department wagerate);
    by department;
    if first.department then payroll = 0;
    payroll + wagerate;
    if last.department;
run;

The SAS data set WORK.SALARY, currently ordered by DEPARTMENT, contains 100 observations for each of 5 departments.

Which one of the following represents how many observations the WORK.TOTAL data set contains?

A. 5
B. 20
C. 100
D. 500

3 comments | Add One

  1. admin - 09/21/2009 at 10:55 am

    A

  2. AMJ - 03/2/2010 at 1:33 pm

    Keep is spelled wrong so question is sorta confusing…correct please

  3. admin - 03/12/2010 at 7:45 pm

    @2. AMJ Thank you very much…I have corrected it.

Leave a Comment

Leave a Reply

Your email address will not be published.