nerdexam
SAS_Institute

A00-211 · Question #78

The following SAS program is submitted: data work.test; First = 'Ipswich, England'; City = substr(First,1,7); City_Country = City!!', '!!'England'; run; Which one of the following is the value of…

The correct answer is D. Ipswich, England. See the full explanation below for the reasoning.

Question

The following SAS program is submitted:

data work.test; First = 'Ipswich, England'; City = substr(First,1,7); City_Country = City!!', '!!'England'; run; Which one of the following is the value of the variable CITY_COUNTRY in the output data set?

Options

  • AIpswich!!
  • BIpswich, England
  • CIpswich, 'England'
  • DIpswich, England

How the community answered

(66 responses)
  • A
    18% (12)
  • B
    8% (5)
  • C
    3% (2)
  • D
    71% (47)

Community Discussion

No community discussion yet for this question.

Full A00-211 Practice