Practice Free A00-282 Exam Online Questions
Question #41
Which statement assigns the current date to the character variable CURRDT?
- A . currdt="&sysdate.";
 - B . currdt="%sysdate.";
 - C . currdt="sysdate.";
 - D . currdt="#sysdate.";
 
Question #42
Which SAS program will apply the data set label ‘Demographics’ to the data set named DEMO?
- A . data demo (label=’Demographics’);
set demo;
run; - B . data demo;
set demo (label=’Demographics’);
run; - C . data demo (label ‘Demographics’);
set demo;
run; - D . data demo; set demo;
label demo= ‘Demographics’;
run; 
Question #43
Given the following partial output data set:

Which code was used to create AGECAT?
- A . if age <18 then AGECAT=1; if 18<=AGE<=40 then AGECAT=2; else AGECAT=3;
 - B . if age <=18 then do AGECAT=1; else if 18<AGE<=40 then do AGECAT=2; else do AGECAT=3;
 - C . if age <18 then AGECAT=1; else if 18<=AGE<=40 then AGECAT=2; else AGECAT=3;
 - D . if age <=18 then AGECAT=1; else if 18<AGE<=40 then AGECAT=2; else AGECAT=3;
 
