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;
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;
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.
::When SAS processes a sort procedure, it overwrites the unsorted dataset with the sorted dataset by default.
Yes
No
Syntax is correct as above
One thought
Comments are closed.