Exam1pass
Easiest way to pass IT exams
Exam1pass Help You Pass Any IT Exam
http://www.exam1pass.com
Exam:
A00-211
Titele: SAS Base Programming
for SAS 9
Version: Demo
Exam1pass
Easiest way to pass IT exams
Exam1pass Help You Pass Any IT Exam
http://www.exam1pass.com
1. The following SAS program is submitted:
data work.flights;
destination=’CPH’;
select(destination);
when(“LHR”)city=”London”,
when(“FRA”)city=”Frankfurt”,
otherwise;
end;
run;
what are the length and value of the CITY variable?
A. length of6, value of CPH
B. length of9, value of CPH
C. length of6, value of ‘’ (missing character value)
D. length of9, value of ‘’ (missing character value)
Answer: C
2. Giben the SAS data set SASUSER.HOUSES:
The following SAS prograrm is submitted:
The following output is desired:
Style price
CONDO $78,700
TWOSTORY $62,550
Which DEFINE statement completes the program and produces the desired output?
A. define style / width=9;
B. define style / order width=9;
C. define style / group width=9;
D. define style /display width=9;
Answer: C
3. The following SAS program is submitted;
Libname temp’SAS’ data library’;
Exam1pass
Easiest way to pass IT exams
Exam1pass Help You Pass Any IT Exam
http://www.exam1pass.com
Data work .new;
Set temp.jobs;
Format newdate mmddyy10;
Mdate=month(newdate);
Ddate=weekday(newdate);
run;
proc print data= work new;
run;
The variable NEWDATE contains the SAS date value for April 15 ,2005.
What output is produced if April 15 , 2005 falls on a Friday?
A. Obs newdate mdate ddate
1 04/15/2005 APR 6
B. Obs newdate mdate ddate
1 04/15/2005 46
C. Obs newdate mdate ddate
1 04/15/2005 APR 7
D. Obs newdate mdate ddate
1 04/15/2005 APR 47
Answer: B
4. The following SAS program is submitted:
data work .sets;
do until (prod gt 6);
prod +1 ;
end ;
run;
what is the value of the variable PROD in the output data set?
A. 6
B. 7
C. 8
D. (missing numeric)
Answer: B
5. What is the purpose of the END=option on the INFILE statement?
A. It identifies the last record read in a raw data file
B. It identifies the last DATA s