Download SAS Advanced Programming Exam for SAS 9.A00-212.CertDumps.2018-01-03.184q.vcex

Vendor: SASInstitute
Exam Code: A00-212
Exam Name: SAS Advanced Programming Exam for SAS 9
Date: Jan 03, 2018
File Size: 10 MB

How to open VCEX files?

Files with VCEX extension can be opened by ProfExam Simulator.

Demo Questions

Question 1
The following SAS program is submitted:
Data sasuser.history; 
Set sasuser.history(keep=state x y 
Rename = (state=ST)); 
Total=sum(x, y); 
Run; 
The SAS data set SASUSER.HISTORY has an index on the variable STATE. 
Which describes the result of submitting the SAS program?
  1. The index on STATE is deleted and an index on ST is created
  2. The index on STATE is recreated as an index on ST
  3. The index on STATE is deleted
  4. The index on STATE is updated as an index on ST
Correct answer: C
Question 2
The following SAS program is submitted: 
%macro one (input); 
%two; 
%put the value is &date; 
%mend; 
%macro two; 
data _null_; 
call symput('date','12SEP2008'); 
run; 
%mend; 
%let date=31DEC2006; 
%one(&date) 
What is the result when the %PUT statement executes?
  1. A macro variable DATE with the value 12SEP2008 is retrieved from the local symbol table for the ONE macro
  2. A macro variable DATE with the value 12SEP2008 is retrieved from the local symbol table for the TWO macro
  3. A macro variable DATE with the value 12SEP2008 is retrieved from the global symbol table
  4. A macro variable DATE with the value 31DEC2006 is retrieved from the global symbol table
Correct answer: C
Question 3
Which SET statements option names a variable that contains the number of the observation to read during the current iteration of the DATA step?
  1. OBS=pointobs
  2. POINT=pointobs
  3. KEY=pointobs
  4. NOBS=pointobs
Correct answer: B
Question 4
When reading a SAS data file, what does the NOBS=option on the SET statement represent?
  1. A variable that represents the total number of observation in the output data set(s)
  2. A variable that represents a flag indicating the end of the file
  3. A variable that represents the total number of observations in the input data set(s)
  4. A variable that represents the current observation number
Correct answer: C
Question 5
CORRECT TEXT 
The following SAS program is submitted: 
%macro check(num=4); 
%let result=%sysevalf(&num+0.5); 
%put result is &result; 
%mend; 
%check(num=10) 
What is the written to the SAS log?
  1. result is
  2. result is 10
  3. result is 10.5
  4. result is 10+0.5
Correct answer: C
Question 6
The following SAS program is submitted: 
%micro test(var); 
%let jobs=BLACKSMITH WORDSMITH SWORDSMITH; 
%let type=%index(&jobs, &var); 
%put type = &type; 
%mend; 
%test(SMITH) 
What is the value of the macro variable TYPE when the %PUT statement executes?
  1. 0
  2. Null
  3. 6
  4. 3
Correct answer: C
Question 7
The following SAS program is submitted: 
%macro check(num=4); 
%let result=%eval(&nm gt 5); 
%put result is &result; 
%mend; 
%check (num=10) 
What is written to the SAS log?
  1. result is true
  2. result is 10 gt 5
  3. result is 1
  4. result is 0
Correct answer: C
Question 8
The following SAS program is submitted:
data temp; 
length 1 b 3 x; 
infile 'file reference'; 
input a b x; 
run; 
What is the result?
  1. The data set TEMP is not created because variables A and B have invalid lengths
  2. The data set TEMP is created, but variable X is not created
  3. The data set TEMP is not created because variable A has an invalid length
  4. The data set TEMP is created and variable X has a length of 8
Correct answer: C
Question 9
Given the SAS data sets ONE and TWO:
   
The following SAS program is submitted:
Proc sql; 
Select two.*,budget from one <insert JOIN operator here> two on one.year=two.year, 
Quit; 
The following output is desired:
   
Which JOIN operator completes the program and generates the desired output?
  1. FULL JOIN
  2. INNER JOIN
  3. LEFT JOIN
  4. RIGHT JOIN
Correct answer: A
Question 10
Given the SAS data set SAUSER.HIGWAY:
SASUSER.HIGHWAY 
   
The following SAS program is submitted: 
%macro highway; 
proc sql nonprint; 
%let numgrp=6; 
select distinct status into:group1-:group&numgrp from sasuser.highway;
quit; 
%do i=1 %to &numgrp; 
proc print data =sasuser.highway; 
where status ="&&group&I"; 
run; 
%end; 
%mend; 
%highway 
How many reports are produced?
  1. 2
  2. 6
  3. 0
  4. 5
Correct answer: A
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!