Friday, 6 February 2015

Base SAS: Interview Questions You'll Most Likely be Asked (Page 8)

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

36. What other SAS features do you use for error trapping and data validation?
What are the validation tools in SAS?
For dataset: Data set name/debugData set: name/stmtchk
For macros: Options:mprint mlogic symbolgen.

37. How can you put a "trace" in your program?
ODS Trace ON, ODS Trace OFF the trace records.

38. What is Enterprise Guide? What is the use of it?
It is an approach to import text files with SAS (It comes free with Base SAS version 9.0)

39. What is the main difference between rename and label?
1. Label is global and rename is local i.e., label statement can be used either in proc or data step where as rename should be used only in data step. 2. If we rename a variable, old name will be lost but if we label a variable its short name (old name) exists along with its descriptive name.

40. What is the difference between compiler and interpreter?
Give any one example (software product) that act as an interpreter?
Both are similar as they achieve similar purposes, but inherently different as to how they achieve that purpose. The interpreter translates instructions one at a time, and then executes those instructions immediately. Compiled code takes programs (source) written in SAS programming language, and then ultimately translates it into object code or machine language. Compiled code does the work much more efficiently, because it produces a complete machine language program, which can then be executed.
More Questions & Answers :-
Page1  Page2  Page3  Page4  Page5  Page6  
Page7  Page8

No comments:

Post a Comment