By admin | August 10, 2009

SAS Certified Base Programmer 50 Questions (50)

The following SAS program is submitted: data test; input country $8. date mmddyy10.; cards; Germany 12/31/2000 France 01/32/2001 ; run; Which one of the following is the value of the variable _ERROR_ when the variable _N_ has a value of 2? a. 0 b. 1 c. true d. false

By admin | August 10, 2009

SAS Certified Base Programmer 50 Questions (49)

Which one of the following statements is true when SAS encounters a data error? a. The execution phase is stopped, and a system abend occurs. b. A missing value is assigned to the appropriate variable, and execution continues. c. The execution phase is stopped, and a SAS data set is created with zero observations. d. […]

By admin | August 10, 2009

SAS Certified Base Programmer 50 Questions (48)

The following SAS program is submitted: proc report data=survey nowd; column age choice1; <insert DEFINE statement here> define choice1/display; run; Which one of the following DEFINE statements completes the program and displays values of the variable Age in ascending order? a. define age/sort; b. define age/order; c. define age/sort by age; d. define age/order by […]

By admin | August 10, 2009

SAS Certified Base Programmer 50 Questions (47)

The following SAS program is submitted: data work.travel; do i=1 to 6 by 2; trip + i; end; run; Which one of the following is the value of the variable trip in the output data set? a. 2 b. 3 c. 9 d. 10

By admin | August 10, 2009

SAS Certified Base Programmer 50 Questions (46)

A raw data record is listed below. 1—+—-10—+—-20—+— $23,456 750 The following SAS program is submitted: data bonus; infile ‘file-specification’; input salary $ 1-7 raise 9-11; <insert statement here> run; Which one of the following statements completes the program and adds the values of salary and raise to calculate the expected values of the newsalary […]

Pages: 1 2 3 4 5 6 ... 9 10 Next