Month End Special Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: scxmas70

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 # 17

The following SAS program is submitted:

data combine;

prefix=’505’;

middle=’6465 ‘;

end=’09090’;

;

run;

Which statement successfully completes the program so that TOTAL has a value of 505-6465-

09090?

A.

total = cat(’-’, prefix, middle, end);

B.

total = catx(’-’, prefix, middle, end);

C.

total = prefix !!’-’!! middle ‘‘!!’-’!! end;

D.

total = prefix!!’-’!! left(middle)!!’-’!! end;

Full Access
Question # 18

The following SAS program is submitted:

data test;

set sasuser.employees;

if 2 le years_service le 10 then

amount = 1000;

else amount = 0;

amount_per_year = years_service / amount

run;

What is the value of the variable AMOUNT_PER_YEAR if an employee has been with the company for one year?

A.

0

B.

0.001

C.

1

D.

. (missing numeric value)

Full Access
Question # 19

The following SAS program is submitted:

data work.accounting;

set work.department;

length jobcode $ 12;

jobcode=’FAl’;

run;

The WORK.DEPARTMENT data set contains a character variable named JOBCODE with a length of 5. What is the result?

A.

The length of the variable JOBCODE is 3.

B.

The length of the variable JOBCODE is 5.

C.

The length of the variable JOSBODE is 12.

D.

The program fails to execute due to errors.

Full Access
Question # 20

The following SAS program is submitted:

data one;

date = ‘04juI2005’d;

format date weekdate.; run;

proc print data = one; run;

What output is generated?

A.

Obs date1 Monday, July 4, 2005

B.

Obs date1 July4, 2005

C.

Obs date1 04Jul2005

D.

Obs date1 Monday, 07/04/2005

Full Access
Question # 21

The following SAS program is submitted, creating the SAS data set ONE:

data one;

infile ‘file specification’;

input num chars$;

run;

ONE

NUMCHAR

----------------

123

323

177

The following SAS program is submitted:

proc print data = one;

where char = 23;

run;

What is output?

A.

NUM CHAR1 772

B.

NUM CHAR1 233 23

C.

NUM CHAR1 233 231 77

D.

No output is generated.

Full Access
Question # 22

Which statement specifies that records 1 through 10 are to be read from the raw data file customer.txt?

A.

infile 'customer.txt' 1-10;

B.

input 'customer.txt' stop@10;

C.

infile 'customer.txt' obs=10;

D.

input 'customer.txt' stop=10;

Full Access
Question # 23

The following SAS program is submitted:

data work.test;

set work.staff (keep = jansales febsales marsales);

array diff_sales{3} difsales1 - difsales3;

array monthly{3} jansales febsales marsales;

run;

What new variables are created?

A.

JANSALES, FEBSALES and MARSALES

B.

MONTHLY1, MONTHLY2 and MONTHLY3

C.

DIFSALES1, DIFSALES2 and DIFSALES3

D.

DIFF_SALES1, DIFF_SALES2 and DIFF_SALES3

Full Access
Question # 24

Given the following raw data records in DATAFILE.TXT:

Which output is correct based on the submitted program?

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Go to page: