nerdexam
SAS_Institute

A00-211 · Question #149

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…

The correct answer is B. 2. 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 execution?

Options

  • A1
  • B2
  • C3
  • D4

How the community answered

(57 responses)
  • A
    4% (2)
  • B
    70% (40)
  • C
    9% (5)
  • D
    18% (10)

Community Discussion

No community discussion yet for this question.

Full A00-211 Practice