Winter Sale Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: v4s65

Note! Following A00-211 Exam is Retired now. Please select the alternative replacement for your Exam Certification.

A00-211 Exam Dumps - SAS Base Programming for SAS (r) 9

Go to page:
Question # 9

Which one of the following SAS statements renames two variables?

A.

set work.dept1work.dept2(rename = (jcode = jobcode)(sal = salary));

B.

set work.dept1work.dept2(rename = (jcode = jobcodesal = salary));

C.

set work.dept1work.dept2(rename = jcode = jobcodesal = salary);

D.

set work.dept1work.dept2(rename = (jcode jobcode)(sal salary));

Full Access
Question # 10

The following SAS program is submitted:

data work.test;

Author = 'Agatha Christie';

First = substr(scan(author,1,' ,'),1,1);

run;

Which one of the following is the length of the variable FIRST in the output data set?

A.

1

B.

6

C.

15

D.

200

Full Access
Question # 11

The contents of the raw data file EMPLOYEE are listed below:

--------10-------20-------30

Ruth 39 11

Jose 32 22

Sue 30 33

John 40 44

The following SAS program is submitted:

data test;

infile 'employee';

input employee_name $ 1-4;

if employee_name = 'Sue' then input age 7-8;

else input idnum 10-11;

run;

Which one of the following values does the variable AGE contain when the name of the employee is "Sue"?

A.

30

B.

33

C.

40

D.

. (missing numeric value)

Full Access
Question # 12

The following SAS program is submitted:

If the value for the Alumcode is: ALUM2, what is the value of the variable Description?

A.

Grad Level

B.

Unknown

C.

GRAD LEVEL

D.

‘’ (missing character value)

Full Access
Question # 13

The contents of the SAS data set PERM.JAN_SALES are listed below:

VARIABLE NAME TYPE

idnum character variable

sales_date numeric date value

A comma delimited raw data file needs to be created from the PERM.JAN_SALES data set. The SALES_DATE values need to be in a MMDDYY10 form.

Which one of the following SAS DATA steps correctly creates this raw data file?

A.

libname perm 'SAS-data-library';data _null_;set perm.jan_sales;file 'file-specification' dsd = ',';put idnum sales_date : mmddyy10.;run;

B.

libname perm 'SAS-data-library';data _null_;set perm.jan_sales;file 'file-specification' dlm = ',';put idnum sales_date : mmddyy10.;run;

C.

libname perm 'SAS-data-library';data _null_;set perm.jan_sales;file 'file-specification';put idnum sales_date : mmddyy10. dlm = ',';run;

D.

libname perm 'SAS-data-library';data _null_;set perm.jan_sales;file 'file-specification';put idnum sales_date : mmddyy10. dsd = ',';run;

Full Access
Question # 14

Given the SAS data set WORK.P2000:

And the SAS data set WORK.P2008:

The following output is desired:

Which SAS program correctly combines the data?

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 15

Which is a valid LIBNAME statement?

A.

libname "_SAS_data_library_location_";

B.

sasdata libname "_SAS_data_library_location_";

C.

libname sasdata "_SAS_data_library_location_";

D.

libname sasdata sas "_SAS_data_library_location_";

Full Access
Question # 16

The value 110700 is stored in a numeric variable named SALARY.

Which FORMAT statement displays the value as $110,700.00 in a report?

A.

format salary comma11.2;

B.

format salary dollar8.2;

C.

format salary dollar11.2;

D.

format salary comma8.2 dollar8.2;

Full Access
Go to page: