JAVA Programming ASSIGNMENT for unit1
JAVA Programming ASSIGNMENT for unit1
Per>=80 ‘A’
1 1 0 1 1
12 22 01 23 12
01123
14. Input 10 numbers in a array print the following :- a) Print the sum of all elements .b)Print the largest from array .c)
Reverse in a Array. d)Input other search number find it is present or not.
15. Input a number print the equivalent binary number using an array.
16. Input a 3X3 number . print the following ---- A) sum of the each row. B) Sum of each column . C) sum of main
diagonal. D) sum of the second diagonal . E) Transpose form.
17. Input two 3x3 matrix print the following : A) Addition of two matrix . B) Multiplication of two both.
18. Pass ‘n’ number as command line arguments print the sum of all elements and print the largest no. from given ‘n’
number.
19. Passs ‘n’ number as command line arguments then print the all alternative numbers. Ex.: one two
three 5 a b c 10 and the output is : one three a c.
20. Create a class student it is having the following data members and member methods..---marks1, marks2, marks3
and getdata(), calculate result(), show result(). ?
21. Find Largest and Smallest Number in an Array using n elements?
22. Read Number from Console and Check if it is a Palindrome Number?
23. Input any name i.e RAJA RAM MOHAN ROY ,WAP TO Display R R M R. ?
24. CREATE package named complex ,to show the sum , product and subtraction of two complex number ,and import it
into another program.
25. Create interface for showing any mathematical formula using method names FORMULA,and use in other multiple
class?
26. WAP which accepts two strings from user and prints the alphabetically greater one..?
27. WAP to input any number,and write it in words.?
28. WAP to input any string ,to convert it into reverse form.? (ex: this is my book. And Output: book my is this).
29. WAP to check any input matrix is Magic or not.? (ex: sum of all row and coloumn are same.)
30. WAP to input any range between two number, and find the tables of that ranges ?
JP and DWD 5002
Shailendra Sir