SAS_Institute
A00-201 · Question #76
A00-201 Question #76: Real Exam Question with Answer & Explanation
Sign in or unlock A00-201 to reveal the answer and full explanation for question #76. The question stem and answer options stay visible for context.
Question
Which one of the following SAS programs created this data set?
capacity airplaneType staff
150 Large 10
Options
- Adata work.test; capacity = 150; if 100 le capacity le 200 then airplaneType = 'Large' and staff = 10; else airplaneType = 'Small' and staff = 5; run;
- Bdata work.test; capacity = 150; if 100 le capacity le 200 then do; airplaneType = 'Large'; staff = 10; end; else do; airplaneType = 'Small'; staff = 5; end; run;
- Cdata work.test; capacity = 150; if 100 le capacity le 200 then do; airplaneType = 'Large'; staff = 10; end; else do; airplaneType = 'Small'; staff = 5; end; run;
- Ddata work.test; capacity = 150; if 100 le capacity le 200 then airplaneType = 'Small'; airplaneType = 'Small'; staff = 5; else airplaneType = 'Large'; airplaneType = 'Large';
Unlock A00-201 to see the answer
You've previewed enough free A00-201 questions. Unlock A00-201 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.