Select the best answer
for each question. Check your answers using the answer key in the
appendix.
-
How can you create SAS
output in HTML format on any SAS platform?
-
by specifying system
options
-
by using programming
statements
-
by using SAS windows
to specify the result format
-
you cannot create HTML
output on all SAS platforms
-
In order for the date
values 05May1955
and 04Mar2046
to
be read correctly, what value must the YEARCUTOFF= option have?
-
a value between 1947
and 1954, inclusive
-
-
-
-
When you specify an
engine for a library, what are you specifying?
-
the file format for
files that are stored in the library
-
-
access to other software
vendors' files
-
instructions for creating
temporary SAS files
-
Which statement prints
a summary of all the files stored in the library named Area51?
-
proc contents data=area51._all_ nods;
-
proc contents data=area51 _all_ nods;
-
proc contents data=area51 _all_ noobs;
-
proc contents data=area51 _all_.nods;
-
Which of the following
programs correctly references a SAS data set named SalesAnalysis that
is stored in a permanent SAS library?
-
data saleslibrary.salesanalysis;
set mydata.quarter1sales;
if sales>100000;
run;
-
data mysales.totals;
set sales_99.salesanalysis;
if totalsales>50000;
run;
-
proc print data=salesanalysis.quarter1;
var sales salesrep month;
run;
-
proc freq data=1999data.salesanalysis;
tables quarter*sales;
run;
-
Which time span is used
to interpret two-digit year values if the YEARCUTOFF= option is set
to 1950?
-
Assuming you are using
SAS code and not the SAS windowing environment, which one of the following
statements is false?
-
LIBNAME statements can
be stored with a SAS program to reference the SAS library automatically
when you submit the program.
-
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.
-
Librefs can last from
one SAS session to another.
-
You can access files
that were created with other vendors' software by submitting a LIBNAME
statement.
-
What does the following
statement do?
libname osiris spss 'c:myfilessasdatadata.spss';
-
defines a library called
Spss using the OSIRIS engine
-
defines a library called
Osiris using the SPSS engine
-
defines two libraries
called Osiris and Spss using the default engine
-
defines the default
library using the OSIRIS and SPSS engines