Tag: programming languages

Questions Related to programming languages

  1. javax.ejb.AccessLocalException

  2. javax.rmi.NoSuchObjectException

  3. javax.ejb.NoSuchEntityException

  4. javax.rmi.StubNotFoundException


Correct Option: B
  1. The SELECT clause designates query domain

  2. An EJB QL query may have parameters.

  3. The WHERE clause determines the types of objects to be selected

  4. Of the three clause types, SELECT, FROM and WHERE, only the SELECT clause is required


Correct Option: B

Given the EJB QL Expression: p.discount BETWEEN 10 AND 15 Which expression is equivalent?

  1. p.discount > 10 AND p.discount < 15

  2. p.discount >= 10 AND p.discount < 15

  3. p.discount >= 10 AND p.discount <= 15

  4. p.discount > 10 AND p.discount <= 15


Correct Option: C
  1. sno sname marks { 10 suganya 30} {20 preethi 40} {30 rathna 40} {. .}

  2. sno sname marks { 10 suganya 30} {20 preethi 40} {30 rathna 40}

  3. sno sname marks { 10 suganya 30} {20 preethi 40} {30 rathna } {40 nitya} {50 manasa}

  4. sno sname marks { 10 suganya 30} {20 preethi 40}


Correct Option: B
  1. The new dataset will have only variables x and y

  2. Syntax Error.The Keep statement should be (Keep = x y).

  3. The old dataset will have only variables x and y

  4. The new dataset will have all variables


Correct Option: B
  1. Format score is created in the SAS catalog

  2. The format name should not end with .

  3. The format can be used in DATA steps

  4. The format can be used in PROC steps


Correct Option: B