IT Programs List
Program 1: Implement a Bank Account having Instance variables: Account Number, Balance and having methods:
float Deposit (float x)
float withdraw (float x)
int get account no ()
float get balance ()
tax deduction ()
Then implement class Bank having an array list of accounts of type BankAccount. Implement following methods:
AddAccount in Bank
Get Total balance in Bank
Get account number with max. and min. balance
Find an account given a bank account no.
Count no. of accounts having atleast specific balance
Program 2: Implement an Abstract Class Stack with methods push, pop, display for two classes: StaticStack and DyanamicStack. StaticStack uses one dimensional integer array to store numbers and DyanamicStack uses an integer ArrayList to store.
Program 1: Create Student and Results Database and perform the following using JDBC programs,
a. Find total number of students
b. Print average marks for each subject input by user.
c. Find the name of student getting highest marks.
d. Find no of students getting first, second and third division.
e. Find subject wise toppers
f. Find the average marks
g. Find the student getting second highest marks.
Program 1: Create a student registration form. Create functions to perform the following checks:
a. Roll number is a 7 digit numeric value
b. Name should be an alphabetical value (String)
c. DOB entered in dd/mm/yy format and should be display in words (e.g. Saturday, January 01, 2000)
d. Check on non-empty fields
Program 2: Implement a Static Password Protection.
Program 2: Make two files as follows:
a. main.html: shows 2 text boxes and 3 radio buttons with values “addition”, “subtraction” and “multiplication”
b. operate.jsp: depending on what the user selects perform the corresponding function (Give two implementations: using request.getParameter() and using expression language)
Program 5: Let the user enter a word a in a textbox and let her/him select one of even or odd radio buttons. If she/he selects odd, check the odd positions in the word entered, if they all contain vowels, then display the message ‘You win’, else display ‘You lose’. Similarly, if the user selects even, check for vowels in all even positions in the word entered. Use jstl’s ‘fn’ library.
Program 6: Create your custom library which contains two tags: <hello>, <choco>.
Usage of the tags:
<hello name=”Ajay”>: Output should be Hello Ajay. It contains a mandatory attribute ‘name’ which can accept Dynamic value.
<choco texture=”Chewy”>: Output should be FiveStar, BarOne.
<choco texture=”Crunchy”>: Output should be Munch. KitKat.
That means the mandatory attribute must accept a value, and based on the attributes value, it should give output. You must use a bean ChocoBean for this purpose.
Program 10: Ask a user’s name and age on a HTML form. Then display Hello <uname> on a JSP. On the same page ask the product the user would like to buy. Then redirect to another JSP which would display: Hello <uname>, You have ordered <product>. (Use Session Scope Variable using setTag)