A00-211 Exam QuestionsBrowse all questions from this exam

A00-211 Exam - Question 51


The following SAS program is submitted:

Which statement is true about the output data set?

Show Answer
Correct Answer: CD

The variable CharEmpid is assigned the value of EmpId. Since the statement 'length EmpId $6;' specifies that EmpId is a character variable with length 6, CharEmpid will also be a character variable. The program will not fail to execute in this scenario.

Discussion

3 comments
Sign in to comment
JKoOption: C
Jun 5, 2019

If data set WORK.DEPARTMENT has a numeric variable EmpId, which statement is true about the output dataset?

KleinstoneOption: C
Jan 18, 2021

how about the Charempid is also a character variable?

mhminkov
Jun 4, 2021

I see three options: - if EmpId is defined in WORK.DEPARTMENT as numeric, then answer D is correct; - if EmpId is defined in WORK.DEPARTMENT as numeric, then answer C is correct; - if EmpId is not defined in WORK.DEPARTMENT, then also answer C is correct;