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

A00-215 SAS Certified Associate: Programming Fundamentals Using SAS 9.4 Questions and Answers

Questions 4

Which program correctly subnets the SASHELP. BASEBALL data set to include only the players in the East Division with 75 or more hits?

Options:

A.

data bball;

set sashelp.baseball;

where Division and nHits in ('East' and 75+);

run;

B.

data bball;

set sashelp.baseball;

where Division = 'East';

where nHits >= 75;

run;

C.

data bball;

set sashelp.baseball;

where Division - 'East' or nHits >= 75;

run;

D.

data bball;

set sashelp.baseball;

where Division = 'East' and nHits >= 75;

run;

Buy Now
Questions 5

Which PROC PRINT option displays variable labels in the report?

Options:

A.

SHOWLABELS

B.

COLS

C.

LABELS=

D.

LABEL

Buy Now
Questions 6

Given the partial report shown below:

Which step will produce this report?

Options:

A.

proc freq data=sashelp. shoes order=freq;

tables region*product / list;

run;

B.

proc freq data=sashelp. shoes;

tables region product / list;

run;

C.

proc freq data=sashelp. shoes order=freq;

tables region product / crosslist;

run;

D.

proc freq data=sashelp. shoes;

tables region*product / crosslist;

run;

Buy Now
Questions 7

Given the data sets AMERICIAN NATIONAL and results in the data set BASEBALL shown below:

Which DATA step correctly creates the BASEBALL data set?

Options:

A.

data baseball;

set american (rename=(Team=TeamName)) national;

run;

B.

data baseball;

set american national;

run;

C.

data baseball;

set American (rename=(TeamName=Team)) national;

run;

D.

data baseball;

set national American;

run;

Buy Now
Questions 8

What is the result of submitting the program below?

proc contents data=revenue;

run;

Options:

A.

a report showing the descriptor portion of the REVENUE data set

B.

a report showing the properties of the REVENUE variable

C.

a report showing the values of the REVENUE variable

D.

a report showing the data portion of the REVENUE data set

Buy Now
Questions 9

Which step reads the SASHELP. BASEBALL data set and creates the temporary data set CATCHERS?

Options:

A.

data sashelp. catchers;

set sashelp.baseball;

where position='c';

run;

B.

data sashelp.baseball;

set catchers;

where position='c';

run;

C.

data sashelp.baseball;

set sashelp.catchers;

where position='c';

run;

D.

data catchers;

set sashelp.baseball;

where position='c';

run;

Buy Now
Questions 10

The data set Snacks contains three variables (productName, Flavor, and Price). Given the program shown below:

What is the type and length of SnackType?

Options:

A.

Numeric, 8

B.

Character, 7

C.

Character, 8

D.

Character, 5

Buy Now
Questions 11

How does SAS display missing values?

Options:

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

Buy Now
Questions 12

The data set SASHELP. CARS contains information on different vehicles. How do you correctly write the observations with Type of 'SUV' to the suv data set and Type

of 'Sedan' to the sedans data set?

Options:

A.

data=SUV data=Sedans;

set sashelp.cars;

if Type = 'SUV' then output SUV;

else if Type = 'Sedan' then output Sedans;

run;

B.

data SUV Sedans;

set sashelp.cars;

if Type = 'SUV' then output SUV;

else if Type = 'Sedan' then output Sedans;

run;

C.

data SUV;

data Sedans;

set sashelp.cars;

if Type = SUV then output SUV;

else if Type = Sedan then output Sedans;

run;

D.

data= (SUV Sedans) ;

set sashelp.cars;

if Type = 'SUV' then output SUV;

else if Type = 'Sedan' then output Sedans;

run;

Buy Now
Questions 13

Which statements read the input data set SASHELP. SHOES and create the output data set WORK. TOTAL?

Options:

A.

data sashalp.shoes;

out work.total;

B.

data sashelp.shoes;

output work.total;

C.

data work.total;

set sashelp.shoes;

D.

data out=work.total;

input sasholp.shoes

Buy Now
Questions 14

How many statements are in the following PROC PRINT step?

Options:

A.

5

B.

3

C.

4

D.

1

Buy Now
Questions 15

Given the report shown below:

Which PROC PREQ step creates the frequency report?

Options:

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;

Buy Now
Questions 16

Which statement is true about the DROP statement during the compilation phase of the DATA step?

Options:

A.

The DROP statement flags the variables in the Program Data Vector to be dropped at output.

B.

The DROP statement determines the order of the variables in the Program Data Vector

C.

Variables on the DROP statement are removed from the input data set.

D.

Variables on the DROP statement are not created in the Program Data Vector

Buy Now
Questions 17

How many statements are In the program shown below?

Options:

A.

9

B.

6

C.

10

D.

2

Buy Now
Questions 18

____ steps typically report, manage, or analyze data.

Enter your answer in the space above. Case is ignored.

Options:

Buy Now
Questions 19

Which PROC IMPORT step correctly creates the MYDATA,SALES data set from the SALES.SCV file?

Options:

A.

proc import datafile=sales.csv dbms=csv

out="mydata.sales";

run;

B.

proc import datafile="sales.csv" dbms=csv

out=mydata. sales;

run;

C.

proc import data="mydata. sales" dbms=csv

out="mydata.sales";

run;

D.

proc import data=mydata.sales dbms=csv

out=mydata.sales;

run;

Buy Now
Questions 20

Which two statements are true about data set options such as KEEP= and RENAME =? (Choose two.)

Options:

A.

The options must be placed in parentheses.

B.

The options are not allowed in PROC steps.

C.

The options can be used only on the output data set.

D.

The options are placed after the data set name.

Buy Now
Questions 21

What step has correct syntax for the CONTENTS procedure?

Options:

A.

Proc contents file=sashelp .shoes;

Run;

B.

Proc contents lib=sashelp data=shoes;

Run;

C.

Proc contents data=sashelp.shoes;

Run;

D.

Proc contents sashelp. Shoes;

run;

Buy Now
Questions 22

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

Options:

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

Buy Now
Questions 23

What is the default sort order of PROC SORT?

Options:

A.

Internal

B.

Ascending

C.

Formatted

D.

Descending

Buy Now
Exam Code: A00-215
Exam Name: SAS Certified Associate: Programming Fundamentals Using SAS 9.4
Last Update: May 7, 2024
Questions: 78

PDF + Testing Engine

$130

Testing Engine

$95

PDF (Q&A)

$80