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

Exam (elaborations)

SAS Base Certification UPDATED Actual Questions and CORRECT Answers

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

SAS Base Certification UPDATED Actual Questions and CORRECT Answers c - CORRECT ANSWER- Which of the following will select from a data set only those observations for which the value of the variable Genre is SciFi, Western, or Classic? genre='SciFi' or 'Western' or 'Classic'; genre is SciF...

[Show more]

Preview 4 out of 36  pages

  • October 6, 2024
  • 36
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • SAS Base Certification
  • SAS Base Certification
avatar-seller
MGRADES
SAS Base Certification UPDATED Actual
Questions and CORRECT Answers
c - CORRECT ANSWER✔✔- Which of the following will select from a data set only those
observations for which the value of the variable Genre is SciFi, Western, or Classic?


a.where genre='SciFi' or 'Western' or 'Classic';
b.where genre is SciFi Western Classic;
c.where genre in ('SciFi', 'Western', 'Classic');
d.where genre in (SciFi, Western, Classic);


b - CORRECT ANSWER✔✔- What happens when the following program is run?


proc sort data=black.book;
run;
proc print data=black.book;
var name age number;
where status='Single';
run;


a. The PROC PRINT step is successful, providing list in sorted order.
b. The PROC SORT generates an error in the log, the PROC PRINT step runs.
c. The PROC SORT step permanently sorts the data set.
d. The PROC SORT runs successfully, PROC PRINT generates errors


d - CORRECT ANSWER✔✔- In the DATA step, how can you reference the temporary SAS
data set named Dating


a. Dating
b. Work.Dating
c. Pool.Dating (after assigning the libref Pool)

,d. a and b


a - CORRECT ANSWER✔✔- Which of the following is a valid variable name?


a. _Units_
b. 2Cool
c. Total$
d. Days-To-Ship


d - CORRECT ANSWER✔✔- Which of the following contains a syntax error?
a. None of these
b.proc print data=sales.location;
label loc='Franchise Location';
run;
c.proc sort data=work.sales;
by month;
run;
d.dat homework.test;
set homework.quiz;
run;


c - CORRECT ANSWER✔✔- A syntax error occurs when
a. the form of the elements of the SAS statement are correct but their usage is not.
b. none of these.
c. programming statements that do not conform to the rules of the SAS language.
d. some data values are not appropriate for the SAS statements.


d - CORRECT ANSWER✔✔- What usually happens when a syntax error is detected?


a. SAS continues to process the step, and the SAS log displays messages about the error.

,b. SAS continues to process the step.
c. SAS stops processing the step in which the error occurred, and the Output window displays
messages about the error.
d. SAS stops processing the step in which the error occurred, and the SAS log displays
messages about the error


a - CORRECT ANSWER✔✔- What is the default length of the variable BALANCE?
Name Balance
Andrews 123.21
Smithy 92.31
Keeley 2812.23
Cist 981.99


a. 8
b. 32
c. 0
d. 16


c - CORRECT ANSWER✔✔- Which time span is used to interpret two-digit values if the
YEARCUTOFF= option is set to 1969?


a. 1969-2000
b. 1969-2069
c. 1969-2068
d. 1870-1969
e. 1970-2069


b - CORRECT ANSWER✔✔- What does the NOOBS option do in the PROC PRINT step?


a. Relentlessly mocks you for being new to SAS.
b. Removes the default Obs column from the output

, c. Prints only the the column titles with no data.
d. Prints the data with no column titles.


c - CORRECT ANSWER✔✔- Which statement correctly accesses an Excel file?


a.libname xldat 'C:\Excel\example.xlsx.Sheet1';
b.filename xldat 'C:\Excel\example.xlsx';
c.libname xldat 'C:\Excel\example.xlsx';
d.filename xldat 'C:\Excel\example.xlsx\Sheet1$';


j - CORRECT ANSWER✔✔- The following format substitutes full names for initials.
Identify the error(s).


proc format lib=soil;
value drvfmt;
SS=Sam Smithie Smith
JR=Jim Rollins
ER=Elmer Richards
run;


a. the strings on the right of the equal sign need to have quotes.
b. the strings on the left of the equal sign need to have quotes.
c. the format needs to have a $ in front of the name
d. semicolons should be after each line
e. there should be no semicolon after the word drvfmt
f. there should be a semicolon after the final format entry
g. (a) and (b)
h. (c) and (d)
i. (e) and (f)
j. (a), (b), (c), (e), and (f)
k. all of the above

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)

79373 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