Labour Day Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

Free A00-211 SAS Institute Updates

Page: 7 / 10
Total 270 questions

SAS Base Programming for SAS (r) 9 Questions and Answers

Question 25

Given the raw data file ‘DEPENDENTS.TXT’:

The following SAS program is submitted:

What will be the value of _ERROR_ in the Program Data Vector for each iteration of the DATA step?

Options:

A.

B.

C.

D.

Question 26

The following SAS program is submitted:

The SAS data set WORK.SALARY is currently ordered by Gender within Department. Which inserted code will accumulate subtotals for each Gender within Department?

Options:

A.

Gender

B.

Department

C.

Gender Department

D.

Department Gender

Question 27

Given the following raw data records:

The following output is desired:

Which SAS program correctly reads in the raw data?

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 28

The following SAS program is submitted:

data work.totalsales;

set work.monthlysales(keep = year product sales);

retain monthsales {12} ;

array monthsales {12} ;

do i = 1 to 12;

monthsales{i} = sales;

end;

cnt + 1;

monthsales{cnt} = sales;

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?

Options:

A.

The program fails execution due to data errors.

B.

The program fails execution due to syntax errors.

C.

The program runs with warnings and creates the WORK.TOTALSALES data set with 60 observations.

D.

The program runs without errors or warnings and creates the WORK.TOTALSALES data set with 60 observations

Page: 7 / 10
Total 270 questions