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

Changed A00-211 Exam Questions

Page: 8 / 10
Total 270 questions

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

Question 29

This question will ask you to provide a segment of missing code.

Given the SAS data set WORK.ONE:

The following SAS program is submitted:

The data set WORK.TWO is created, where Day would be the day of the month:

Which expression successfully completed the program and creates the variable Day?

Options:

A.

day(BeginDate)

B.

weekday(BeginDate)

C.

dayofmonth(BeginDate)

D.

getday(BeginDate)

Question 30

The following SAS program is submitted:

data WORK.OUTDS;

do until(Prod GT 6);

Prod + 1;

end;

run;

What is the value of the variable Prod in the output data set?

Options:

A.

(missing)

B.

6

C.

7

D.

Undetermined, infinite loop.

Question 31

After a SAS program is submitted, the following is written to the SAS log:

What issue generated the error in the log?

Options:

A.

There should have been commas between the variable names.

B.

The list of variables should have been enclosed in parentheses.

C.

A drop statement and a keep= data set option cannot both be used at the same time.

D.

The syntax of the drop statement does not use an equals sign.

Question 32

The SAS data set named WORK.SALARY contains 10 observations for each department, and is currently ordered by Department.

The following SAS program is submitted:

What is the value of the variable Total before the first iteration of the data step?

Options:

A.

The value of the first observation’s Wagerate.

B.

0

C.

Missing

D.

Cannot be determined from the information given

Page: 8 / 10
Total 270 questions