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 EXAM CHAPTER 9 QUESTIONS WITH 100% CORRECT ANSWERS LATEST VERSION 2025/2026.

Rating
-
Sold
-
Pages
8
Grade
A+
Uploaded on
26-11-2025
Written in
2025/2026

SAS EXAM CHAPTER 9 QUESTIONS WITH 100% CORRECT ANSWERS LATEST VERSION 2025/2026.

Institution
SAS
Course
SAS

Content preview

SAS EXAM CHAPTER 9 QUESTIONS
WITH 100% CORRECT ANSWERS
LATEST VERSION 2025/2026.




Which of the following statements will create the numeric variable Bonus with a value of 500?



work.comp

Bonus Compensation Bonus Month

500 108755 6

500 88475 1

500 27100 1

a. Bonus=$500;

b. Bonus=500;

c. label Bonus='500';

d. format Bonus 500.; - ANS B



You use an assignment statement to set the value of the variable Bonus equal to 500. Numeric
constants do not include commas or currency symbols.



Which of these statements specifies SAS functions correctly? Select all that apply.



1 @COPYRIGHT 2025/2026 ALLRIGHTS RESERVED.

, a. Deadline=sum(TimeSpent,Last_Name);

b. FingersToes=sum(10,10);

c. Birthday=mdy(8,27,90);

d. Review_Quarter=qtr(Hire_Date+372);

e. GreatDay=today();

f. BirthdayYear=year(Birth_Date);

g. BirthdayYear=year('12dec1987'd); - ANS b, c, d, e, f, and g. Except for the TODAY()
function, these numeric functions must specify appropriate numeric arguments in parentheses
following the function keyword. You can specify numeric constants, including SAS date
constants, numeric variables, or arithmetic expressions, as numeric arguments. The TODAY()
function doesn't require an argument.



A DROP statement has been added to this DATA step. Will the program calculate Compensation
and BonusMonth correctly?



data work.comp;

set orion.sales;

drop Gender Salary Job_Title Country

Birth_Date Hire_Date;

Bonus=500;

Compensation=sum(Salary,Bonus);

BonusMonth=month(Hire_Date);

run; - ANS Yes



The DROP statement is a compile-time-only statement. SAS sets a drop flag for the dropped
variables, but the variables are in the PDV and, therefore, are available for processing.



Which of the following can determine the length of a new variable?

2 @COPYRIGHT 2025/2026 ALLRIGHTS RESERVED.

Written for

Institution
SAS
Course
SAS

Document information

Uploaded on
November 26, 2025
Number of pages
8
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$12.99
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


Also available in package deal

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Thebright Florida State University
Follow You need to be logged in order to follow users or courses
Sold
228
Member since
1 year
Number of followers
6
Documents
13787
Last sold
1 week ago
Topscore Emporium.

On this page, you find verified, updated and accurate documents and package deals.

3.6

42 reviews

5
15
4
10
3
9
2
3
1
5

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