By admin | August 10, 2009

SAS Certified Adv Programmer 50 Questions (5)

Given the following SAS data sets One and Two: One Num Var1 1 A 1 A 2 B 3 C Two Num Var2 1 A 4 Y 4 Z The following SAS program is submitted: proc sql; select * from one intersect all select * from two; quit; Which of the following reports is generated? […]

By admin | August 10, 2009

SAS Certified Adv Programmer 50 Questions (4)

Given the following SAS data sets One and Two: One Num Var1 1 A 1 A 2 B 3 C Two Num Var2 1 A 4 Y 4 Z The following SAS program is submitted: proc sql; select * from one except select * from two; quit; Which of the following reports is generated? a. […]

By admin | August 10, 2009

SAS Certified Adv Programmer 50 Questions (3)

Which one of the following programs is syntactically correct? a. proc sql; create table forecast as select a.*, b.sales from actual a, budget b where a.dept=b.dept and a.month=b.month; quit; b. proc sql; create table forecast as select a.* b.sales from actual as a, budget as b where a.dept=b.dept and a.month=b.month; quit; c. proc sql; create […]

By admin | August 10, 2009

SAS Certified Adv Programmer 50 Questions (2)

Given the following SAS data sets One and Two: One Year Qtr Budget 2001 3 500 2001 4 400 2002 1 700 Two Year Qtr Sales 2001 4 300 2002 1 600 The following SAS program is submitted: proc sql; select one.*, sales from one right join two on one.year=two.year; quit; Which of the following […]

By admin | August 10, 2009

SAS Certified Adv Programmer 50 Questions (1)

Given the following SAS data sets One and Two: One Year Qtr Budget 2001 3 500 2001 4 400 2002 1 700 Two Year Qtr Sales 2001 4 300 2002 1 600 The following SAS program is submitted: proc sql; select one.*, sales from one, two where one.year=two.year and one.qtr=two.qtr; quit; Which of the following […]