Tag: programming languages

Questions Related to programming languages

which one of the following System option displays the time on the report

  1. DATE

  2. TIME

  3. TODAY

  4. DATETIME


Correct Option: A

data work.january; set work.allmonths(keep = product month num_sold cost); if month='Jan' then output work.january; sales = cost * num_sold; keep = product sales; run; which variable does the work.january dataset contain?

  1. product and sales only

  2. product month num_sold cost

  3. product sales month num_sold cost

  4. An incomplete output dataset is created due to syntax errors


Correct Option: D
  1. The DATA step stops executing at the point of the error and no SAS dataset is created

  2. A note is written to the SAS log expalining the error and the DATA step continues to execute

  3. A note appreas in the SAS log that the incorrect data record was saved to a seperate SAS file for further examiantion

  4. The DATA step stops executing at the point of the error and the resulting DATA set contains observations up to that point


Correct Option: B

The contents of the raw data file NAMENUM are listed below: Joe xx The following SAS program is submitted: data test; infile 'namenum'; input name $ number; run; which one of the following is the value of the NUMBER variable?

  1. xx

  2. Joe

  3. .(missing numeric value)

  4. The value cannot be deteremined as the program fails to execute due to errors


Correct Option: C

The same method name , same argumentlist But different return type is called as

  1. overload method

  2. override method

  3. ploymorphism

  4. none


Correct Option: D

is it possible to declare the abstract class referece type?

  1. True

  2. False


Correct Option: A

What is the super calss of class?

  1. Nothing

  2. Class object

  3. class

  4. calss reference


Correct Option: B