nerdexam
SAS_Institute

A00-201 · Question #85

The following SAS program is submitted using the PERM.STUDENTS data set as input: libname sasdata 'SAS-data-library'; data students; set perm.students; file 'file-specification'; put name $15. @5…

The correct answer is B. ----|----10----|----20----|----30 Alfr14 Alic13 Barb13a Caro14. See the full explanation below for the reasoning.

Question

The following SAS program is submitted using the PERM.STUDENTS data set as input: libname sasdata 'SAS-data-library'; data students; set perm.students; file 'file-specification'; put name $15. @5 age 2.; run; Which one of the following represents the values written to the output raw data file?

Options

  • A----|----10----|----20----|----30 Alfred 14 Alice 13 Barbara 14 Carol 14
  • B----|----10----|----20----|----30 Alfr14 Alic13 Barb13a Caro14
  • C----|----10----|----20----|----30 Alfr14ed Alic13e Barb13rara Caro14l
  • D----|----10----|----20----|----30D ----|----10----|----20----|----30 Alfred 14 Alice 13 Barbara 13 Carol 14

How the community answered

(17 responses)
  • A
    12% (2)
  • B
    76% (13)
  • C
    6% (1)
  • D
    6% (1)

Community Discussion

No community discussion yet for this question.

Full A00-201 Practice