0% found this document useful (0 votes)
3 views3 pages

Preperatory Question Bank

The document is a question bank for the Department of Information Science and Engineering at Cambridge Institute of Technology, covering various modules including string manipulation, swing applications, JSP, servlets, and JDBC. Each module contains specific questions and programming tasks aimed at demonstrating concepts and functionalities. The questions require explanations, program demonstrations, and notes on various topics related to Java and web technologies.

Uploaded by

bhavanabiradar5
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views3 pages

Preperatory Question Bank

The document is a question bank for the Department of Information Science and Engineering at Cambridge Institute of Technology, covering various modules including string manipulation, swing applications, JSP, servlets, and JDBC. Each module contains specific questions and programming tasks aimed at demonstrating concepts and functionalities. The questions require explanations, program demonstrations, and notes on various topics related to Java and web technologies.

Uploaded by

bhavanabiradar5
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

CAMBRIDGE INSTITUTE OF TECHNOLOGY

K.R. PURAM, BENGALURU-560036

Department of Information Science and Engineering

QUESTION BANK
MODULE 2
1. Demonstrate all the types of string constructors with a sample program.
2. Explain the functions available for each of the following and write a
program to demonstrate each of them.
a. Character extraction
b. String comparision
c. Searching string
d. Modifying strings
e. Changing the case of characters within the string
3. Write a note on need of string buffer, demonstrate the functions available
under string builder with a sample program.
4. Read lab program 4,5,6.

MODULE 3:

1. Write short notes on:


a. Key features of swings
b. MVC Connection
c. Components and containers
d. Swing packages
2. Demonstrate a simple swing application and provide suitable
explanation.
3. Demonstrate with a program how events are handled in swing
application.
4. Explain the following with suitable constructors and support the
explanation with suitable program for each
a. JLabel
b. JTextfeild
c. JTogglebutton
d. JCheckbox and JRadiobutton
MODULE 4:

1. What are different types of JSP tags describe the JSP tags with example.
2. Define JSP. Explain two types of control statements with example
3. Write the JSP program to create and read cookie called “EMPID” and that
has value “AN2536”
4. Department has set the grade for the subject Java as follows: Above 90: A,
80 - 89: B , 70 -79 : C Below 70 = fail. Sham enters his marks for the subject
Java in the interface provided. Write a JSP program to accept the mark and
display the grade.
5. Develop simple java servlet that handle HTTP Request and Response
6. Explain the life cycle of a servlet.
7. Write a java servlet which reads two parameters from the webpage, say
value 1 and value 2 , which are type integer and finds the sum of the two
value and return back the result as a webpage.
8. Provide java syntax for the following:
a. i) Handling HTTP requests and responses
b. ii) Using cookies
c. iii) Session tracking.
9. What is cookie list out methods defined by cookie. Write a servlet program
to read cookie.
10. Write a jsp program to add cookie name “User Id” and value”JB007” .
11.Write a note on classes and interfaces present in Jakarta.servlet package and
Jakarta.servlet.http package.

MODULE 5:
1. Explain the different types of JDBC driver types.
2. Explain in detail the JDBC process
3. Explain in detail the need for getconnection method with necessary
constructors.
4. Explain in detail statement object
5. Explain in detail resultset object
6. Write a note on transaction processing in J2EE.
7. What is metadata, explain its need and the information stored in metadata.
8. Write a note on exception and datatypes available for j2ee.

You might also like