nerdexam
SAS_Institute

A00-280 · Question #53

Given the SAS data set containing subject's phone numbers SUBJID PHONE 001 (908) 235-4490 002 (807) 406 0038 003 (201) 555-77 99 004 203.555.7799 005 (215)631 9494 The following SAS program is…

The correct answer is B. 2156319494. See the full explanation below for the reasoning.

Question

Given the SAS data set containing subject's phone numbers SUBJID PHONE 001 (908) 235-4490 002 (807) 406 0038 003 (201) 555-77 99 004 203.555.7799 005 (215)631 9494 The following SAS program is submitted: data phone; set numbers; phone1 = compress(phone); phone2 = compress(phone,'()- '); run; What is the value of PHONE2 for subject 005?

Options

  • A(215) 631-9494
  • B2156319494
  • C(215) 6319494
  • D631-9494

How the community answered

(58 responses)
  • A
    16% (9)
  • B
    74% (43)
  • C
    7% (4)
  • D
    3% (2)

Community Discussion

No community discussion yet for this question.

Full A00-280 Practice