By admin | September 10, 2009

SAS Certified Base Programmer 123 Questions (36)

The following SAS program is submitted: data allobs; set sasdata.origin (firstobs = 75 obs = 499); run; The SAS data set SASDATA.ORIGIN contains 1000 observations. How many observations does the ALLOBS data set contain? A. 424 B. 425 C. 499 D. 1000

By admin | September 10, 2009

SAS Certified Base Programmer 123 Questions (35)

The following SAS program is submitted: data_null_; set old (keep = prod sales1 sales2); file ‘file-specification’; put sales1 sales2; run; Which one of the following default delimiters separates the fields in the raw data file created? A. : (colon) B. (space) C. , (comma) D. ;(semicolon)

By admin | September 10, 2009

SAS Certified Base Programmer 123 Questions (34)

The following SAS program is submitted: data_null_; set old; put sales1 sales2; run; Where is the output written? A. the SAS log B. the raw data file that was opened last C. the SAS output window or an output file D. the data set mentioned in the DATA statement

By admin | September 9, 2009

SAS Certified Base Programmer 123 Questions (33)

The contents of the raw data file TEAM are listed below: —-|—-10—|—-20—|—-30 Janice 10 Henri 11 Michael 11 Susan 12 The following SAS program is submitted: data group; infile ‘team’; input name $15. age 2.; file ‘file-specification’; put name $15. =5 age 2.; run; Which one of the following describes the output created? A. a […]

By admin | September 9, 2009

SAS Certified Base Programmer 123 Questions (32)

The contents of the SAS data set named PERM.STUDENTS are listed below: name age Alfred 14 Alice 13 Barbara 13 Carol 14 The following SAS program is submitted using the PERM.STUDENTS data set as input: Libnameperm ‘SAS-date-library’; data students; set perm.students; file ‘file-specification’; put name $15. @5 age 2.; run Which one of the following […]