Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
Location Chicago IL, USA

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
nbav
1 month, 1 week ago
D is the correct answer. The code produces and error
upvoted 1 times
...
Kleinstone
11 months, 1 week 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
...
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 ...