internet-technologies

IT Programs List


JAVA


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.


JDBC


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 2: Create a procedure in MySQL to count the number of Rows in table ‘Student’. Use CallableStatement to call this method from Java code.


JAVABEANS


Program 1: Implement Student JavaBean using Serializability Interface.


Program 2: Implement Employee JavaBean using Serializability Interface.





JAVASCRIPT


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 3: Write a java script to sort an array using bubble sort. Take the number of elements and array from user.


Program 4: Write a JavaScript to implement stack methods (push and pop).


Program 5: Write a JavaScript
a. to change the color of text using setTimeOut()
b. to move an image across screen using setInterval()


Program 6: Create a form with fields name, mobile no, gender and and interests. No field should be empty (i.e validate the form).


JSP


Program 1: Display the pattern:
1
1 2
1 2 3
Take ‘n’ in a textbox from user. Display this pattern using
(a) Scriptlets
(b) <c:forEach> loop


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 3: Validate User input entered in a form. The input must include Name, DOB, Email ID, Lucky Number, Favorite food etc.


Program 4: Display Good Morning <uname>, Good Afternoon <uname> or Good Evening <uname> based on the current time of the day.


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 7: Create a custom tag “substring” with 3 mandatory attributes “input”, “start”, “end” which will do substring operation on given input.


Program 8: Create a custom tag “reverse” with a mandatory attribute “input” to reverse a string.


Program 9: Create a custom tag “today” that displays today’s date and time.


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)