nerdexam
SAS_Institute

A00-201 · Question #106

65: 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

65: 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

(27 responses)
  • A
    11% (3)
  • B
    4% (1)
  • C
    81% (22)
  • D
    4% (1)

Community Discussion

No community discussion yet for this question.

Full A00-201 Practice