nerdexam
SAS_Institute

A00-201 · Question #28

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

(17 responses)
  • B
    6% (1)
  • C
    12% (2)
  • D
    82% (14)

Community Discussion

No community discussion yet for this question.

Full A00-201 Practice