Download SASInstitute.A00-211.Train4Sure.2019-06-03.144q.vcex

Download Exam

File Info

Exam SAS Base Programming for SAS (r) 9
Number A00-211
File Name SASInstitute.A00-211.Train4Sure.2019-06-03.144q.vcex
Size 3 MB
Posted Jun 03, 2019
Download SASInstitute.A00-211.Train4Sure.2019-06-03.144q.vcex

How to open VCEX & EXAM Files?

Files with VCEX & EXAM extensions can be opened by ProfExam Simulator.

Purchase

Coupon: MASTEREXAM
With discount: 20%






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

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 5

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 6

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 7

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



Question 8

Given the SAS data set PRICES:
PRICES 
prodid  price 
K12S    5.10    producttype 
NETWORK    sales 
15    returns 
B132S  2.34    HARDWARE    300    10 
R18KY21.29    SOFTWARE    25    5 
3KL8BY 6.37    HARDWARE    125    15 
DY65DW 5.60    HARDWARE    45    5 
DGTY23 4.55    HARDWARE    67    2 
The following SAS program is submitted:
data hware inter soft; 
set prices (keep = producttype price); 
if price le 5.00; 
if producttype = ‘HARDWARE’ then output HWARE; 
else if producttype = ‘NETWORK’ then output INTER; 
else if producttype = ‘SOFTWARE’ then output SOFT; 
run; 
How many observations does the HWARE data set contain?


  1. 0
  2. 2
  3. 3
  4. 4
Correct answer: B



Question 9

The following SAS program is submitted:
data work.accounting; 
set work.department; 
length jobcode $ 12; 
jobcode=’FAl’; 
run; 
The WORK.DEPARTMENT data set contains a character variable named JOBCODE with a length of 5. What is the result?


  1. The length of the variable JOBCODE is 3.
  2. The length of the variable JOBCODE is 5.
  3. The length of the variable JOSBODE is 12.
  4. The program fails to execute due to errors.
Correct answer: B



Question 10

The following SAS program is submitted:
data work.passengers; 
if OrigPassengers = . then' 
OrigPassengers = 100; 
TransPassengers = 100; 
OrigPassengers = .; 
TotalPassengers = sum (OrigPassengers, TransPassengers) +0; 
run; 
What is the value of the TOTALPASSENGERS variable in the output data set?


  1. 0
  2. 100
  3. 200
  4. (missing numeric value)
Correct answer: B









CONNECT US

Facebook

Twitter

PROFEXAM WITH A 20% DISCOUNT

You can buy ProfExam with a 20% discount!



HOW TO OPEN VCEX FILES

Use ProfExam Simulator to open VCEX files