SAS Certified Base Programmer 123 Questions (86)
The following SAS program is submitted: data work.clients; calls = 6; do while (calls le 6); calls + 1; end; run; Which one of the following is the value of the variable CALLS in the output data set? A. 4 B. 5 C. 6 D. 7
SAS Certified Base Programmer 123 Questions (85)
The following SAS program is submitted: data work.pieces; do while (n lt 6); n + 1; end; run; Which one of the following is the value of the variable N in the output data set? A. 4 B. 5 C. 6 D. 7
SAS Certified Base Programmer 123 Questions (84)
The following SAS program is submitted: data work.sales; do year = 1 to 5; do month = 1 to 12; x + 1; end; end; run; Which one of the following represents how many observations are written to the WORK.SALES data set? A. 0 B. 1 C. 5 D. 60
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. […]