By admin | October 6, 2009

SAS Certified Base Programmer 123 Questions (108)

The following SAS program is submitted: libnamesasdata ‘SAS-data-library’; data set; set sasdata .chemists; if jobcode = ‘Chem2’ then description = ‘Senior Chemist’; else description = ‘Unknown’; run; A value for the variable JOBCODE is listed below: JOBCODE chem2 Which one of the following values does the variable DESCRIPTION contain? A. Chem2 B. Unknown C. Senior […]

By admin | October 6, 2009

SAS Certified Base Programmer 123 Questions (107)

The following SAS program is submitted: libnamesasdata ‘SAS-data-library’; data set; set sasdata .chemists; if jobcode = ‘chem3’ then description = ‘Senior Chemist’; else description = ‘Unknown’; run; A value for the variable JOBCODE is listed below: JOBCODE CHEM3 Which one of the following values does the variable DESCRIPTION contain? A. chem3 B. Unknown C. Senior […]

By admin | October 6, 2009

SAS Certified Base Programmer 123 Questions (106)

Which one of the following ODS statement options terminates output being written to an HTML file? A. END B. QUIT C. STOP D. CLOSE

By admin | October 6, 2009

SAS Certified Base Programmer 123 Questions (105)

The following SAS program is submitted: <insert ODS statement here> proc means data= sasuser .shoes; where product in (‘sandal’ , ‘Slipper’ , ‘Boot’); run; Which one of the following ODS statements completes the program and sends the report to an HTML file? A. ods html = ‘sales .html’; B. ods file=’sales .html’; C. ods file […]

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 […]