EZ Study

Actuarial Biology Chemistry Economics Calculators Confucius Engineer
Physics
C.S.

SAS Programing Certification Exam

### Practice Question 95

The line pointer / advances the pointer to -

a) column 1 of the next input line     b) column 1 of the current input line

c) last column of the next input line     d) last column of the current input line

The / - relative line pointer always advances to column of the next input line

### Practice Question 96

Which trailing line hold specifier is used to read an input line with more than one INPUT statement
a) ?     b) ==     c) +     d) @

Straight forward @ - Trailing line hold specifier is used to read input line with more than one INPUT statement.

### Practice Question 97

review the code below

retain count 0;
Click to Get Those Highly Recommended SAS Programmers' Books
count=count+1;

The code produces the same result as

a) count++;     b) count+1;     c) count=count+1;     d) count<=count+1;

The SUM statement Count+1;

### Practice Question 98

The value of the automatic variable _n_ is

a) the number of executions of a SET statement
b) the number of the current execution of the DATA step
c) a tally of all the observations output to a dataset so far
d) equal to the total number of observations in the current input SAS dataset

The value of the _N_ is the Number of the current execution of the Data step.

### Practice Question 99

The only reason to truncate the number of bytes of a variable by using a LENGTH statement is to -

a) save disk space
b) conveniently round the value of a numeric variable
c) efficiently truncate the value of a numeric variable
d) remove all trailing blanks from a character variable.

### Practice Question 100

options obs=max;

data x;
do i=1 to 100;
a=i;
output;
end;
run;

options obs=20;

data a;
set x;
run;

options obs=100;

data b;
set a;
run;

Datasets a and b have ____and ____ observations respectively.

a) 20 20     b) 20 100     c) 100 20     d) 100 100

Since obs=max to start with Dataset x would have 100 obs obs is set 20; so Dataset A would have 20;