Download SAS Base Programming for SAS (r) 9.A00-211.NewDumps.2021-05-18.218q.vcex

Vendor: SASInstitute
Exam Code: A00-211
Exam Name: SAS Base Programming for SAS (r) 9
Date: May 18, 2021
File Size: 3 MB

How to open VCEX files?

Files with VCEX extension can be opened by ProfExam Simulator.

Demo Questions

Question 1
The SAS data set SASUSER.HOUSES contains a variable PRICE which has been assigned a permanent label of “Asking Price”. Which SAS program temporarily replaces the label “Asking Price” with the label “Sale Price” in the output?
  1. proc print data = sasuser.houses; label price = “Sale Price”; run;
  2. proc print data = sasuser.houses label; label price “Sale Price”; run;
  3. proc print data = sasuser.houses label; label price = “Sale Price”; run;
  4. proc print data = sasuser.houses; price = “Sale Price”; run;
Correct answer: C
Question 2
The following SAS program is submitted: 
  
data work.empsalary;  
set work.people (in = inemp)  
work.money (in = insal);  
if insal and inemp;  
run;  
  
The SAS data set WORKPEOPLE has 5 observations, and the data set WORKMONEY has 7 observations.  
How many observations will the data set WORK.EMPSALARY contain?
  1. 0
  2. 5
  3. 7
  4. 12
Correct answer: A
Question 3
The following SAS program is submitted: 
  
data work.accounting;  
set work.dept1 work.dept2;  
jobcode = ‘FA1’;  
length jobcode $ 8;  
run;  
  
A character variable named JOBCODE is contained in both the WORK.DEPT1 and WORK.DEPT2 SAS data sets. The variable JOBCODE has a length of 5 in the WORK.DEPT1 data set and a length of 7 in the WORK.DEPT2 data set. What is the length of the variable JOBCODE in the output data set?
  1. 3
  2. 5
  3. 7
  4. 8
Correct answer: B
Question 4
Given the SAS data set SASDATA TWO: 
SASDATA TWO  
X Y  
-- --  
5 2  
3 1  
5 6  
The following SAS program is submitted: 
  
data sasuser.one two sasdata.three;  
set sasdata two;  
if x = 5 then output sasuser.one;  
else output sasdata two;  
run;  
  
What is the result?
  1. data set SASUSER.ONE has 5 observations 
    data set SASUSER.TWO has 5 observations  
    data set WORK.OTHER has 3 observations
  2. data set SASUSER.ONE has 2 observations 
    data set SASUSER.TWO has 2 observations  
    data set WORK.OTHER has 1 observations
  3. data set SASUSER.ONE has 2 observations 
    data set SASUSER.TWO has 2 observations  
    data set WORK.OTHER has 5 observations
  4. No data sets are output. 
    The DATA step fails execution due to syntax errors.
Correct answer: A
Question 5
The following SAS program is submitted: 
  
footnote1 ‘Sales Report for Last Month’;  
footnote2 ‘Selected Products Only’;  
footnote3 ‘All Regions’;  
footnote4 ‘All Figures in Thousands of Dollars’;  
proc print data = sasuser.shoes;  
footnote2 ‘All Products’;  
run;  
  
Which footnote(s) is/are displayed in the report?
  1. All Products
  2. Sales Report for Last Month All Products
  3. All Products All Regions All Figures in Thousands of Dollars
  4. Sales Report for Last Month All Products All Regions All Figures in Thousands of Dollars
Correct answer: B
Question 6
Given the raw data record DEPT: 
  
----|----10---|----20---|----30  
Printing 750  
The following SAS program is submitted: 
data bonus;  
infile ‘dept’;  
inputdept$ 1-11 number 13- 15;  
<insert statement here>  
run;  
  
Which SAS statement completes the program and results in a value of ‘Printing750’ for the DEPARTMENT variable?
  1. department = dept II number;
  2. department = left(dept) II number;
  3. department = trim(dept) number;
  4. department=trim(dept)||put(number,3.);
Correct answer: D
Question 7
The following SAS program is submitted: 
  
data one;  
addressl = ‘214 London Way’;  
run;  
data one;  
set one;  
address = tranwrd(address1, ‘Way’, ‘Drive’); run;  
  
What are the length and value of the variable ADDRESS?
  1. Length is 14; value is ‘214 London Dri’.
  2. Length is 14; value is ‘214 London Way’.
  3. Length is 16; value is ‘214 London Drive’.
  4. Length is 200; value is ‘214 London Drive’.
Correct answer: D
Question 8
The following SAS program is submitted: 
  
data work.sets;  
do until (prod gt 6);  
prod + 1;  
end;  
run;  
  
What is the value of the variable PROD in the output data set?
  1. 6
  2. 7
  3. 8
  4. (missing numeric)
Correct answer: B
Question 9
The SAS data sets WORK.EMPLOYEE and WORK.SALARY are shown below: 
WORK.EMPLOYEE WORK.SALARY  
fname age name salary  
Bruce 30 Bruce 25000  
Dan 40 Bruce 35000  
Dan 25000  
The following SAS program is submitted: 
data work.empdata;  
  
by fname;  
totsal + salary;  
run;  
  
Which one of the following statements completes the merge of the two data sets by the FNAME variable?
  1. merge work.employee 
    work.salary (fname = name);
  2. merge work.employee 
    work.salary (name = fname);
  3. merge work.employee 
    work.salary (rename = (fname = name));
  4. merge work.employee 
    work.salary (rename = (name = fname));
Correct answer: D
Question 10
Which program displays a listing of all data sets in the SASUSER library?
  1. proc contents lib = sasuser.all; run;
  2. proc contents data = sasuser.all; run;
  3. proc contents lib = sasuser._alI_; run;
  4. proc contents data = sasuser._all_; run;
Correct answer: D
HOW TO OPEN VCE FILES

Use VCE Exam Simulator to open VCE files
Avanaset

HOW TO OPEN VCEX AND EXAM FILES

Use ProfExam Simulator to open VCEX and EXAM files
ProfExam Screen

ProfExam
ProfExam at a 20% markdown

You have the opportunity to purchase ProfExam at a 20% reduced price

Get Now!