Official Bank 0/270

SAS Base Programming for SAS (r) 9 Exam (A00-211) - SASI Exam Questions

Last updated on June 20, 2026

97% Exam Compliance
270 Total Questions
1
Question
Which one of the following SAS statements renames two variables?
Options
A set work.dept1work.dept2(rename = (jcode jobcode)(sal salary));
B set work.dept1work.dept2(rename = (jcode = jobcode)(sal = salary));
C set work.dept1work.dept2(rename = (jcode = jobcodesal = salary));
D set work.dept1work.dept2(rename = jcode = jobcodesal = salary);
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

2
Question
Consider the following data step:
data WORK.NEW;
set WORK.OLD;
Count+1;
run;
The varaible Count is created using a sum statement. Which statement regarding this variable is true?
Options
A It is assigned a value 0 when the data step begins execution.
B It is assigned a value of missing at compile time.
C It is assigned a value of missing when the data step begins execution.
D It is assigned a value 0 at compile time.
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

3
Question
The following SAS program is submitted:
Data WORK.COMPRESS;
ID = ‘1968 05-10 567’;
NewID = compress (ID, “

-“);
run;

What will the value of NewID be in the WORK.COMPRESS data set?
Options
A 1968 0510 567
B 19680510567
C 1968 05-10 567
D 196805-10567
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

4
Question
The following SAS program is submitted:
data allobs;
set sasdata.origin (firstobs = 75 obs = 499);
run;
The SAS data set SASDATA.ORIGIN contains 1000 observations.

How many observations does the ALLOBS data set contain?
Options
A 1000
B 425
C 424
D 499
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

5
Question
Given the following data set WORK.TOYS:

Exhibit

The following SAS program s submitted:
data WORK.GROUPS;
set WORK.TOYS;
if Product=”Cards” then Group_Desc=”Indoors”;
else if Product in (“Drum”, “Recorder”) then Group_Desc=“Instruments”;
else if Product=”Ball” then Group_Desc=”Outdoors”;
proc print data=WORK.GROUPS noobs;
Which output is produced?
run;
run;
Options
A Option
B Option
C Option
D Option
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

Finish Practice?

Are you sure you want to finish? This will end your practice session.