Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - 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:

Joseph
6 days 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
...
Douglass
8 days 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
...
Tashia
14 days 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
18 days ago
I think the answer might be 3175 because of the mathematical operations specified.
upvoted 0 times
...
Dierdre
22 days ago
I agree, it requires careful attention to detail.
upvoted 0 times
...
Melodie
25 days 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