Enterprise Application Development Past Papers

[OBJECTIVE]

Subject: Enterprise Application Development

Time Allowed: 15 Min

Total Marks: 10

NOTE: ATTEMPT THIS PAPER ON THIS QUESTION SHEET ONLY. Division of marks is given in front of each question. This Paper will be collected back after expiry of time limit mentioned above.

 

Part-I Encircle the correct option, each question carries equal marks. (10)

1. Servlet are used to program which component in a web application.
a) Tomcat
b) Client
c) Server
d) All of the above
2. Which of the following is the format for EJB deployment descriptor files?
a) XML
b) html
c) Java
d) Xhtml
3. Which of the following is the format for EJB deployment descriptor files?
a) Application server
b) Web server
c) DB server
d) Thin client
4. What type of protocol is HTTP:
a) Stateful
b) State less
c) Transfer protocol
d) Information protocol
5. What does MIME stand for: has been applied?
a) Multipurpose Internet Messaging Extension
b) Multipurpose Internet Mail Extension
c) Multipurpose Internet Media Extension
d) Both a and c .
6. Which JSP tag is used to transfer processing to another JSP page
a) <jsp:include>
b) <jsp:forward>
c) <jsp:redirect>
d) <jsp:include:forward>
7. Which of the following is true for JNDI?
a) DB service
b) Naming and directory service
c) web service
d) Network service.
8. Which method of the servlet is/are called several times in its life?
a) Dopost()
b) init()
c) destroy()
d) super()
9. Which is not a valid scope for Java bean in JSP:
a) Page
b) session
c) application
d) global
10. Which of the following allows substitution of code to occur at the translation time in a JSP page?
a) <jsp:include>
b) <P page >
c) <@ include>
d) All a,b and c

500+ Past Papers – Computer Science