nerdexam
SAS_Institute

A00-211 · Question #57

The following SAS program is submitted: libname sasdata 'SAS-data-library'; data test; set sasdata.chemists; if jobcode = 'chem3' then description = 'Senior Chemist'; else description = 'Unknown'…

The correct answer is B. Unknown. See the full explanation below for the reasoning.

Question

The following SAS program is submitted:

libname sasdata 'SAS-data-library'; data test; set sasdata.chemists; if jobcode = 'chem3' then description = 'Senior Chemist'; else description = 'Unknown'; run; A value for the variable JOBCODE is listed below:

JOBCODE CHEM3 Which one of the following values does the variable DESCRIPTION contain?

Options

  • Achem3
  • BUnknown
  • CSenior Chemist
  • D' ' (missing character value)

How the community answered

(52 responses)
  • A
    15% (8)
  • B
    73% (38)
  • C
    4% (2)
  • D
    8% (4)

Community Discussion

No community discussion yet for this question.

Full A00-211 Practice