0

web technology Online Quiz - 92

Description: web technology Online Quiz - 92
Number of Questions: 20
Created by:
Tags: web technology
Attempted 0/20 Correct 0 Score 0

Which Portal element defines the collection of services in a portal?

  1. a desktop

  2. a book

  3. a page

  4. a portlet


Correct Option: A

Which Portal element controls menus?

  1. a page

  2. a portlet

  3. a book

  4. a desktop


Correct Option: C

Which Portal element displays portlets?

  1. a book

  2. a portal

  3. a page

  4. desktop


Correct Option: C

Which is the first item to be added to a portal project when creating a portal application?

  1. a portal

  2. a portlet

  3. a desktop

  4. a book


Correct Option: C

For which is a backing file often used?

  1. perform authentication

  2. back-up a portal context

  3. load resources into the JNDI

  4. initialize a database connection


Correct Option: A

To customize the skeleton of a portal, which type of resource would need to be created?

  1. javascript

  2. jsp

  3. css

  4. xml


Correct Option: B

To customize the skin of a portal, which type of resource would be created?

  1. javascript

  2. jsp

  3. xml

  4. css


Correct Option: D

A JPF file corresponds to which architectural component?

  1. model

  2. view

  3. controller

  4. action


Correct Option: C

Which is the preferred mechanism for implementing Inter-portlet communications?

  1. Event Handlers

  2. Backing files

  3. onRefresh method

  4. listenTo portlet property


Correct Option: A

Which does a content repository contain?

  1. segments and profiles

  2. elements and nodes

  3. nodes and resources

  4. types and content


Correct Option: D

What will be output of following code?public class Main { public static void main(String[] args) { int i; i = i + 5; System.out.println(i); }}

  1. Compile time error

  2. 5

  3. 0

  4. None of above


Correct Option: A

Which of the following are valid method signature?

  1. public static void main(String[] args)

  2. public static void main()

  3. public void main(String[] args)

  4. public void static main(String[] args)


Correct Option: A,B,C

J2EE provide

  1. Platform Dependent

  2. Platform Independent

  3. All the above

  4. None


Correct Option: B

which of the following is business component?

  1. Servlet

  2. JSP

  3. EJB

  4. All the above


Correct Option: C

which of the following is static resource?

  1. .html file

  2. .jsp file

  3. .img file

  4. All the above


Correct Option: D

which of the following is deployment descriptor?

  1. info.xml

  2. web.xml

  3. context.xml

  4. config.xml


Correct Option: B

servlet is a

  1. client side program

  2. server side program

  3. both a&b

  4. none


Correct Option: B

context parameters can be accessed

  1. by a particular servlet

  2. web.xml

  3. globally

  4. none


Correct Option: C

Which of the following has average case complexity O(n ln(n))

  1. Merge Sort

  2. Selection Sort

  3. Bubble Sort

  4. Insersion Sort


Correct Option: A

Does XML replace HTML?

  1. True

  2. False


Correct Option: A
- Hide questions