Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam A00-211 All Questions

View all questions & answers for the A00-211 exam

Exam A00-211 topic 1 question 4 discussion

Actual exam question from SAS Institute's A00-211
Question #: 4
Topic #: 1
[All A00-211 Questions]

Given the SAS data set SASDATA TWO:

SASDATA TWO -

X Y -
-- --
5 2
3 1
5 6
The following SAS program is submitted:
data sasuser.one two sasdata.three;
set sasdata two;
if x = 5 then output sasuser.one;
else output sasdata two;
run;
What is the result?

  • A. data set SASUSER.ONE has 5 observations data set SASUSER.TWO has 5 observations data set WORK.OTHER has 3 observations
  • B. data set SASUSER.ONE has 2 observations data set SASUSER.TWO has 2 observations data set WORK.OTHER has 1 observations
  • C. data set SASUSER.ONE has 2 observations data set SASUSER.TWO has 2 observations data set WORK.OTHER has 5 observations
  • D. No data sets are output.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Misty2287
1 year, 3 months ago
D is the correct answer.
upvoted 1 times
...
Mandar77
2 years, 5 months ago
All answers for this question are not correct or something is missing in question. I tested the logic with following example data one two three; set sashelp.cars; if type="Sedan" then output one; else output two; run; one : contains rows based on if condtion two: contains all other rows three: Does not have any rows
upvoted 1 times
...
nbav
3 years ago
D is the correct answer. The code produces and error
upvoted 1 times
...
Kleinstone
3 years, 10 months ago
if the question is output sasuser.two; the choice is D, no output since sasuser.two is not defined in the code.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...