By admin | September 3, 2009

SAS Certified Base Programmer 123 Questions (17)

The contents of two SAS data sets named EMPLOYEE and SALARY are listed below:

EMPLOYEE
name  age
Bruce 30
Dan   35
EMPLOYEE SALARY
name  salary
Bruce 40000
Bruce 35000
Dan   37000
Dan   .

The following SAS program is submitted:

data work.empsalary;
    merge work.employee (in = inemp)
          work.salary(in = insal);
    by name;
    if inemp and insal;
run;

How many observations will the data set WORK.EMPSALARY contain?

A. 2
B. 4
C. 5
D. 6

One comment | Add One

  1. admin - 09/3/2009 at 12:51 pm

    B

Leave a Comment

Leave a Reply

Your email address will not be published.