nerdexam
SAS_Institute

A00-211 · Question #113

The contents of the raw data file CALENDAR are listed below: --------10-------20-------30 01012000 The following SAS program is submitted: data test; infile 'calendar'; input @1 date mmddyy10.; if…

The correct answer is D. The value can not be determined as the program fails to execute due to errors. See the full explanation below for the reasoning.

Question

The contents of the raw data file CALENDAR are listed below:

--------10-------20-------30 01012000 The following SAS program is submitted:

data test; infile 'calendar'; input @1 date mmddyy10.; if date = '01012000'd then event = 'January 1st'; run; Which one of the following is the value of the EVENT variable?

Options

  • A01012000
  • BJanuary 1st
  • C. (missing numeric value)
  • DThe value can not be determined as the program fails to execute due to errors

How the community answered

(18 responses)
  • B
    11% (2)
  • C
    6% (1)
  • D
    83% (15)

Community Discussion

No community discussion yet for this question.

Full A00-211 Practice