a) Write a program in java to print the squares of numbers from 1 to 5
b) Write a program in java to show a number is even or odd.
c) Write a program in java to sort an array of string in alphabetic order.
d) Create a table “Teacher” having the following fields.
TID Name Gender Salary
101 P F 45000
102 Q M 52000
103 R M 49000
104 S F 51500
e) Show the contents inside the above table .
f) Write a query to update salary of the teacher to 48000 whose TID is 101.
g) Write a query to delete the column “Gender”.