SAS_Institute
A00-281 · Question #3
Given the following data set DEMOG: Which selection below would be considered hard-coding?
The correct answer is B. if site eq 1 then sexcd = 2. See the full explanation below for the reasoning.
Question
Given the following data set DEMOG:
Which selection below would be considered hard-coding?
Exhibit
Options
- Aif sexcd eq 1 then sex = "Male" ;
- Bif site eq 1 then sexcd = 2 ;
- Cif site eq 1 and sexcd ne 2 then check = 1 ;
- Dbirthdt = input(dob, mmddyy10.) ;
How the community answered
(62 responses)- A3% (2)
- B76% (47)
- C6% (4)
- D15% (9)
Community Discussion
No community discussion yet for this question.
