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 2 question 60 discussion

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

The following SAS program is submitted:
data work.staff;
JobCategory = 'FA';
JobLevel = '1';
JobCategory = JobCategory || JobLevel;
run;
Which one of the following is the value of the variable JOBCATEGORY in the output data set?

  • A. FA
  • B. FA1
  • C. FA 1
  • D. ' ' (missing character value)
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
Mandar77
2 years, 5 months ago
Answer A is correct. When program complies, SAS created PDV and column length of Job description is 2 as per assignment value in program. It wont change once PDV is defined.
upvoted 1 times
...
mhminkov
3 years, 5 months ago
no, given answer A is correct, because the length of the variable is defined as 2 with this line: JobCategory = 'FA'; The last line is redefining the value of the same variable (there is no new variable), but the length can not be changed and the new value FA1 is truncated and remains as FA.
upvoted 1 times
...
Kleinstone
3 years, 10 months ago
should this be B FA1?
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 ...