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

A00-215 Exam Dumps - SAS Certified Associate: Programming Fundamentals Using SAS 9.4

Question # 4

Which PROC SORT statement specifies the sort variable?

A.

CLASS

B.

BY

C.

SORTVAR

D.

ORDERBY

Full Access
Question # 5

The SAS log of a submitted DATA step is shown below:

Which action resolve the error messages?

A.

Remove the period after the value of Inc.

B.

Enclose the value of ABC Inc . in quotation marks.

C.

Add a LENGTH statement to declare the company variable as character

D.

Enclose the value of ABC Inc. in parentheses.

Full Access
Question # 6

Given the SAS data set WORK PRODUCTS:

How many variables does the WORK REVENUE data set contains?

A.

4

B.

5

C.

2

D.

3

Full Access
Question # 7

Which variable in the Program Data Vector represents the number of times the Data step has iterated?

A.

N

B.

_N_

C.

_Obs_

D.

Obs

Full Access
Question # 8

Which ODS EXCEL statement correctly creates an Excel using the ANALYSIS style?

A.

Ods excel=’ c : \report. xlsx’ style=analysis;

B.

Ods excel workbook=’ report. xles’ analysis;

C.

Ods excel=’ c : \report. xlsx’ / analysis;

D.

Ods excel file =’c \report.xlsx’ styleanalysis;

Full Access
Question # 9

The following program is summited:

The following report is created:

However, the desired report is shown below:

What change is needed to display the desired formatted values for the Answer varia

A.

Change the unformatted values on the VALUE statement to upper case letters

B.

Remove the comma located on the VALUE statement

C.

Add a period to the end of the format name on the VALUE statement.

D.

Remove the dollar sign located at the front of the format name

Full Access
Question # 10

Given the report shown below:

Which PROC PREQ step creates the frequency report?

A.

proc freq data= cars;

tables make drivetrain;

run;

B.

proc freq data= cars;

tables make *drivetrain;

run;

C.

proc freq data- cars;

tables drivetrain make;

run;

D.

proc freq data- cars;

tables drivetrain* make;

run;

Full Access
Question # 11

Which statement is true about SAS program syntax?

A.

Any statement that begins with an & is a comment and will not execute.

B.

Global statements (such as LIBNAME) need a RUN statement to execute.

C.

Character values in quotation marks are case sensitive.

D.

SAS cannot process steps with multiple statements on the same line.

Full Access
Question # 12

Which statement is true regarding variable names?

A.

Variable names are case sensitive.

B.

Variable names are from 1 to 32 characters in length.

C.

Variable names are optional when you create a data set

D.

Variable names can start with a number or an underscore

Full Access
Question # 13

Given the STUDENTS data set below:

What will be the values for First. State and Last. State for Ellen's observation?

A.

First. State=0 and Last. State=1

B.

First. State=0 and Last.State=0

C.

First. State=1 and Last. State=1

D.

First. State=1 and Last.State=0

Full Access
Question # 14

Which statement is true regarding the SET statement?

A.

The SET statement specifies an input data set in the DATA step.

B.

The SET statement specifies an output data set in the PROC SORT step.

C.

The SET statement specifies an input data sot in the PROC SORT step

D.

The SET statement specifies an output data 5et in the DAI A step.

Full Access
Question # 15

Which PROC MEANS step generates the report below?

A.

proc means data=class mean std;

var Height Weight;

run;

B.

proc means data=class / mean std;

mean (Height, Weight) ;

std (Height, Weight) ;

run;

C.

proc means data=class;

var mean std;

run;

D.

proc means data=class;

options mean std;

keep Height Weight;

run;

Full Access
Question # 16

Which PROC MEANS statement specifies the numeric variables to analyze?

A.

BY

B.

CLASS

C.

TABLES

D.

VAR

Full Access
Question # 17

Given the following assignment statement:

BirthDate = 15DEC2005’d;

Which statement is true?

A.

15DEC2005 'd is a character constant

B.

BirthDate is a numeric variable.

C.

The byte size of BirthDate is 9.

D.

The assignment statement contains a syntax error.

Full Access
Question # 18

What happens when you submit the code shown below?

data table1 table2;

set sashelp.shoes;

output;

run;

A.

The program does not run because there is no data set specified on the OUTPUT statement.

B.

Each observation in sashelp. shoes is written to both table1 and table2.

C.

Each observation is written twice to table1 and table2.

D.

Each observation in sashelp. shoes is written to table1 only.

Full Access
Question # 19

Given the following code:

Which variables are created with the BY statement?

A.

State. First and State. Last

B.

First. State and Last. State

C.

First_State and Last_State

D.

First. and Last.

Full Access
Question # 20

Given the following DATA step:

What is the value of average?

Enter your numeric answer in the space above.

Full Access
Question # 21

Which statement is true when creating two SAS data sets with a DATA step?

A.

Name both data sets in the DATA statement

B.

Use an OUT= option in the WHERE statement to output the observations to the appropriate data sets.

C.

Use a PUT statement to output the observations to the appropriate data sets.

D.

Use a separate SET statement for each data set.

Full Access
Question # 22

Which SAS format displays a SAS date as 25JUN2019?

A.

ddMMMyy9.

B.

Date9.

C.

Ddmmmyyyy9.

D.

Dmy9.

Full Access
Question # 23

How does SAS display missing values?

A.

a period for missing numeric and a blank for missing character

B.

an N for missing numeric and C for missing character

C.

a blank for Doth numeric and character missing

D.

a blank for missing numeric and a $ for missing character

Full Access