Certbus > SASInstitute > Programming Fundamentals > A00-215 > A00-215 Online Practice Questions and Answers

A00-215 Online Practice Questions and Answers

Questions 4

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

A. proc import data="mydata. sales" dbms=csv out="mydata.sales; nun

B. proc import datafile="sales.csv" dbms=csv out-mydata. sales;

C. proc import data=mydata.sales dbms=csv out=mydata.gales; run,

D. proc import datafile=sales.csv dbms=csv out--"mydata,sales"; run;

Browse 60 Q&As
Questions 5

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;

Browse 60 Q&As
Questions 6

Given the input data set WORK. GR_ANS with two character variables:

The following SAS program is submitted:

Which report is created?

A. Option A

B. Option B

C. Option C

D. Option D

Browse 60 Q&As
Questions 7

How many statements are in the following PROC PRINT step?

A. 5

B. 3

C. 4

D. 1

Browse 60 Q&As
Questions 8

Which statement is true regarding the DATA step?

A. The DATA step can only read raw data files.

B. The DATA step reads, processes and creates date

C. The DATA step can output only one data set.

D. The DATA step must be the first step in a program.

Browse 60 Q&As
Questions 9

Given the SAS data set WORK PRODUCTS:

The following SAS program is submitted:

How many variables does the WORK REVENUE data set contains?

A. 4

B. 5

C. 2

D. 3

Browse 60 Q&As
Questions 10

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.

Browse 60 Q&As
Questions 11

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

Browse 60 Q&As
Questions 12

Which PROC PRINT step correctly displays only the first 10 observations in the data set?

A. proc print data=sashelp.class(obs=l10); run;

B. proc print data=sashelp.class; obs=10; run;

C. proc print data=sashelp.class obs=10; run;

D. proc print data=sashelp.class (oba?10' ) ; run;

Browse 60 Q&As
Questions 13

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

Browse 60 Q&As
Questions 14

Which two data sets are permanent?

A. New

B. Mylib.new

C. Work.new

D. Temp.new

Browse 60 Q&As
Questions 15

What step has correct syntax for the CONTENTS procedure?

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;

Browse 60 Q&As
Questions 16

When the following code is submitted, execution fails.

Why does the execution fail?

A. Multiple executable statements are not allowed in the DO block.

B. The OUTPUT statement is not allowed in the DO block.

C. There are two unclosed DO block.

D. The conditional logic expressions fail for the DO block

Browse 60 Q&As
Questions 17

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.

Browse 60 Q&As
Questions 18

Given the program shown below:

Given the partial PROC PRINT report below:

Why are the labels for msbp, MPG_city, and MPG_Highway NOT displaying in the PROC PRINT report^

A. You must use the LABEL option on the PROC PRINT statement

B. You must put the LABEL statement in the PROC PRINT step

C. You must put the LABEL statement after the KEEP statement In the DATA stop

D. You must use a single LABEL statement for each variable.

Browse 60 Q&As
Exam Code: A00-215
Exam Name: SAS 9.4 Programming Fundamentals Exam
Last Update: Apr 23, 2024
Questions: 60 Q&As

PDF

$45.99

VCE

$49.99

PDF + VCE

$59.99