nerdexam
SAS_Institute

A00-211 · Question #74

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

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

(29 responses)
  • A
    3% (1)
  • B
    10% (3)
  • C
    7% (2)
  • D
    79% (23)

Community Discussion

No community discussion yet for this question.

Full A00-211 Practice