You are on page 1of 2

Tula’s Institute Dhoolkot, Dehradun

First Sessional Test


MCA 1st Year
Advanced JAVA
MCAT 401

Session: 2019-20 Roll No. -----------------------------------------------------

Time: 90 Mints. Max Marks: 30

Attempt all questions.

Part-A (1 X 6 = 6 marks)

Each Question Carry equal Marks:


1. Which of the following of beans would survive a server crash. [L2][CO3]
a) Entity beans b) Stateless session beans c) Stateful session beans  d) Message-driven
beans 
2. <%@ page errorPage=”file_name” %> page directive at the beginning of a JSP page is for
a) Buffering b) Translation and Compilation c) Execution d) Handling Errors [L2][CO3]
3. EJB stands for__________________________ [L2][CO3]
4. JSP is a technology for developing web pages that include____________content. [L2][CO3]
5. The JSP engine compiles the servlet into HTML code.( True/False) [L2][CO3]
6. Java Bean does not provide reusability. (True/False) [L2][CO3]

Part-B (3 X 3 =9 marks)
Each Question Carry equal Marks:
1. What are Beans? Explain the types of beans and the creation of a bean. [L2]
[CO2]
OR
2. Explain working of HTTP request and response in Servlet packages.[L2][CO2]
3. What are Beans? Explain the types of beans and the creation of a bean. [L2]
[CO2]
OR
4. Write five interfaces and classes present in Java Beans Package. [L2][CO2]
5. Explain session management and Http Session object. [L2][CO3]

Part-C (5 X 3 =15 marks)

Each Question Carry equal Marks:

1. Explain how the web server creates the web page using JSP. [L2][CO3]
2. Describe Servlet API.What are the differences between a generic servlet and a
HTTP servlet. [L2][CO2]
OR
3. Describe the phases of JSP Life cycle in detail. [L2][CO3]
OR
4. Describe the MVC design model in JSP application development. [L2][CO3]
5. Describe the difference between a generic servlet and a HTTP servlet. [L2]
[CO2]

You might also like