Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

SAS chapter 1 and 2 practice Questions and answer

Rating
-
Sold
-
Pages
39
Grade
A+
Uploaded on
25-05-2026
Written in
2025/2026

SAS chapter 1 and 2 practice Questions and answer

Institution
SAS Chapter 1 And 2
Course
SAS chapter 1 and 2

Content preview

1 of 28

Term


What result would you expect from submitting this step?


proc print data=work.newsalesemps
run;


a. an HTML report of the work.newsalesemps data set
b. an error message in the log
c. a LISTING report of the work.newsalesemps data set
d. the creation of a temporary data set called work.newsalesemps



Give this one a try later!




b


Without a RUN statement (or a following DATA or PROC step), the DATA step
doesn't execute. Unbalanced quotation marks can also cause the DATA step
running message if relatively little code follows the unbalanced quotation mark.
The other three problems above generate errors in the Log window.

,d
Every SAS file is stored in a SAS data library, which is a collection of SAS files,
such as SAS data sets and catalogs. In some operating environments, a SAS data
library is a physical collection of files. In others, the files are only logically
related. In the Windows and UNIX environments, a SAS data library is typically a
group of SAS files in the same folder or directory.




b


There is a missing semicolon following the data set name. When this step
runs, SAS will interpret the word RUN as an option in the PROC PRINT
statement (because of the missing semicolon). As a result, the PROC PRINT
step will not execute and an error message will be displayed in the log.




b
These options affect the format of listing output only. NODATE suppresses the
date and PAGESIZE= determines the number of rows to print on the page


Don't know?

, 2 of 28

Term


Which of the following is a true statement about SAS output?


a. SAS Enterprise Guide 5.1 displays Text or LISTING output by
default.
b. SAS Enterprise Guide 5.1 displays HTML output by default.
c. SAS 9.3 in the windowing environment displays LISTING output by
default.
d. SAS 9.3 in the windowing environment displays HTML output by
default.



Give this one a try later!



d
To store a file permanently in a SAS data library, you assign it a libref other than
the default Work. For example, by assigning the libref Profits to a SAS data
library, you specify that files within the library are to be stored until you delete
them. Therefore, SAS files in the Sashelp and Sasuser libraries are permanent
files.




d

All SAS statements must end with a semicolon, but they are free-format. You can
begin or end them anywhere, separate steps with line spaces, and optionally
end steps with a RUN statement.

, d

SAS Enterprise Guide 5.1 creates SAS Report output by default; you can
change the default output format and select additional output formats by
selecting Tools, Options, Results, Results General. Other result formats that
are available in SAS Enterprise Guide 5.1 include HTML, PDF, RTF, and Text
or LISTING output. In the windowing environment, SAS 9.3 displays HTML
output in the Results Viewer by default. You can choose to have SAS
b
display LISTING output in addition to or instead of HTML output. To change
Librefs must be 1 to 8 characters long, must begin with a letter or underscore,
the result format, select Tools, Options, Preferences, and click the Results
and can contain only letters, numbers, or underscores. After you assign a libref,
tab.
you specify it as the first element in the two-level name for a SAS file.


Don't know?




3 of 28

Term



Which of the following files is a permanent SAS file?


a. Sashelp.PrdSale
b. Sasuser.MySales
c. Profits.Quarter1
d. all of the above



Give this one a try later!




c
Variable names follow the same rules as SAS data set names. They can be 1 to 32
characters long, must begin with a letter (A-Z, either uppercase or lowercase) or
an underscore, and can continue with any combination of numbers, letters, or
underscores.

Written for

Institution
SAS chapter 1 and 2
Course
SAS chapter 1 and 2

Document information

Uploaded on
May 25, 2026
Number of pages
39
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$6.50
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
DoctorShiks

Get to know the seller

Seller avatar
DoctorShiks West Virginia University
View profile
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
3 months
Number of followers
0
Documents
470
Last sold
-
DoctorShiks

Hello! As I get closer to graduating, I’ll be posting all my materials from on my page—study guides, exams, Q&As, test banks, HESI questions, and more. Wishing you all the best—happy studying!

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions