Sunteți pe pagina 1din 5

INDIRA NATIONAL SCHOOL, WAKAD

INFORMATICS PRACTICES
STD. XI JAVA PRACTICAL ASSIGNMENTS(Set 2)
SESSION: 2018-2019
12. Design a program to display multiplication table for the number entered by the user.

13. Design a program to display factorial of the number entered by the user.
14.
Design a GUI program to display the reverse of a given number. (using while loop)

15. Design a GUI Java Application to input size of Pyramid and display the following
Pyramid.
For example if n=5

(a) (b)
* * * * * *
* *
* * * * * * *
* * * * * * *
* * * * *
* *
*
16. Design a GUI Java Application to input a number and display Fibonacci Series up
to n.
For Example: If n =10, Output should be as follows.
0 1 1 2 3 5 8
17. Design a GUI Java application to implement a theater booking system.
Charges for the type of seat are as follows: Platinum:300, Gold:200, Silve:100
Food item charges: Popcorn: 150, Samosa: 50, Cold drink: 50
18. Design a GUI program that allows the user to select one or more sports, display
the individual coaching charges for each of the selected sports & display total
charges as output. The charges for each sport are as follows:
Football, Volleyball Rs. 2500 Cricket, Badminton, Table Tennis Rs. 3000

19. Design a GUI program that displays various Ice Cream flavors in a List control,
user selects multiple flavors & total charges are displayed as output.
20 Design a GUI program where the user selects a country name from first combo
box & names of states of selected country are automatically displayed in second
combo box. Selected country & state name is displayed in a label control.

21. To calculate total wages of the workers, following GUI has been designed.

Male and female labourers are paid Rs. 150/- per day and Rs. 170/- per day
respectively.
Skilled labourers are paid extra at the rate of Rs. 100/- day.
Male and female labourers from rural areas are paid 10% less per day.

Write coding for the following:


a) When Calculate Wage button is clicked, the total wages is calculated as per the
given
criteria and displayed in total wage text field.

b) When Clear button is clicked, all the text boxes should be cleared and radio
button should be deselected.

c) Close the application when Quit button is pressed.

S-ar putea să vă placă și