By admin | July 28, 2009

SAS Certified Base Programmer 50 Questions (8)

Which one of the following SAS date formats displays the SAS date value for January 16, 2002 in the form of 16/01/2002? a. DATE10. b. DDMMYY10. c. WEEKDATE10. d. DDMMYYYY10.

By admin | July 28, 2009

SAS Certified Base Programmer 50 Questions (7)

The following SAS program is submitted: data newstaff; set staff; <insert WHERE statement here> run; Which one of the following WHERE statements completes the program and selects only observations with a Hire_date of February 23,2000? a. where hire_date=’23feb2000’d; b. where hire_date=’23feb2000′; c. where hire_date=’02/23/2000’d; d. where hire_date=’02/23/2000′;

By admin | July 27, 2009

SAS Certified Base Programmer 50 Questions (6)

Which action assigns a reference named SALES to a permanent SAS data library? a. Issuing the command: libref SALES ‘SAS-data-library’ b. Issuing the command: libname SALES ‘SAS-data-library’ c. Submitting the statement: libref SALES ‘SAS-data-library’; d. Submitting the statement: libname SALES ‘SAS-data-library’;

By admin | July 27, 2009

SAS Certified Base Programmer 50 Questions (5)

The following SAS program is submitted at the start of a new SAS session: libname sasdata ‘SAS-data-library’; data sasdata.sales; set sasdata.salesdata; profit=expenses-revenues; run; proc print data=sales; run; The SAS data set Sasdata.Salesdata has ten observations. Which one of the following explains why a report fails to generate? a. The DATA step fails execution. b. The […]

By admin | July 27, 2009

SAS Certified Base Programmer 50 Questions (4)

A raw data file is listed below. 1—+—-10—+—-20—+—-30—+—-40—+—-50 TWOSTORY 1040 2 1SANDERS ROAD $55,850 CONDO 2150 4 2.5JEANS AVENUE $127,150 The following program is submitted using this file as input: data work.houses; infile ‘file-specification’; <insert INPUT statement here> run; Which one of the following INPUT statements reads the raw data file correctly? a. input @1 […]

Pages: Prev 1 2 ... 29 30 31 32 33 34 35 Next