最新的SASInstitute SAS advanced programming - A00-202免費考試真題
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?
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?
正確答案: B
Which one of the following options is available for SAS macro debugging?
正確答案: B
In which one of the following SAS programs is the SAS data set index named CHAR1 always used?
正確答案: D
The following SAS program is submitted:
data temp;
array points{2,3}_temporary_;
run;
Which one of the following is the maximum number of elements that are stored?
data temp;
array points{2,3}_temporary_;
run;
Which one of the following is the maximum number of elements that are stored?
正確答案: D
Given the following SAS data set ONE:
ONE GROUP SUM
A 765 B 123 C 564
The following SAS program is submitted:
data _null_;
set one;
call symput(group,sum); run;
Which one of the following is the result when the program finishes execution?
ONE GROUP SUM
A 765 B 123 C 564
The following SAS program is submitted:
data _null_;
set one;
call symput(group,sum); run;
Which one of the following is the result when the program finishes execution?
正確答案: B
Which of the following statement(s) in the DATASETS procedure alters the name of a SAS data set stored in a SAS data library?
正確答案: A
Which one of the following should be avoided when creating and using an SQL procedure view?
正確答案: A
Given the following SAS data set named WORK.INTERNAT:
WORK.INTERNAT LOCATION SUM
USA 30 EUR 40
The following SAS program is submitted:
%let LOC = Usa;
proc sql;
select *
from internat
where location = "&Loc"; quit;
Which one of the following is the result when the above code is executed on the above data set?
WORK.INTERNAT LOCATION SUM
USA 30 EUR 40
The following SAS program is submitted:
%let LOC = Usa;
proc sql;
select *
from internat
where location = "&Loc"; quit;
Which one of the following is the result when the above code is executed on the above data set?
正確答案: C