Friday 6 February 2015

40 TOP SAS Interview Questions and Answers for freshers and experienced pdf

Below are some important SAS Programming interview questions which are asked in most MNC company interviews for beginners or professionals.

1. What is SAS?
SAS is an integrated set of software products. The acronym stands for Statistical Analysis System

2. What are the special input delimiters?
The input delimiters are DLM and DSD.

3. What is the difference between a format and an informat?
Format: A format is to write data i.e.  WORDIATE18 and WEEKDATEW
Informat: An informat is to read data i.e. comma, dollar and date (MMDDYYw, DATEw, TIMEw, PERCENTw
Describe an SAS function.
TRIM: removes trailing blanks from a character expression
Str1 = ‘my’;
Str2 = ‘dog’;
Result = TRIM (Str1)(Str2);
Result = ‘mydog’

4. What is a PDV?
A PDV or Program Data Vector is a logical area in the memory. SAS creates a database of one observation at a time. At the time of compilation an input buffer is created which holds a record from and external file. The PDV is created following this input buffer creation.

5. What is a PUT statement?
A PUT statement is a flexible tool in data step programming.
Examples of a PUT statement are:
PUT _all_ - writes the values of all variables
PUT 132*’_’ – writes 132 underscores
PUT one two three – writes three variable values separated by a space.
More Questions & Answers :-
Page1  Page2  Page3  Page4  Page5  Page6  Page7  Page8

No comments:

Post a Comment