Question:29ThefollowingSASprogramissubmitted:
datawork.flights;
destination='cph';
select(destination);
when('LHR')city='London';
when('CPH')city='Copenhagen';
otherwisecity='Other';
end;
run;
WhichoneofthefollowingisthevalueoftheCITYvariable?
1.Other
2.Get all Questions and Answer from here
3.You need to have paid subscription to access all questions
4.Thanks for considering Python Certification Material
CorrectAnswer:1
NoticethattheLENGTHstatementintheDATAstepabovespecifiesalength
of20forGroup.RememberthatwithouttheLENGTHstatement,valuesfor
Groupmightbetruncated,asthefirstvalueforGroup(FlightAttendantI)is
notthelongestpossiblevalue.
You can access to full explanation to question and answer from this page.