sas q3

Is this your test? Login to manage it. If not, you can develop a test just like it.

This is a non-interactive preview of the quiz content.

1.
1 point
Given the following codes, what will happen if the macro call will be submitted?
%macro a(b=c);
This is &b;
%mend a;
%a
2.
1 point
Which of the following is not true regarding %INCLUDE statement?
3.
1 point
The macro variable reference triggers the macro processor to search the symbol table for the reference.
4.
1 point
What clause can create series of macro variables in PROC SQL?
5.
1 point
Which of the following is not true regarding the values stored in a %LET statement?
6.
1 point
How is an indirect reference coded?
7.
1 point
Which of the following automatic macro variables stores the Operating system abbreviation (WIN, OS, HP 64, etc.).
8.
1 point
The word scanner does the following except for:
9.
1 point
A token ends when the word scanner detects:
10.
1 point
When you submit a program, it is copied to a memory location called the word scanner.
11.
1 point
What function can retrieve macro variable's value during data step execution?
12.
1 point
What is the value of X after %LET statement execution?
%let X=%substr("ABCD",3,1);
13.
1 point
What statement creates macro variables in the
DATA step?
14.
1 point
Which statement correctly creates an index variable named i?
15.
1 point
MACRO expressions differs with SAS expressions on the following except for:
16.
1 point
What statement ends a macro definition?
17.
1 point
To reference macro variables within a literal, enclose the literal in single quotation marks.
18.
1 point
The following are true for macro variable references except for:
19.
1 point
Macro variable references are resolved by which
of the following?
20.
1 point
Macro %IF-%THEN performs text processing to determine what SAS code to place on the input stack for tokenization, compilation, and execution
21.
1 point
Argument in the %INDEX function can be any of the following except for:
22.
1 point
Given the following macro variables in the global system table:
lib work
name holic
What is the value of the macro referencing, once it will be resolved?
&lib..a&name
23.
1 point
Name tokens contain one or more characters beginning with a letter or underscore and continuing with underscores, letters, or numerals. This includes SAS formats and informats
24.
1 point
What is the value to be stored in variable total?
%let a=1+1;
%let total=a;
%let total=&total+&a;