100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
SAS Base Programming Exam UPDATED Questions and CORRECT Answers $9.49   Add to cart

Exam (elaborations)

SAS Base Programming Exam UPDATED Questions and CORRECT Answers

 0 view  0 purchase
  • Course
  • SAS Base Programming
  • Institution
  • SAS Base Programming

SAS Base Programming Exam UPDATED Questions and CORRECT Answers How many steps are in this program? libname orion "c:/mydata"; data ; set yees; where Job_itle like "%Sales%"; Bonus=Salary*.02; format Bonus euro8.;

Preview 3 out of 30  pages

  • October 6, 2024
  • 30
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • SAS Base Programming
  • SAS Base Programming
avatar-seller
MGRADES
SAS Base Programming Exam UPDATED
Questions and CORRECT Answers
How many steps are in this program?


libname orion "c:/mydata";


data work.sales;
set orion.employees;
where Job_itle like "%Sales%";
Bonus=Salary*.02;
format Bonus euro8.;
run;


title "Sales Listing";


proc print data=work.sales; run;


a) one b) two c) three d) four - CORRECT ANSWER✔✔- b) two


Which of the following statements are considered step boundaries (the end of one step and
the beginning of another)?


a) RUN, QUIT, and END
b) RUN, EXIT, and QUIT
c) RUN, END, DATA, and PROC

d) RUN, QUIT, DATA, and PROC - CORRECT ANSWER✔✔- d) RUN, QUIT, DATA, and
PROC


If this program is submitted, the DATA step does not execute because it does not conclude
with a RUN statement.

,libname orion "c:/mydata";
data work.sales;
set orion.employees;
where Job_Title like "%Sales%";
Bonus=Salary*.02;
format Bonus euro8.;
title "Sales Listing";
proc print data=work.sales; run;


a) true b) false c) it depends on the interface - CORRECT ANSWER✔✔- b) false


Which of the following is a SAS syntax requirement?


a) begin each statement in column one
b) put only one statement on each line
c) separate each step with a line space

d) end each statement with a semicolon - CORRECT ANSWER✔✔- d) end each statement
with a semicolon


How many statements does the first step contain?


libname orion "c:/mydata";
data work.sales;
set orion.employees;
where Job_Title like "%Sales%";
Bonus=Salary*.02;
format Bonus euro8.;
title "Sales Listing";
proc print data=work.sales; run;

, a) 1 b) 2 c) 6 d) 10 - CORRECT ANSWER✔✔- c) 6


Does this comment contain syntax errors?


********************************
Report created for budget
presentation; revised October 15.
********************************;
proc print data=sales;
run;


a) No. The comment is correctly specified.
b) Yes. Every comment line must end with a semicolon.
c) Yes. The comment is on more than one line.

d) Yes. There is a semicolon in the middle of the comment. - CORRECT ANSWER✔✔- d)
Yes. There is a semicolon in the middle of the comment.


A SAS program always creates which of the following?


a) log
b) output data
c) results

d) all of the above - CORRECT ANSWER✔✔- a) log


What generally happens when SAS detects a syntax error?


a) SAS stops processing the entire program
b) SAS continues to process the step, and the SAS log displays messages about the error
c) SAS stops processing the step in which the error occurred, and the SAS log displays
messages about the error

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller MGRADES. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $9.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

77254 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$9.49
  • (0)
  Add to cart