0% found this document useful (0 votes)
134 views5 pages

A00-231 SAS 9.4 Base Programming - Performance-Based Exam Updated Dumps

Itfreedumps offers the latest online questions for various IT certifications, including Microsoft, Cisco, and CompTIA. The document provides sample exam questions and answers for the A00-231 exam, along with explanations for SAS programming scenarios. Additionally, it lists hot exams currently available for certification preparation.

Uploaded by

donghuachan1281
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
134 views5 pages

A00-231 SAS 9.4 Base Programming - Performance-Based Exam Updated Dumps

Itfreedumps offers the latest online questions for various IT certifications, including Microsoft, Cisco, and CompTIA. The document provides sample exam questions and answers for the A00-231 exam, along with explanations for SAS programming scenarios. Additionally, it lists hot exams currently available for certification preparation.

Uploaded by

donghuachan1281
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Itfreedumps provides the latest online questions for all IT certifications,

such as IBM, Microsoft, CompTIA, Huawei, and so on.

Hot exams are available below.

AZ-204 Developing Solutions for Microsoft Azure

820-605 Cisco Customer Success Manager

MS-203 Microsoft 365 Messaging

HPE2-T37 Using HPE OneView

300-415 Implementing Cisco SD-WAN Solutions (ENSDWI)

DP-203 Data Engineering on Microsoft Azure

500-220 Engineering Cisco Meraki Solutions v1.0

NACE-CIP1-001 Coating Inspector Level 1

NACE-CIP2-001 Coating Inspector Level 2

200-301 Implementing and Administering Cisco Solutions

Share some A00-231 exam online questions below.


1.The following SAS program is submitted:
What are the values for x and y in the output data set?
A. There is a syntax error: x and y are both set to missing.
B. There is a syntax error: x=2, y is set to missing.
C. There are no errors: x=2, y=200.
D. There is a logic error: x=2, y=27.
Answer: D

2.The variable Name in the data set Employeehas a $CHAR10. format. The variable Name in the
data set Sales has a $CHAR15. format.
The following SAS program is submitted: data both;
length name $ 20;
merge sales employee;
by id;
run;
What is the format for the variable Name in the data set Both?
Select one:
A. $20
B. $CHAR10
C. $CHAR15
D. $CHAR20
Answer: C

3.SIMULATION
Scenario:
This project will use data set cert.input13. At any time, you may save your program as program13 in
cert\programs.
This data set contains 1001 observations and 2 variables:
o Date1, a numeric variable representing an unformatted SAS date value. Example: 12001.
o Charnum, a character variable representing a monetary
amount. Example: $50,000.
Write a SAS program that will:
o Save the new data set as results.output13.
o Create a new variable Chdate that converts the datel variable to a character variable that is in the
format ddmonyyyy, such as 11NOV1992.
o Create a new variable num1 that converts the Charnum variable to a numeric variable.
What is the average (mean) of the num1 variable for the entire data set?
Enter your numeric answer in the space below (Round your answer to the nearest integer).
Answer: 51763
Explanation:
data results.output13;
set cert.input13;
Chdate=put(date 1,date9.);
num 1=input(Charnum,dollar7.);
run;
proc means data=results.output13;
var num 1;
run;

4.SIMULATION
This project will use data set cert.input08a and cert.input08b. At any time, you may save your
program as program08 in cert\programs.
Both data sets contain a common numeric variable named ID.
Write a program that will use a SAS DATA Step to:
o Combine data sets cert.input08a and cert.input08b by
matching values of the ID variable.
o Write only observations that are in both data sets to a
new data set named results.match08.
o Write all other non-matching observations from either data set to a new data set named
results.nomatch08. o Exclude all variables that begin with
"ex" from results.nomatch08.
How many observations (rows) are inresults.match08?
Enter your numeric answer in the space below:
Answer: 1200
Explanation:
SAS code that could be used to solve this project:
proc sort data=cert.input08a out=work.input08a;
by ID;
run;
proc sort data=cert.input08b out=work.input08b;
by ID;
run;
data results.match08 results.nomatch08 (drop=ex: );
merge work.input08a (in=a) work.input08b (in=b);
by ID;
if a and b then output results.match08;
else output results.nomatch08;
run;
proc contents data=results.match08;
run:
proc contents data=results.nomatch08;
run;
The correct answer is: 1200

5.SIMULATION
Scenario:
This project will use data setcert.input36. At any time, you may save your program asprogram36 in
cert\programs. Write a SAS program that will clean the data incert.input36as follows:
Step 1:
create a temporary data set, cleandata36.
In this data set, convert all case.
Then keep only observations with group equal to 'A' or 'B'.
Step 2:
Determine the MEDIAN value for the Kilograms variable for each group(A,B) in the cleandata36 data
set. Round MEDIAN to the nearest whole number.
Step 3:
Create results.output36 from cleandata36
Ensure that all values for variable Kilogramsare between 40 and 200, inclusively.
If the value is missing or out of range, replace the value with the MEDIAN Kilograms value for the
respectivegroup(A,B) calculated in step 2
How many observations are inresults.output36?
Answer: 4992
Explanation:
data work.cleandata36;
set cert.input36;
group=upcase(group);
if group in ('A','B');
run;
proc means data=work.cleandata36 median;
class group;
var kilograms;
run;
data results.output36;
set cleandata36;
if Kilograms < 40 or Kilograms > 200 then do;
if group='A' then kilograms=79; else kilograms=89;
end;
run;
proc contents data=results.output36;
run;

6.SIMULATION
Scenario:
This project will use data set cert.input27. At any time, you may save your program as program27 in
cert\programs. You will use this program in the next project.
Write a SAS program that will:
o Create output data set results.output27a as a subset
of cert.input27 where the country variable's value is
"US" (any variation of case, such as US or us).
o Sort results.output27a:
" first by the variable state in ascending order
" then by Postal_Code in descending order
" and finally by employee_ID in ascending order.
Run the program and use the results to answer the question below.
What is the value of Employee_ID for observation 100 in results.output27a?
Answer: 120781
Explanation:
proc sort data=cert.input27
out=results.output27a(where=(upcase (country)='US'));
by state descending Postal_Code employee_ID;
run;
proc print data=results.output27a (firstobs=100 obs=100);
var employee_ID;
run:

Get A00-231 exam dumps full version.

Powered by TCPDF (www.tcpdf.org)

You might also like