IT Practical Questions for Java
1. Write a java program to find whether the number is odd or
even.
*Use Scanner class*
2. Write a java program to count number of digit in a number.
3. Write a java program to find factorial of a number.
*Use Scanner class*
4. Write a java program to check whether the number is
Armstrong or not.
*Use While loop*
5. Write a java program to convert string into UPPERCASE,
lowercase
6. Write a java program count number of vowels, special
symbol, no. of spaces.
*Use Scanner class*
7. Write a java program to reverse a string
8. Write a java program to check whether the string is
palindrome or not.
*Use Scanner class*
9. Write a java program to find if the number is prime or not.
10. Write a java program to make Fibonacci series till 10th
element.
11. Write a java program to add 2 numbers with the use of
class and object method.
12. Write a java program to print age of a person using
constructor and age should be passed through argument.
13. Write a java program to catch an expectation for
dividing error.
14. Write a java program to create multiple threads.
15. Write a java program to find sum of the elements of an
array
IT Practical Questions for SQL
1. Create database
2. Create a table with 6 column
3. Insert 10 record in the table
4. Display some records with select statement and use greater
less then
5. Display null values
6. Update data any data
7. Use between command with select
8. Use In and Not in
9. Use like command as per choice
10. Alter table and add column or change name of the
column or change data type
11. Use order by
12. Use group by command
13. Use group by with having
14. Use primary key in the table with not null if columns
needed
15. Delete a record