Select the best answer
for each question. Check your answers using the answer key in the
appendix.
-
Which statement is false
regarding an ARRAY statement?
-
It is an executable
statement.
-
It can be used to create
variables.
-
It must contain either
all numeric or all character elements.
-
It must be used to define
an array before the array name can be referenced.
-
What belongs within
the braces of this ARRAY statement?
array contrib{?} qtr1-qtr4;
-
For the program below,
select an iterative DO statement to process all elements in the contrib
array.
data work.contrib;
array contrib{4} qtr1-qtr4;
...
contrib{i}=contrib{i}*1.25;
end;
run;