SAS Certified Base Programmer 123 Questions (83)
A raw data record is listed below: —-|—-10—|—-20—|—-30 1999/10/25 The following SAS program is submitted: data projectduration; infile’ file-specification’; input date $ 1 – 10; <insert statement here> run; Which one of the following statements completes the program above and computes the duration of the project in days as of today’s date? A. duration = […]
SAS Certified Base Programmer 123 Questions (82)
A raw data record is listed below: —-|—-10—|—-20—|—-30 Printing 750 The following SAS program is submitted: data bonus; infile’file-specification’; input dept $ 1 – 11 number 13 – 15; <insert code here> run; Which one of the following SAS statements completes the program and results in a value of ‘Printing750’ for the DEPARTMENT variable? A. […]
SAS Certified Base Programmer 123 Questions (81)
The following SAS program is submitted: data work.month; date = put(’13,mar2000’d,ddmmyy10.); run; Which one of the following represents the type and length of the variable DATE in the output data set? A. numeric, 8 bytes B. numeric, 10 bytes C. character, 8 bytes D. character, 10 bytes
SAS Certified Base Programmer 123 Questions (80)
The following SAS program is submitted: data work.month; date = input(’13mar2000′,date9.); run; Which one of the following represents the type and length of the variable DATE in the output data set? A. numeric, 8 bytes B. numeric, 9 bytes C. character, 8 bytes D. character, 9 bytes
SAS Certified Base Programmer 123 Questions (79)
The following SAS program is submitted: data work.products; Product_Number=5461; Item = ‘1001’; Item_Reference=Item||’/’||Product_Number; run; Which one of the following is the value of the variable ITEM_REFERENCE in the output data set? A. 1001/5461 B. 1001/ 5461 C. . (missing numeric value) D. The value can not be determined as the program fails to execute due to […]