SAS Certified Base Programmer 123 Questions (88)
The SAS data set SASUSER.HOUSES contains a variable PRICE which has been assigned a permanent label of “Asking Price”. Which one of the following SAS programs temporarily replaces the label “Asking Price” with the label “Sale Price” in the output? A. proc print data = sasuser.houses; label price = “sale Price”; run; B. proc print […]
SAS Certified Base Programmer 123 Questions (87)
The SAS data set BANKS is listed below: BANKS name rate FirstCapital 0.0718 DirectBank 0.0721 VirtualDirect 0.0728 The following SAS program is submitted: data newbank; do year = 1 to 3; set banks; capital + 5000; end; run; Which one of the following represents how many observations and variables will exist in the SAS data […]
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