nerdexam
SAS_Institute

A00-201 · Question #110

69: The following SAS program is submitted: data work.test; Author = 'Agatha Christie'; First = substr(scan(author,1,','),1,1); run; Which one of the following is the length of the variable FIRST in…

The correct answer is D. 200. See the full explanation below for the reasoning.

Question

69: The following SAS program is submitted: data work.test; Author = 'Agatha Christie'; First = substr(scan(author,1,','),1,1); run; Which one of the following is the length of the variable FIRST in the output data set?

Options

  • A1
  • B6
  • C15
  • D200

How the community answered

(50 responses)
  • A
    2% (1)
  • B
    10% (5)
  • C
    6% (3)
  • D
    82% (41)

Community Discussion

No community discussion yet for this question.

Full A00-201 Practice