nerdexam
SAS_Institute

A00-201 · Question #13

A00-201 Question #13: Real Exam Question with Answer & Explanation

Sign in or unlock A00-201 to reveal the answer and full explanation for question #13. The question stem and answer options stay visible for context.

Question

13: The SAS data set named WORK.TEST is listed below: capacity airplanetype staff 150 Large 10 Which one of the following SAS programs created this data set?

Options

  • Adata work.test; 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'; airplanetype = 'Small'; end; run;
  • Ddata work.test; capacity = 150; if 100 le capacity le 200 then airplanetype = 'Small'; staff = 5; else; airplanetype = 'Large'; airplanetype = 'Large'; staff = 10; run;

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.

Full A00-201 Practice
13: The SAS data set named WORK.TEST is listed below: capacity... | A00-201 Q#13 Answer | NerdExam