SAS: 10 Quiz Questions on Files

Top 10 quiz questions I am giving here on SAS files. You can review and learn quickly.

Quiz Questions

The syntax for sort is: PROC SORT (options);
BY VAR;
RUN;
True
False
Same syntax will be used

What is run statement:: The RUN statement is placed at the end of the block and tells SAS to execute the code.
True
False
Purpose is as above

Difference between NODUPLICATES and NODUPKEY. NODUPLICATES eliminates duplicates when they placed side by side. NODUPKEY eliminates duplicates.
True
False
Purpose is as above
Is this syntax correct: PROC SORT data=sample;
BY gender descending bday;
RUN;
Yes
No
Syntax is correct as above
What is OUT= New-Dataset-Name
::When SAS processes a sort procedure, it overwrites the unsorted dataset with the sorted dataset by default.
Yes
No
Syntax is correct as above

Author: Srini

Experienced software developer. Skills in Development, Coding, Testing and Debugging. Good Data analytic skills (Data Warehousing and BI). Also skills in Mainframe.

Comments are closed.