SLIP PROGRAM QUEATIONS TYBBA(CA)
SLIP PROGRAM QUEATIONS TYBBA(CA)
1. Write a Java Program using JDBC to delete details of students whose ini al character of their
name is 'S'.
2. Write a JDBC program to create an Emp (ENo, EName, Sal) table and insert a record into it
using PreparedStatement.
3. Write a JDBC program to delete the details of a given employee (ENo, EName, Salary). Accept
employee ID through the command line.
4. Write a JDBC program to calculate the sum of the first and last digit of a given number.
5. Write a JDBC program to display the sales details of products (PID, PName, Qty, Rate,
Amount) between two selected dates.
6. Write a JDBC program to display the details of a Product (ProdCode, PName, Price) on the
browser in tabular format using a database.
7. Write a JDBC program to display the details of an Account (ANo, Type, Bal) from the database
and display it in tabular form.
2. Write a Java program in mul threading to create a Digital Watch using an applet.
3. Write a Java program to display the current thread's name in a mul threading scenario.
5. Write a Java program using mul threading to display all the prime numbers between 1 to n.
6. Write a Java program using mul threading for a moving car simula on in an applet.
JSP Programs:
1. Write a JSP program to check whether a given number is perfect or not using the Include
direc ve.
2. Write a JSP program to calculate the sum of the first and last digit of a given number. Display
the sum in red color with font size 18.
3. Write a JSP program to create an online shopping mall where users can make purchases,
view the page total, and the final bill on the third page using session.
6. Write a JSP script to display the details of a college (CollegeID, Coll_Name, Address) in
tabular form on the browser.
7. Write a JSP program to display the details of a teacher (TID, TName, Designa on, Subject,
Qualifica on) on the browser.
8. Write a JSP script to accept a String from a user and display it in reverse order.
9. Write a JSP program to accept the details of an account (ANo, Type, Balance) and store it into
the database and display the result in tabular form.
10. Write a JSP program to accept Name and Age of a voter and check if they are eligible for
vo ng or not.
Servlet Programs:
1. Write a servlet program to provide informa on about an HTTP request from a client, such as
the IP address and browser type. The servlet also provides server informa on such as OS
type, and names of loaded servlets.
2. Write a servlet program that counts how many mes a user has visited a webpage. If it’s the
first visit, display a welcome message, otherwise display the number of mes visited (using
cookies).
3. Write a servlet program to accept student details (SeatNo, Name, Total Marks) and calculate
the percentage and grade obtained, displaying the details on the page.
4. Write a servlet program to accept a username and password, search them in the database,
and if found, display a success message, otherwise show an error message.
5. Write a servlet program to accept a number and display its factors on the client terminal.
6. Write a servlet program to display sales details (PID, PName, Qty, Rate, Amount) between
two selected dates. Assume that the sales table is already created.
7. Write a servlet program to design an HTML page with four op on bu ons (Pain ng, Drawing,
Singing, Swimming) and two bu ons (Reset, Submit). When submit is clicked, the server adds
a cookie containing the selected hobby and sends it back to the client.
8. Write a servlet program to change the inac ve session me interval for a user.
9. Write a servlet program to display product details (Product Code, Name, Price) in a tabular
format using database records.
10. Write a servlet program to accept student details, calculate the percentage and grade, and
display them in a tabular format.
2. Write a Spring program to accept user details (username, password) and validate them,
showing a successful login or error message.
3. Write a Hibernate program to create a table for storing employee details (ENo, EName,
Salary).
4. Write a Spring program for crea ng a simple online shopping system where a user can select
products, view the total, and check out.