SAS Certified Base Programmer 50 Questions (33)
The following SAS program is submitted: data test; input animal1 $ animal2 $ mlgrams1 mlgrams2; cards; hummingbird ostrich 54000.39 90800000.87 ; run; Which one of the following represents the values of each variable in the output data set? a. animal1 animal2 mlgrams1 mlgrams2 hummingb ostrich 54000.39 90800000 b. animal1 animal2 mlgrams1 mlgrams2 hummingb ostrich 54000.39 […]
SAS Certified Base Programmer 50 Questions (32)
Which TITLE statement would display JANE’S DOG as the text of the title? a. title “JANE”S DOG”; b. title ‘JANE”S DOG’; c. title “JANE’S DOG”; d. title ‘JANE’ ‘ ‘S DOG’;
SAS Certified Base Programmer 50 Questions (31)
Which of the following statements is true when SAS encounters a syntax error in a DATA step? a. The SAS log contains an explanation of the error. b. The DATA step continues to execute and the resulting data set is complete. c. The DATA step stops executing at the point of the error and the […]
SAS Certified Base Programmer 50 Questions (30)
The descriptor and data portions of the Work.Salaries data set are shown below. Variable Type Len Pos ——————— name Char 8 0 salary Char 8 16 status Char 8 8 name status salary ———————- Liz S 15,600 Herman S 26,700 Marty S 35,000 The following SAS program is submitted: proc print data=work.salaries; where salary
SAS Certified Base Programmer 50 Questions (29)
A frequency report of the variable Jobcode in the Work.Actors data set is listed below. Jobcode Frequency Percent Cumulative Frequency Cumulative Percent Actor I 2 33.33 2 33.33 Actor II 2 33.33 4 66.67 Actor III 2 33.33 6 100.00 Frequency Missing = 1 The following SAS program is submitted: data work.joblevels; set work.actors; if […]