Archive for the ‘Question of the day ?’ Category

sas question of the day

Monday, March 30th, 2009

More detail  visit  our website  http://www.iisastr.com

Q. Which SAS statement below will change the characteristics of a variable if it was used in a data step?

A. SCAN
B. ATTRIB
C. FORMAT
D. PUT
E. ARRAY

We  put  a  question  of  base  sas   ,advance sas ,predictive Modeling   or  interview question  , every day  in      this   section  and  to    know  the  answer please  send  a email  to   qa@iisastr.com with  subject  line    question   no  . also  you  may  send  any  question  to  get  answer.

Interview Question:

Q1.When reading    data ,if  you do  not  specify the  length  of  a varibles .what  is  the  default  length?

Q2. can  the trailing @ control be  used  in  the    LIST,COLUMN, or  Formattedt Input  statement?

Q3.In  which method ,Merge  with By statement   or     SQL procedure,will you  get a  warning message   when combining common variables  from data sets unless you  select variables  from  individual data sets?

Q4.   Mr  Raj      sas  programmer  has  written  the  following  code

data iisastr;

if age>25 then drop   sex;

run;

Do you  think   above  program  will  run without   any  error   or  not.

please     answer  with  reason?

Q5. Can  a  where    statement   be  applied   to   DATA   steps   with  an   INPUT   statement?

Q6.Ms Lily  has  written  the  following  code .

data iisastr;

set iisastr_delhi;

run;

Do  you  think  that  ,  during the execution phase  of  the  above  program

,it  will  create   a   input   buffer    to  store the  values of the  observation?