nerdexam
SAS_Institute

A00-201 · Question #96

The following SAS program is submitted: data numrecords; infile 'file-specification'; input @1 patient $15 relative $ 16-26 @; if relative = 'children' then input @54 diagnosis $15. @; else if…

The correct answer is A. 1. See the full explanation below for the reasoning.

Question

The following SAS program is submitted: data numrecords; infile 'file-specification'; input @1 patient $15 relative $ 16-26 @; if relative = 'children' then input @54 diagnosis $15. @; else if relative = 'parents' then input @28 doctor $15. clinic $ 44-53 @54 diagnosis $15. @; input age; run; How many raw data records are read during each iteration of the DATA step during execution?

Options

  • A1
  • B2
  • C3
  • D4

How the community answered

(53 responses)
  • A
    83% (44)
  • B
    6% (3)
  • C
    9% (5)
  • D
    2% (1)

Community Discussion

No community discussion yet for this question.

Full A00-201 Practice