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 # 17

The following SAS program is submitted:

data temp;

length 1 b 3 x;

infile 'file reference';

input a b x;

run;

What is the result?

A.

The data set TEMP is not created because variables A and B have invalid lengths

B.

The data set TEMP is created, but variable X is not created

C.

The data set TEMP is not created because variable A has an invalid length

D.

The data set TEMP is created and variable X has a length of 8

Full Access
Question # 18

Which one of the following options controls the pagesize of a SAS data set?

A.

SIZE=

B.

BUFNO=

C.

BUFSIZE=

D.

PAGESIZE=

Full Access
Question # 19

A data set stored on a network drive has the following characteristics:

  • 14 Million observations
  • 400 numeric variables
  • 0 character variables of length 20
  • Binary compression

A DATA Step query requires only 3 character and 15 numeric variables from this data set. What is the best way to reduce computer resource utilization in this DATA Step?

A.

A KEEP= data set option used on the SET Statement

B.

A KEEP Statement used within the DATA Step

C.

A KEEP= data set option used on the DATA Statement

D.

A DROP= data set option used on the DATA Statement

Full Access
Question # 20

The following SAS program is submitted:

Data sasuser.history;

Set sasuser.history(keep=state x y

Rename = (state=ST));

Total=sum(x, y);

Run;

The SAS data set SASUSER.HISTORY has an index on the variable STATE.

Which describes the result of submitting the SAS program?

A.

The index on STATE is deleted and an index on ST is created

B.

The index on STATE is recreated as an index on ST

C.

The index on STATE is deleted

D.

The index on STATE is updated as an index on ST

Full Access
Question # 21

The following SAS program is submitted:

%let value = 9;

%let value2 = 5;

%let newval = %eval(&value / &value2);

Which one of the following is the resulting value of the macro variable NEWVAL?

A.

1

B.

2

C.

1.8

D.

null

Full Access
Question # 22

Given the following SAS data set ONE:

ONE

CATEGORY AGE SALARY BONUS

M 28 200 20

M 25 100 10

M 28 300 10

M 33 300 30

F 18 100 50

F 25 200 10

F 35 400 50

The following SQL program is submitted:

proc sql;

create table two as

select distinct age

from one

where age < 33;

quit;

How many rows are written to the SAS data set TWO?

A.

3

B.

4

C.

5

D.

6

Full Access
Question # 23

The SAS data set ONE contains the variables X,Y,Z and W.

The following SAS program is submitted:

Proc transpose data =one

Out=trans

Name=new;

By x;

var y;

run;

What are the names of all of the columns created by the TRANSPOSE procedure?

A.

new, X,Y and _COL1_

B.

new, X and COL1 only

C.

new, Y and COL1 only

D.

new, X and Y only

Full Access
Question # 24

Given the data set SASHELP.CLASS:

SASHELP.CLASS

NAME AGE

Mary 15

Philip 16

Robert 12

Ronald 15

The following SAS program is submitted:

%let value = Philip;

proc print data = sashelp.class;

run;

Which WHERE statement successfully completes the program and procedures a report?

A.

Where upcase(name)=%upcase(&value);

B.

Where upcase(name)="upcase(&value)";

C.

Where upcase(name)=upcase(&value);

D.

Where upcase(name)="%upcase(&value)";

Full Access
Go to page: