Answer the following questions
Two marks Questions
- What is the use of cookies ?
- List out methods in the ResultSet Interface.
- What is the use of Runnable interface ?
- What are the types of Servlet?
- Explain thread priority.
- Differentiate between Statement and PreparedStatement interface.
- What are the different types of servlets?
- What are the directives in JSP?
- What is hibernate?
- What is networking?
- What is JDBC?
- What is the difference between Servlet and JSP?
- What is ServletConfig ?
- What is the use of the getLocalHost()method ?
- What is the difference between sleep() and interrupt() method ?
Four marks Questions
- What are different types of JDBC Drivers ?
- Explain the life cycle of thread.
- Explain in detail directives in JSP.
- Explain inter thread communication with an example.
- What are the advantages and disadvantages of Spring framework?
- Explain thread synchronization with suitable examples.
- Explain the life cycle of Servlet.
- Explain methods of ServerSocket class with syntax.
- What is the difference between execute( ), execute Query( ) and execute Update( ) ?
- Explain the life cycle of Thread.
- Explain JDBC process in detail.
- Explain JDBC architecture with suitable diagrams.
Important Programs
- Write a program to display the 100,99,98,....,1 using thread.
- Write a JSP program to calculate the sum of the first and last digit of a given number. Display sum in Red Color with font size 18.
- Write a java program to display IPAddress and name of client machine.
- Write a JSP program to display the details of College (CollegeID, Coll_Name, Address) in tabular form on the browser.
- Write a java program for simple standalone chatting applications.
- Write a JSP program to check whether a given number is Perfect or not. (Use Include directive).
- Write a Java Program to delete details of students whose initial character of their name is ‘S’.
- Write a JSP script to validate a given EMail ID.
- Write a Java Program to display all the employee names whose initial character of a name is ‘A’.
- Write a java program to display name of currently executing Thread in multithreading.
- Write a JSP program to accept Name and Age of Voter and check whether he is eligible for voting or not.
- Write a java program to display each alphabet after 2 seconds between ‘a’ to ‘z’.
- Write a JDBC program to accept the details of students (rno, sname, per, class) and store it into the database. (Use Prepared Statement Interface).
0 Comments