Get Full Version of the Exam
http://www.EnsurePass.com/A00-201.html
Question No.181
The following SAS program is submitted: data work.month;
date = put(#39;13mar2000#39;d,ddmmyy10.); run;
Which one of the following represents the type and length of the variable DATE in the output data set?
-
numeric, 8 bytes
-
numeric, 10 bytes
-
character, 8 bytes
-
character, 10 bytes
Correct Answer: D
Question No.182
The following SAS program is submitted:
Which statement is true about the output data set?
-
The label of the variable Jobcode is Job (only the first word).
-
The label of the variable Jobcode is Job Desc (only the first 8 characters).
-
The label of the variable Jobcode is Job Description.
-
Labels can only be defined in PROC steps. The program fails to execute due to errors and the data set is not created.
Correct Answer: C
Question No.183
The following SAS program is submitted: data work.retail;
cost = #39;20000#39;; total = .10 * cost; run;
Which one of the following is the value of the variable TOTAL in the output data set?
A. 2000
B. #39;2000#39;
-
. (missing numeric value)
-
#39; #39; (missing character value)
Correct Answer: A
Question No.184
The following SAS program is submitted: data work.january;
set work.allmonths (keep = product month num_sold cost); if month = #39;Jan#39; then output work.january;
sales = cost * num_sold; keep = product sales; run;
Which variables does the WORK.JANUARY data set contain?
-
PRODUCT and SALES only
-
PRODUCT, MONTH, NUM_SOLD and COST only
-
PRODUCT, SALES, MONTH, NUM_SOLD and COST only
-
An incomplete output data set is created due to syntax errors.
Correct Answer: D
Question No.185
The following SAS program is submitted:
data work.totalsales (keep = monthsales{12} );
set work.monthlysales (keep = year product sales); array monthsales {12} ;
do i=1 to 12; monthsales{i} = sales; end;
run;
The data set named WORK.MONTHLYSALES has one observation per month for each of five years for a total of 60 observations.
Which one of the following is the result of the above program?
-
The program fails execution due to data errors.
-
The program fails execution due to syntax errors.
-
The program executes with warnings and creates the WORK.TOTALSALES data set.
-
The program executes without errors or warnings and creates the WORK.TOTALSALES data set
Correct Answer: B
Question No.186
The following SAS program is submitted: data work.report;
set work.sales_info;
if qtr(sales_date) ge 3; run;
The SAS data set WORK.SALES_INFO has one observation for each month in the year 2000 and the variable SALES_DATE which contains a SAS date value for each of the twelve months.
How many of the original twelve observations in WORK.SALES_INFO are written to the WORK.REPORT data set?
A.
2
B.
3
C.
6
D.
9
Correct Answer: C
Question No.187
The following SAS program is submitted:
What is produced as output?
-
A file named test.cvs that can only be opened in Excel.
-
A text file named test.cvs that can be opened in Excel or in any text editor.
-
A text file named test.cvs that can only be opened in a text editor.
-
A file named test.cvs that can only be opened by SAS.
-
Correct Answer: B
Question No.188
The following SAS program is submitted: libname temp #39;SAS-data-library#39;;
data work.new; set temp.jobs;
format newdate mmddyy10.; qdate = qtr(newdate);
ddate = weekday(newdate); run;
proc print data = work.new; run;
The variable NEWDATE contains the SAS date value for April 15, 2000. What output is produced if April 15, 2000 falls on a Saturday?
-
Obs newdate qdate ddate 1 APR152000 2 6
-
Obs newdate qdate ddate 1 04/15/2000 2 6
-
Obs newdate qdate ddate 1 APR152000 2 7
-
Obs newdate qdate ddate 1 04/15/2000 2 7
Correct Answer: D
Question No.189
The contents of the raw data file FURNITURE are listed below:
-10-20-30
chair,,table chair,couch,table
The following SAS program is submitted: data stock;
infile #39;furniture#39; dsd;
input item1 $ item2 $ item3 $; run;
Which one of the following is the value of the variable named ITEM2 in the first observation of the output data set?
-
table
-
,table
-
. (missing numeric value)
-
#39; #39; (missing character value)
Correct Answer: D
Question No.190
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?
A. |
1 |
B. |
2 |
C. |
5 |
D. |
6 |
Correct Answer: D
Get Full Version of the Exam
A00-201 Dumps
A00-201 VCE and PDF