SAS_Institute
A00-202 · Question #28
A00-202 Question #28: Real Exam Question with Answer & Explanation
Sign in or unlock A00-202 to reveal the answer and full explanation for question #28. The question stem and answer options stay visible for context.
Question
Given the following SAS data set SASUSER.HIGHWAY: SASUSER.HIGHWAY STEERING SEATBELT SPEED STATUS COUNT ----------------------------------------------------------------------------- absent no 0-29 serious 31 absent no 0-29 not 1419 absent no 30-49 serious 191 absent no 30-49 not 2004 absent no 50+ serious 216 The following SAS program is submitted: %macro highway; proc sql noprint; select count(distinct status) into :numgrp from sasuser.highway; %let numgrp = &numgrp; select distinct status into :group1-:group&numgrp from sasuser.highway; SAS A00-202 Exam quit; %do i = 1 %to &numgrp; proc print data = sasuser.highway; where status = "&&group&i" ; run; %end; %mend; %highway How many reports are produced by the above program?
Options
- A0
- B2
- C5
- D5
- E1
Unlock A00-202 to see the answer
You've previewed enough free A00-202 questions. Unlock A00-202 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.