SASInstitute SAS base programming - A00-201 FREE EXAM DUMPS QUESTIONS & ANSWERS
The contents of the raw data file CALENDAR are listed below:
----|----10---|----20---|----30
01012000
The following SAS program is submitted:
data test;
infile 'calendar';
input @1 date mmddyy10.;
if date = '01012000'd then event = 'January 1st';
run;
Which one of the following is the value of the EVENT variable?
----|----10---|----20---|----30
01012000
The following SAS program is submitted:
data test;
infile 'calendar';
input @1 date mmddyy10.;
if date = '01012000'd then event = 'January 1st';
run;
Which one of the following is the value of the EVENT variable?
Correct Answer: B
Vote an answer
Which one of the following SAS statements renames two variables?
Correct Answer: A
Vote an answer
Which one of the following statements is true regarding the name of a SAS array?
Correct Answer: C
Vote an answer
The observations in the SAS data set WORK.TEST are ordered by the values of the variable SALARY.
The following SAS program is submitted:
proc sort data = work.test out = work.testsorted;
by name;
run;
Which one of the following is the result of the SAS program?
The following SAS program is submitted:
proc sort data = work.test out = work.testsorted;
by name;
run;
Which one of the following is the result of the SAS program?
Correct Answer: A
Vote an answer
A realtor has two customers. One customer wants to view a list of homes selling for less than $60,000. The other customer wants to view a list of homes selling for greater than
$100,000.
Assuming the PRICE variable is numeric, which one of the following PRINT procedure steps will select all desired observations?
$100,000.
Assuming the PRICE variable is numeric, which one of the following PRINT procedure steps will select all desired observations?
Correct Answer: D
Vote an answer
The following SAS program is submitted:
options pageno = 1;
proc print data = sasuser.houses;
run;
proc means data = sasuser.shoes;
run;
The report created by the PRINT procedure step generates 5 pages of output. What is the page number on the first page of the report generated by the MEANS procedure step?
options pageno = 1;
proc print data = sasuser.houses;
run;
proc means data = sasuser.shoes;
run;
The report created by the PRINT procedure step generates 5 pages of output. What is the page number on the first page of the report generated by the MEANS procedure step?
Correct Answer: A
Vote an answer