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

SAS Institute A00-211 Based on Real Exam Environment

Page: 10 / 10
Total 270 questions

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

Question 37

The following SAS program is submitted:

data work.test;

array agents{4} $ 12 sales1 - sales4;

run;

Which one of the following represents the variables that are contained in the output data set?

Options:

A.

SALES1, SALES2, SALES3, SALES4

B.

AGENTS1, AGENTS2, AGENTS3, AGENTS4

C.

None, the DATA step fails because the ARRAY statement can reference only numeric data.

D.

None, the DATA step fails because the ARRAY statement can reference only pre-existing variables.

Question 38

Given the following raw data records:

The following output data set is desired:

Which SAS program correctly reads in the raw data?

Options:

A.

B.

C.

D.

Question 39

The following SAS program is submitted:

libname temp 'SAS-data-library';

data work.new;

set temp.jobs;

format newdate mmddyy10.;

qdate = qtr(newdate);

ddate = weekday(newdate);

run;

proc print data = work.new;

run;

The variable NEWDATE contains the SAS date value for April 15, 2000.

What output is produced if April 15, 2000 falls on a Saturday?

Options:

A.

Obs newdate qdate ddate1 APR152000 2 6

B.

Obs newdate qdate ddate1 04/15/2000 2 6

C.

Obs newdate qdate ddate1 APR152000 2 7

D.

Obs newdate qdate ddate1 04/15/2000 2 7

Question 40

The following SAS program is submitted:

What will the data set WORK.TEST contain?

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Page: 10 / 10
Total 270 questions