SAS_Institute
A00-211 · Question #270
A00-211 Question #270: Real Exam Question with Answer & Explanation
Sign in or unlock A00-211 to reveal the answer and full explanation for question #270. The question stem and answer options stay visible for context.
Question
This questions will ask you to provide two missing variable names. The following SAS program is submitted: data WORK.TOTAL; set WORK.SALARY; by Department Gender; if First. <insert variable 1 here> then Payroll=0 Payroll+Wagerate; if Last.<insert variable 2 here>; run; The SAS data set WORK.SALARY is currently ordered by Gender within Department. Which inserted code will accumulate subtotals for each Gender within Department?
Options
- Avariable 1: Gender variable 2: Department
- Bvariable 1: Gender variable 2: Gender
- Cvariable 1: Department variable 2: Gender
- Dvariable 1: Department variable 2: Department
Unlock A00-211 to see the answer
You've previewed enough free A00-211 questions. Unlock A00-211 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.