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

Helping Hand Questions for A00-211

Page: 6 / 10
Total 270 questions

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

Question 21

Given the contents of the raw data file 'EMPLOYEE.TXT'

Which SAS informat correctly completes the program?

Options:

A.

date9

B.

mmddyy10

C.

ddmmyy10

D.

mondayyr10

Question 22

Given the SAS data set WORK.ONE:

The following SAS program is submitted:

The data set WORK.TWO is created, where Day would be 1 for Sunday, 2 for Monday, 3 for Tuesday, ... :

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

Options:

A.

day(BeginDate)

B.

weekday(BeginDate)

C.

dayofweek(BeginDate)

D.

getday(BeginDate,today())

Question 23

The following SAS program is submitted:

data work.pieces;

do while (n lt 6);

n + 1;

end;

run;

Which one of the following is the value of the variable N in the output data set?

Options:

A.

4

B.

5

C.

6

D.

7

Question 24

The SAS data set Fed.Banks contains a variable Open_Date which has been assigned a permanent label of "Open Date". Which SAS program temporarily replaces the label "Open Date" with the label "Starting Date" in the output?

Options:

A.

proc print data=SASUSER.HOUSES label;label Open_Date "Starting Date";run;

B.

proc print data=SASUSER.HOUSES label;label Open_Date="Starting Date";run;

C.

proc print data=SASUSER.HOUSES;label Open_Date="Starting Date";run;

D.

proc print data=SASUSER.HOUSES;Open_Date="Starting Date";run;

Page: 6 / 10
Total 270 questions