Given the SAS data set ONE:
ONE
DIVISION SALES
A 1234
A 3654
B 5678
The following SAS program is submitted:
Data_null_;
Set one;
By divition;
If first.division then
Do;
%let mfirst=sales;
end;
run;
What is the value of the macro variable MFRIST when the program finishes execution?
A. 1234
B. sales
C. 5678
D. null
Given the following SAS data set ONE: ONE REP AREA COST SMITH NORTH 100 SMITH SOUTH 200 JONES EAST 100
SMITH NORTH 300 JONES WEST 100 JONES NORTH 200 JONES NORTH 400 SMITH NORTH 400 JONES WEST 100 JONES WEST 300 The following SAS program is submitted: proc sql; select rep, area, count(*) as TOTAL from one group by rep, area; quit;
Which one of the following reports is generated?
A. REP AREA COUNT JONES EAST 100 JONES NORTH 600 JONES WEST 500 SMITH NORTH 800 SMITH SOUTH 200
B. REP AREA TOTAL JONES EAST 100 JONES NORTH 600 JONES WEST 500 SMITH NORTH 800 SMITH SOUTH 200
C. REP AREA TOTAL JONES EAST 1 JONES NORTH 2 JONES WEST 3 SMITH NORTH 3 JONES WEST 3 SMITH NORTH 3 SMITH SOUTH 1
D. REP AREA TOTAL JONES EAST 1 JONES NORTH 2 JONES WEST 3 SMITH NORTH 3 SMITH SOUTH 1 SMITH NORTH 3 SMITH SOUTH 1
Which title statement would always display current date?
A. title " Today is: and today.";
B. title "Today is: sysfunc (today (), worddate)";
C. title "Today is: and sysdate. ";
D. title "Today is: andsysdate.";
Which SAS integrity constraint type ensures that a specific set or range of values are the only values in a variable?
A. CHECK
B. NOT NULL
C. PRIMARY KEY
D. UNIQUE
This question will ask you to provide a segment of missing code.
Given the SAS data set SASUSER.ORDERS:
The following SAS program is submitted:
Which statement completes the program completely so that it will produce a report with the total number of orders for California?
A. Call syntax (`num' California)
B. Num = California
C. andnum = California
D. Syntax (`num', California)
Which one of the following options is available for SAS macro debugging?
A. MLOGIC
B. MDEBUG
C. MSGLEVEL
D. MAUTOSOURCE
Given the following SAS data sets ONE and TWO:
ONE TWO
NUM CHAR1 NUM CHAR2
1 A1 2 X1
1 A2 2 X2
2 B1 3 Y
2 B2 5 V
4 D
The following SAS program is submitted creating the output table THREE:
proc sql; create table three as
select one.num, char1, char2
from one, two
where one.num = two.num;
quit;
THREE
NUM CHAR1 CHAR2
2 B1 X1
2 B1 X2
2 B2 X1
2 B2 X2
Which one of the following DATA step programs creates an equivalent SAS data set THREE?
A. data three; merge one two; by num; run;
B. data three; set one; set two; by num; run; merge one two; by num; run;
C. data three; set one; set two; by num; run; by num; run;
D. data three; set one; do i = 1 to numobs; set two(rename = (num = num2)) point = i nobs = numobs; if num2 = num then output; end; drop num2; run;
Which one of the following SAS programs uses the most amount of memory resources for output buffers?
A. data new(bufsize = 1000 bufno = 5); set temp; run;
B. data new(bufsize = 1000 bufno = 2); set temp; run;
C. data new(bufsize = 2000 bufno = 3); set temp; run;
D. data new(bufsize = 4000 bufno = 1); set temp; run;
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-:groupandnumgrp from sasuser.highway;
quit;
%do i=1 %to andnumgrp;
proc print data =sasuser.highway;
where status ="andandgroupandI";
run;
%end;
%mend;
%highway
How many reports are produced?
A. 2
B. 6
C. 0
D. 5
Given the non-indexed SAS data set TEMP: TEMP X Y
P 52 P 45 A 13 A 56 R 34 R 12 R 78 The following SAS program is submitted: Proc print data=temp;
A. By X notsorted;
B. By X grouped;
C. By Descending X;
D. By X;
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only SAS Institute exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your A00-212 exam preparations and SAS Institute certification application, do not hesitate to visit our Vcedump.com to find your solutions here.