0

programming languages Online Quiz - 187

Description: programming languages Online Quiz - 187
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0
  1. Project leader

  2. GL

  3. Quality Reviewer

  4. Project Manager


Correct Option: C

Stateful session beans contain

  1. Home Interface

  2. Remote Interface

  3. Bean Class

  4. All the above


Correct Option: D

Which file contains the EJB modules of the application?

  1. .jar

  2. .war

  3. .ear

  4. .zip


Correct Option: C

What are the call back methods in Session bean?

  1. ejbCreate()

  2. ejbPassivate(),

  3. ejbActivate()

  4. All the above


Correct Option: D

JTA stands for

  1. Java Transaction Array

  2. Java Transaction API

  3. Java Translation Array

  4. Java Translation API


Correct Option: B

JTS stands for

  1. Java Transaction Service

  2. Java Translation Service

  3. Java Transaction Servlet

  4. Java Translation Servlet


Correct Option: A

Which one of the following is a valid declaration of an applet?

  1. Abstract class MyApplet extends java.applet.Applet {

  2. Public class MyApplet extends java.applet.Applet {

  3. Class MyApplet implements Applet {

  4. Public class MyApplet extends applet implements Runnable {


Correct Option: B

What are the JSP scripting elements?

  1. Declaration

  2. Scriplets

  3. Expressions

  4. All the above


Correct Option: D
  1. Presentation Tag

  2. JSP standard Tag

  3. Custom tags

  4. All the above


Correct Option: D
  1. Integer "j" is not initialized.

  2. Nothing.

  3. You cannot declare integer i inside the for-loop declaration.

  4. The syntax of the "if" statement is incorrect.


Correct Option: B

What are the two parts of a value of type double?

  1. significant digits

  2. length

  3. exponent

  4. Both & b


Correct Option: D
  1. m1 = new TextField("sixty");

  2. 1a = 6;

  3. add(m1);

  4. m1.setText("Hello world);


Correct Option: C
  1. An entity that receives inputs and outputs

  2. A way of storing values

  3. A sequence of characters enclosed by quotes

  4. A kind of computer


Correct Option: A
  1. jspInit()

  2. jspDestroy()

  3. _jspService()

  4. Both a & b


Correct Option: D
  1. table is a variable to refers to a real number

  2. table is a variable that refers to two numbers

  3. It is not legal Java code

  4. table is a variable that refers to an array


Correct Option: D

The following is NOT an example of a data type.

  1. int

  2. public

  3. button

  4. void


Correct Option: B
- Hide questions