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

Note! Following A00-212 Exam is Retired now. Please select the alternative replacement for your Exam Certification.

A00-212 Exam Dumps - SAS Advanced Programming

Go to page:
Question # 25

The following SAS program is submitted:

%let a=cat;

%macro animal(a=frog);

%let a=bird;

%mend;

%animal(a=pig)

%put a is &a;

What is written to the SAS log?

A.

a is pig

B.

a set cat

C.

a is frog

D.

a is bird

Full Access
Question # 26

The following SAS program is submitted:

What is the value of the macro variable Newval when the %PUT statement executes?

A.

0.555

B.

2.2

C.

1

D.

2

Full Access
Question # 27

Given the SAS data set SAUSER.HIGWAY:

SASUSER.HIGHWAY

The following SAS program is submitted:

%macro highway;

proc sql nonprint;

%let numgrp=6;

select distinct status into:group1-:group&numgrp from sasuser.highway;

quit;

%do i=1 %to &numgrp;

proc print data =sasuser.highway;

where status ="&&group&I";

run;

%end;

%mend;

%highway

How many reports are produced?

A.

2

B.

6

C.

0

D.

5

Full Access
Go to page: