nerdexam
SAS_Institute

A00-211 · Question #81

The following SAS program is submitted: libname sasdata 'SAS-data-library'; data test; set sasdata.chemists (keep = job_code); if job_code = 'chem3' then description = 'Senior Chemist'; run; The…

The correct answer is C. 14 bytes. 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 (keep = job_code); if job_code = 'chem3' then description = 'Senior Chemist'; run; The variable JOB_CODE is a character variable with a length of 6 bytes. Which one of the following is the length of the variable DESCRIPTION in the output data set?

Options

  • A6 bytes
  • B8 bytes
  • C14 bytes
  • D200 bytes

How the community answered

(32 responses)
  • A
    3% (1)
  • B
    3% (1)
  • C
    81% (26)
  • D
    13% (4)

Community Discussion

No community discussion yet for this question.

Full A00-211 Practice