0

programming languages Online Quiz - 191

Description: programming languages Online Quiz - 191
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0

ejbCreate() method of CMP bean returns

  1. null

  2. Primary Key class

  3. Home Object

  4. Remote Object


Correct Option: A

Which of the following is correct syntax for an Abstract class ?

  1. abstract double area() { }

  2. abstract double area()

  3. abstract double area();

  4. abstract double area(); { }


Correct Option: C

A JSP page is opened in a particular Session. A button is present in that JSP page onclick of which a new Window gets opened.

  1. The Session is not valid in the new Window

  2. The Session is valid in the new Window

  3. New session is created and that is valid.

  4. None of the above


Correct Option: B

A class can be converted to a thread by implementing the interface

  1. Thread

  2. Runnable

  3. Implements

  4. None of the above


Correct Option: B
  1. Alt + Function 11

  2. Alt + Shift + Function 5

  3. Ctrl + Function 11

  4. Ctrl + Shift+ Function 5


Correct Option: A

Short cut key to run a macro is

  1. Function 5

  2. Function 6

  3. Function 7

  4. Function 8


Correct Option: A
  1. Ctrl + Break

  2. Shift + Break

  3. Alt + Break

  4. Break


Correct Option: A

We can enable or disable macros by using ___________ option list.

  1. Office Button -> excel options -> Trust Center -> Macro Enable/Disable

  2. Office Button -> excel options -> Trust Center -> Macro Security

  3. Office Button -> excel options -> Trust Center -> Privacy Options

  4. Office Button -> excel options -> Trust Center -> Macro Settings


Correct Option: D
  1. VBAProject -> Project properties -> Password Tab

  2. VBAProject -> Project properties -> General Tab

  3. VBAProject -> Project properties -> Protection Tab

  4. VBAProject -> Project properties -> Lock Tab


Correct Option: C

------------indexes and stores objects in a dictionary

  1. Vector

  2. Hash table

  3. Linked list

  4. Enumeration


Correct Option: B
  1. Two tier model

  2. Three tier model

  3. Both a & b

  4. None of the above


Correct Option: C

Removing or inserting elements in the middle of an array can be done using

  1. Vector

  2. Hash table

  3. Linked list

  4. Enumeration


Correct Option: C

----------stores elements in an unordered way but does not contain duplicate elements

  1. Set

  2. List

  3. Collections

  4. None of the above


Correct Option: A

What is the life cycle of a servlet?

  1. init(),service(),destroy()

  2. init(),destroy(),service(),

  3. init(),process(),destroy()

  4. init(),start(),destroy()


Correct Option: A
- Hide questions