Archive for August, 2009

By admin | August 21, 2009

SAS Certified Adv Programmer 50 Questions (43)

The SAS data set Temp contains 1,000 observations and 10 variables. Which one of the following SAS DATA steps writes the variables a, b, and c to both SAS data sets One and Two? a. data one two(keep=a b c); set temp(keep=a b c d); run; b. data one two; set temp(keep=a b c); run; […]

By admin | August 21, 2009

SAS Certified Adv Programmer 50 Questions (42)

The SAS data set One consists of five million observations and has 25 variables. Which one of the following SAS programs requires the least CPU time to be processed? a. data two; set one; if year(date)=1999 and state in (‘NY’ ‘NJ’ ‘CT’) then sales=sales98*1.1; else if year(date)=2000 and state in (‘NY’ ‘NJ’ ‘CT’) then sales=sales98*1.15; […]

By admin | August 21, 2009

SAS Certified Adv Programmer 50 Questions (41)

Which one of the following represents where the input is measured when using SAS data sets as input to a DATA step? a. between the storage on disk and utility swap files b. between the storage on disk and the input buffers c. between the input buffers and the program data vector (PDV) d. between […]

By admin | August 20, 2009

SAS Certified Adv Programmer 50 Questions (40)

Which one of the following represents the resource(s) conserved by the SASFILE statement if the entire SAS data set fits in memory? a. I/O only b. CPU only c. memory only d. CPU and I/O

By admin | August 20, 2009

SAS Certified Adv Programmer 50 Questions (39)

Which one of the following represents the resource(s) saved by the BUFSIZE= and BUFNO= options? a. I/O only b. CPU only c. disk space only d. I/O, CPU, and disk space