Free SASInstitute A00-202 Practice Test & Real Exam Questions

  • Exam Code/Number: A00-202
  • Exam Name/Title: SAS advanced programming exam
  • Certification Provider: SASInstitute
  • Corresponding Certification: SAS Institute Systems Certification
  • Exam Questions: 76
  • Updated On: Jun 12, 2026
Text is sent to the SAS compiler as a result of macro execution. Which one of the following SAS system options writes that text to the log?
Correct Answer: C Vote an answer
The following SAS program is submitted:
%let name = Patel's Restaurant;
Which one of the following statements avoids problems associated with the unbalanced quotation mark?
Correct Answer: D Vote an answer
Which one of the following SAS integrity constraint types ensures that a specific set or range of values are the only values in a variable?
Correct Answer: C Vote an answer
The following SAS program is submitted:
%let value = .5;
%let add = 5;
%let newval = %eval(&value + &add);
Which one of the following is the resulting value of the macro variable NEWVAL?
Correct Answer: A Vote an answer
Which one of the following is the purpose of the IDXNAME= data set option?
Correct Answer: B Vote an answer
The following SAS program is submitted:
options yearcutoff = 1950;
%macro y2kopt(date);
%if &date >= 14610 %then %do;
options yearcutoff = 2000;
%end;
%else %do;
options yearcutoff = 1900;
%end; %mend;
data _null_ ;
date = "01jan2000"d;
call symput("date",left(date));
run;
%y2kopt(&date)
The SAS date for January 1, 2000 is 14610 and the SAS system option for YEARCUTOFF is set to 1920 prior to submitting the above program.
Which one of the following is the value of YEARCUTOFF when the macro finishes execution?
Correct Answer: D Vote an answer
The following SAS program is submitted:
%let a = cat;
%macro animal(a = frog);
%let a = bird; %mend; %animal(a = pig) %put a is &a; Which one of the following is written to the SAS log?
Correct Answer: A Vote an answer
The following SAS program is submitted:
%macro execute; <insert statement here> proc print data = sasuser.houses; run; %end;
%mend;
Which of the following completes the above program so that it executes on Tuesday?
Correct Answer: C Vote an answer