Professional Documents
Culture Documents
Chapter Quiz 3
Chapter Quiz 3
Select the best answer for each question. Check your answers using the answer key in
the appendix.
a. When using the default engine, you do not have to specify the libref in the
LIBNAME statement.
b. When using the default engine, you do not have to specify the engine name in the
LIBNAME statement.
c. When using the default engine, you do not have to specify the SAS library in the
LIBNAME statement.
d. When using the default engine, you have to specify the libref, engine name, and
3. When you specify an engine for a library, what are you specifying?
a. the file format for files that are stored in the library
4. Which statement prints a summary of all the files stored in the library named Area51?
5. Which of the following programs correctly references a SAS data set named
data saleslibrary.salesanalysis;
set mydata.quarter1sales;
if sales>100000;
run;
b. data mysales.totals;
set sales_2017.salesanalysis;
if totalsales>50000;
run;
run;
tables quarter*sales;
run;
c. a and b only
7. Assuming you are using SAS code, which one of the following statements is false?
a. LIBNAME statements can be stored with a SAS program to reference the SAS
b. When you delete a libref, SAS no longer has access to the files in the library.
However, the contents of the library still exist on your operating system.
d. You can access files that were created with other vendors' software by submitting
a LIBNAME statement.
8. What does the following statement do?