0

programming languages Online Quiz - 116

Description: programming languages Online Quiz - 116
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0
  1. response.setparameter () method

  2. response.getparameter () method

  3. request.setparameter () method

  4. request.getparameter () method


Correct Option: D

If i put a Servlet on each servers, and there is a static variable in thisServlet. Do all the instances on these servers share the same static variable?

  1. True

  2. False


Correct Option: B

How do I get authentication with myServlet?

  1. HTTPRequest.setUserName()

  2. HttpServletRequest.getUserName()

  3. HTTPResponse.setUserName()

  4. HTTPResponse.getUserName()


Correct Option: B

What does controllers do?

  1. acts as an interface between view and model

  2. does not interact with view

  3. does not interact with controller

  4. nothing but view


Correct Option: A

core class of the Struts Framework

  1. ActionServlet

  2. ActionJsp

  3. ActionClass

  4. Action


Correct Option: A
  1. backword overflow

  2. forward overflow

  3. Single controller servlet

  4. no forward overflow


Correct Option: C

A controller is the link between a user and the system.

  1. True

  2. False


Correct Option: A

Expansion of MVC architecture

  1. Model,Vision,Controller

  2. Medium,Vision,controller

  3. Model,View,Controller

  4. Model,View,Concept


Correct Option: C

MVC1 architecture is

  1. loosely coupled

  2. not coupled

  3. tightly coupled

  4. coupled


Correct Option: C

The model component includes

  1. Bean

  2. HTML

  3. servlet

  4. jsp


Correct Option: A

The controller part includes

  1. Html

  2. jsp

  3. Servlet

  4. Bean


Correct Option: C

In MVC2 flow is controlled by single servlet

  1. True

  2. False


Correct Option: A

Advantages of MVC

  1. Reusable

  2. Expressive

  3. not easy to use

  4. Easier support


Correct Option: A,B,D

What are Cookies

  1. information sent by web server

  2. information sent by servlet

  3. information sent by browser

  4. information sent by jsp


Correct Option: A
  1. Mail Service

  2. Simple Mail Protocol

  3. Java Mail Service

  4. Mail Protocol


Correct Option: C
- Hide questions