CSIT AJP Lab
CSIT AJP Lab
1. Design a system for Fun Park. The system keeps track of the number of people who
visited the park, and the total ticket amount collected. People passing by have to pay
Rs. 50 (including 10% tax). Create a class named "FunPark" with the following
members.
a. Data members (Number of people, total amount collected without tax, total
tax amount collected) Member functions (Increment number of people and
amount, save record in file, display the result (total tickets sold, total amount
collected with/without tax, total tax amount))
b. Exception: Number of people must be a valid integer.
Use appropriate constructors, concept of interfaces, virtual method, File I/O
3. Write a program to read an input string from the user and write the vowels of that
string in VOWEL.TXT and consonants in CONSOLNANT.TXT.
4. Write a Java Swing program to create a registration form with the following fields:
6. Develop a java swing program to implement CRUD operation for student information
management using JDBC and oracle database.
8. Write a Java program consisting of two separate applications that communicate with
each other over a network using TCP sockets.
9. Create a Java program using the JavaMail API to send an email, allowing user input for
the recipient, subject, and message. Include SMTP configuration and error handling for
the email-sending process.
10. Write a JavaFX program that incorporates Swing components to calculate simple
interest. Use text fields for user input (principal, rate, time) and display the result in
another text field when the user clicks a button.
11. Write a simple Java servlet program that displays a login form with username and
password fields. If the user provides incorrect credentials, display an error message. If
the username and password are correct, redirect the user to a welcome page that
includes a logout option.
12. Create a JSP program for student information management with full CRUD
functionality (Create, Read, Update, Delete). The program should interact with a
database to manage student records.
13. Create an RMI application such that a client sends an Integer number to the server and
the server return the factorial value of that integer. Give a clear specification for every
step.