Tag: programming languages

Questions Related to programming languages

  1. stored in sashelp.formats

  2. stored in sasuser.formats

  3. temporary not stored anywhere

  4. Stored in a SAS catalog


Correct Option: D
  1. libname 'example2.xls' outxls

  2. libname outxls excel 'example2.xls'

  3. libname outxls 'example2.xls'

  4. both 2 and 3


Correct Option: B
  1. Case 1 will compile and execute

  2. Case 2 will compile and execute

  3. Case 2 will compile but fail at runtime

  4. Both the Cases wont compile


Correct Option: A,C
  1. s1 and s2 have 2 observations and s3 has no observations

  2. s1 and s2 have 5 observations and s3 has 3 observations

  3. s1,s2,s3 have 3 observations

  4. s1 and s2 have 2 observations and s3 has 3 observations


Correct Option: B
  1. proc print data=inxls."Ages$"e;

  2. proc print data=inxls."Ages$"n;

  3. proc print data=inxls."Ages$"s;

  4. proc print data=inxls."Ages$";


Correct Option: B
  1. SAS will read and execute steps simultaneously

  2. A step is completed when the QUIT statement appears

  3. All programming steps begin with either a DATA or PROC keyword

  4. A step is completed when the RUN statement appears


Correct Option: A