Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

SAS Exam A00-231 Topic 1 Question 6 Discussion

Actual exam question for SAS's A00-231 exam
Question #: 6
Topic #: 1
[All A00-231 Questions]

SIMULATION

Scenario:

This project will use data setcert.input04. At any time, you may save your program asprogram04incert\programs. Write a SAS program that will create the data setresults.output04.

In this program, complete the following mathematical actions, in the following order:

Round VAR1 and VAR2 to the nearest integer values.

Multiply the rounded VAR1b y the rounded VAR2 and assign the new value to VAR3.

Add VAR12 through VAR19 (8 variables) together, ignoring missing values. Assign the sum to VAR20.

For observation 16, what is the value ofVAR20? Enter your numeric answer in the space below. Round your answer to the nearest whole number. Save your program asprogram04.sasincert\programs before continuing with the next project

Show Suggested Answer Hide Answer
Suggested Answer: A

SAS code that could be used to solve this project:

data results.output04;

set cert.input04;

var3=round(var1,1)*round(var2,1);

var20=sum(of var12-var19);

run;

proc print data=results.output04 (obs=16 firstobs=16);

var var3 var20;

run;

If you got this question wrong because you didn't round to the nearest whole number, please know that the actual exam will restrict you to entering only a whole number to prevent this from occurring. The correct answer is: 3175


Contribute your Thoughts:

Thad
2 months ago
Wait, did they say we can save our program as program04.sas? I'm going to name mine 'program04_the_best.sas' just to be sure.
upvoted 0 times
Sherita
5 days ago
I'm going to name mine 'program04_complete.sas' so I know it's the finished version.
upvoted 0 times
...
Gerry
9 days ago
I think I'll go with 'program04_done.sas' for mine, just to make sure it's easy to find later on.
upvoted 0 times
...
Carole
1 months ago
That's a good idea, I'll name mine 'program04_final.sas' just to keep it organized.
upvoted 0 times
...
...
Joseph
2 months ago
Alright, let's do this. Rounding, multiplying, and adding - easy peasy. As long as I don't make any silly mistakes, I should be good to go.
upvoted 0 times
User 2: Got it. Now let's multiply the rounded values.
upvoted 0 times
...
Brunilda
4 days ago
User 1: Let's start by rounding VAR1 and VAR2.
upvoted 0 times
...
Ayesha
6 days ago
Finally, let's add VAR12 through VAR19 and assign the sum to VAR20.
upvoted 0 times
...
Wendell
15 days ago
Now, let's multiply the rounded VAR1 by the rounded VAR2 to get VAR3.
upvoted 0 times
...
Holley
1 months ago
Let's start by rounding VAR1 and VAR2.
upvoted 0 times
...
Troy
1 months ago
I'm ready to tackle this task.
upvoted 0 times
...
...
Douglass
2 months ago
Haha, I bet the answer is something like 'the value of VAR20 for observation 16 is 42' or something equally ridiculous. Let's see what the actual answer is!
upvoted 0 times
Jolene
1 months ago
Let's run the program and find out!
upvoted 0 times
...
Nicholle
2 months ago
I think the answer is 3175.
upvoted 0 times
...
...
Tashia
2 months ago
Okay, let's see. Round VAR1 and VAR2, then multiply them to get VAR3. Add VAR12 to VAR19 and assign the sum to VAR20. For observation 16, the value of VAR20 should be 3175. Sounds straightforward enough!
upvoted 0 times
...
Melodie
2 months ago
I think the answer might be 3175 because of the mathematical operations specified.
upvoted 0 times
...
Dierdre
2 months ago
I agree, it requires careful attention to detail.
upvoted 0 times
...
Melodie
3 months ago
I found the question about the SAS program challenging.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77