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 A00-231 Exam - Topic 3 Question 24 Discussion

SIMULATIONScenario: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 ofVAR3? Enter your numeric answer in the space below:
A) 80136

SAS A00-231 Exam - Topic 3 Question 24 Discussion

Actual exam question for SAS's A00-231 exam
Question #: 24
Topic #: 3
[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 ofVAR3? Enter your numeric answer in the space below:

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;

The 'obs' option controls the last observation SAS processes. If you set obs=16, SAS would read and process only up to the 16th observation in the data set.

The 'firstobs' option controls the starting observation. If you set firstobs=16, SAS would start reading and processing from the 16th observation.


Contribute your Thoughts:

0/2000 characters
Wilford
3 days ago
I believe A) 80136 is the right answer for VAR3.
upvoted 0 times
...
Brigette
9 days ago
If I add them correctly, VAR20 should help.
upvoted 0 times
...
Polly
14 days ago
I’m worried about missing values in VAR12 to VAR19.
upvoted 0 times
...
Wilford
19 days ago
I feel confident about the multiplication part. Just need to focus.
upvoted 0 times
...
Brigette
24 days ago
I think VAR3 will be crucial for the final answer.
upvoted 0 times
...
Polly
29 days ago
This question is tricky! I hope I remember the rounding rules.
upvoted 0 times
...
Luz
1 month ago
80136 seems a bit high, are you sure about that?
upvoted 0 times
...
Michael
1 month ago
I’m pretty sure VAR3 will be around 80000 based on the calculations.
upvoted 0 times
...
Willodean
1 month ago
Wait, how do we know the values of VAR1 and VAR2?
upvoted 0 times
...
Milly
2 months ago
Definitely, but it’s standard practice in data analysis.
upvoted 0 times
...
Cherelle
2 months ago
Just a heads up, rounding can change your results significantly!
upvoted 0 times
...
Jacquelyne
2 months ago
I think I need to double-check the order of operations for this question. I hope I remember to multiply VAR1 and VAR2 before summing the other variables!
upvoted 0 times
...
Jerilyn
2 months ago
I'm a bit confused about how to ignore missing values when summing VAR12 to VAR19. Did we cover that in our last session?
upvoted 0 times
...
Shenika
2 months ago
This question seems similar to one we did in class where we had to calculate a new variable based on rounded values. I think I can handle it!
upvoted 0 times
...
Lennie
3 months ago
I remember we practiced rounding numbers in SAS, but I'm not entirely sure how to apply it to VAR1 and VAR2 specifically.
upvoted 0 times
...

Save Cancel