You are on page 1of 6

INDEX

S.NO PRAGRAMMING NAME PAGE NO SIGNATURE


1. Design a class RailwayTicket with the following description 1
2. Write a program to input a number and check and print whether it is a Pronic number or not. 4
Pronic number is the number which is the product of two consecutive integers.
3. Write a program in Java to accept a string in lowercase and change the first letter of every word to 5
uppercase. Display the new string.
Sample INPUT: we are in cyber world
Sample OUTPUT: We Are In Cyber World
4. Design a class to overload a function volume() as follows: 6
(i) double volume(double r) – with radius ‘r’ as an argument, returns the volume of sphere using
the formula:
v = 4 / 3 × 22 / 7 × r3
5. Write a menu-driven program to display the pattern as per user’s choice: 7
Pattern 1 Pattern 2
ABCDE B
ABCD LL
ABC UUU
AB EEEE
A
For an incorrect option, an appropriate error message should be displayed.
6. Write a program to accept name and total marks of N number of students in two single subscripts 9
array name[] and totalmarks.

7. Define a class Electric Bill with the following specifications: 11

8. Write a program to accept a number and check and display whether it is a spy number or not. 13

9. Using switch statement, write a menu driven program for the following: 14
i) To find and display the sum of the series given below:
S = x1 – x2 + x3 – x4 + x5 … – x20
(where x=2)
10. Write a program to input integer elements into an array of size 20 and perform the following 16
operations:

11. Design a class to overload a function check() as follows: 19

12. Write a program to input forty words in an array. Arrange these words in descending order of 20
alphabets, using selection sort technique. Print the sorted array.

13. Define a class named BookFair with the following description: 21

14. Using the switch statement, write a menu driven program for the following: 23

(i) To print the Floyd’s triangle


15. Special words are those words which starts and ends with the same letter. 26

16. Design a class to overload a function SumSeries() as follows: 28

17. Write a program to accept a number and check and display whether it is a Niven number of not. 29
(Niven number is that number which is divisible by its sum of digits).

18. Write a program to initialize the seven Wonders of the World along with their locations in two 30
different arrays. Search for a name of the country input by the user. If found, display the name of
the country along with its Wonder, otherwise display “Sorry Not Found
19. Define a class ParkingLot with the following description: 32

20. Write two separate programs to generate the following patterns using iteration(loop) statements: 35

21. Write a program in to input and store all roll numbers, names and marks in 3 subjects of n number 37
of students in five single dimensional arrays and display the remark based on average marks as
given below
22. Design a class to overload a function Joystring() as follows 40

23. 43
Write a program to input twenty names in an array. Arrange these names in descending order of
alphabets , using the bubble sort technique.
24. Use switch statement,write a menu driven program to: 46

25. Using switch statement, write a menu driven program for the following: 49
i) To find and display the sum of the series given below:

26. Write a program to input integer elements into an array of size 20 and perform the following 51
operations:
27. Design a class to overload a function check() as follows: 54

28. Write a program to input forty words in an array. Arrange these words in descending order of 55
alphabets, using selection sort technique. Print the sorted array.

29. Define a class named BookFair with the following description: 56

30. Using the switch statement, write a menu driven program for the following: 58

(i) To print the Floyd’s triangle [Given below]

31. Special words are those words which starts and ends with the same letter. 61
Examples:
EXISTENCE
COMIC
WINDOW
ACKNOWLEDGEMENT

First of all, my heartfelt thanks to Mrs. Sakshi Rastogi who helped us in every
possible manner. He ensured a proper environment for us to work in.

Finally, I express my sincere gratitude to my mentor and guide Mr. Pradeep


Kumar for being a constant source of inspiration. He ensured that my learning in
this department is complete and reposed faith in my work by assigning
responsibilities and giving freedom.

NAME: Priyanshu Bora


DECLARATION

We hereby declare that the project entitled “COMPUTER APPLICATION”


submitted for the 10TH BOARD is our own work and that to best of our knowledge
and belief.

We hereby declare that this submission is our own work and that,to the best of our
knowledge and belief, it contains no material previously published or written by
another person nor material which to a substantial extent has been accepted for the
award of any other Board of the school or other institute of higher learning, except
where due acknowledgement has been made in the text.

Signature:

Name: Priyanshu Bora

You might also like