nerdexam
SAS_Institute

A00-280 · Question #3

A00-280 Question #3: Real Exam Question with Answer & Explanation

Sign in or unlock A00-280 to reveal the answer and full explanation for question #3. The question stem and answer options stay visible for context.

Question

Given the following data set DEMOG: SITE PATID DOB SEXCD RACECD TRTMENT 1 1 11/25/1946 1 1 1 1 2 11/01/1974 1 1 2 1 3 10/13/1949 1 1 1 1 4 09/01/1968 2 1 2 1 10 05/24/1999 2 1 1 2 1 03/15/1974 1 1 2 2 2 01/04/1983 2 1 2 2 3 12/04/1983 1 2 1 2 4 12/28/1976 1 9 2 2 5 10/04/1958 1 1 1 2 10 07/05/1969 1 1 2 Which selection below would be considered hard-coding?

Options

  • Aif sexcd eq 1 then sex = "Male"; else if sexcd eq 2 then sex = "Female";
  • BIf if site eq 1 then sexcd = 2 ; else if site eq 2 then sexcd = 1 ;
  • Cif site eq 1 and sexcd ne 2 then check = 1 ; else if site eq 2 and sexcd ne 1 then check = 2 ;
  • Dbirthdt = input(dob, mmddyy10.);

Unlock A00-280 to see the answer

You've previewed enough free A00-280 questions. Unlock A00-280 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full A00-280 Practice