Download SAS Base Programming for SAS (r) 9.A00-211.ActualTests.2018-09-28.115q.vcex

Vendor: SASInstitute
Exam Code: A00-211
Exam Name: SAS Base Programming for SAS (r) 9
Date: Sep 28, 2018
File Size: 2 MB

How to open VCEX files?

Files with VCEX extension can be opened by ProfExam Simulator.

Demo Questions

Question 1
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 2
Given the following raw data record:
----I----10---I----20---I----30 
son Travis, 
The following output is desired:
Obs relation firstname 
1 son Travis 
Which SAS program correctly reads in the raw data?
  1. data family ( dIm = ‘,’); infile ‘tile specification’; input relation $ firstname $; run;
  2. options dIm = ‘,’; data family; infile ‘file specification’; input relation $ firstname $; run;
  3. data family; infile ‘file specification’ dIm = ‘,’; input relation $ firstname $; run;
  4. data family; infile ‘file specification’; input relation $ firstname $ / dim = ‘,’; run; 
Correct answer: C
Question 3
Given the SAS data set AGES:
AGES 
AGE 
--------- 
The variable AGE contains character values. The following SAS program is submitted:
data subset; 
set ages; 
where age> 12; 
run; 
How many observations are written out to the data set SUBSET?
  1. 0
  2. 1
  3. 2
  4. 3
Correct answer: A
Question 4
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 5
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 6
The following SAS program is submitted:
  
How many observations are written to the WORK.SALES data set?
  1. 0
  2. 1
  3. 5
  4. 60
Correct answer: B
Explanation:
Question 7
The following SAS program is submitted:
  
The program fails execution due to syntax errors. What is the cause of the syntax error?
  1. The variable MONTHSALES does not exist.
  2. An array cannot be referenced on a KEEP data set option.
  3. The KEEP= data set option should be (KEEP = MONTHSALES).
  4. The KEEP= data set option should be the statement KEEP MONTHSALES{12}.
Correct answer: B
Question 8
Given the SAS data set EMPLOYEES:
EMPLOYEES 
NAME   SALARY 
--------   ------------ 
Innis     60000 
Jolli     50000 
Ellis     55000 
Liu     45000 
The following SAS program is submitted:
proc print data = employees; where name like ‘_i%’; 
run; 
What is contained in the output? 
  1. Liu only
  2. Innis and Ellis only
  3. Innis, Ellis, and Liu only
  4. Innis, Jolli, Ellis, and Liu
Correct answer: A
Question 9
Given the SAS data set ONE:
ONE 
Obs     Dte 
-----    -------- 
1        09JAN2005 
2        12JAN2005 
The following SAS program is submitted:
data two; 
set one; 
day = <insert expression here>; 
format dte date9.; 
run; 
The data set TWO is created:
TWO     
Obs    Dte    Day 
1    09JAN2005    1 
12    JAN2005    4 
Which expression successfully completed the program and created the variable DAY?
  1. day(dte)
  2. weekday(dte)
  3. dayofweek(dte)
  4. datdif(dte,’01jan2005’d,’act/act’)
Correct answer: B
Question 10
Read the table:
  
Given the SAS data set SASUSER.HOUSES:
The following SAS program is submitted:
proc report data = sasuser.houses nowd headline; 
column style price; 
where price It 100000; 
<insert DEFINE statement here> 
define price / mean width = 9 format = dollar12.; 
title; 
run; 
The following output is desired:
Which DEFINE statement completes the program and produces the desired output?
  1. define style / width = 9,
  2. define style / orderwidth = 9;
  3. define style / group width = 9;
  4. define style / display width = 9;
Correct answer: C
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!