Tag: programming languages

Questions Related to programming languages

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 View part of MVC includes

  1. bean

  2. EJB

  3. JSP

  4. Servlet


Correct Option: C

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

Method by which sensitive data is sent?

  1. doPost

  2. doGet

  3. Get

  4. Post


Correct Option: A

How do I send email from my Servlet?

  1. Mail Service

  2. Simple Mail Protocol

  3. Java Mail Service

  4. Mail Protocol


Correct Option: C

Which of these has highest performance?

  1. Servlets

  2. Jsp

  3. Perl pages

  4. Html


Correct Option: A