Practical File
On
Data Structures
Kurukshetra University Kurukshetra
(Department of Computer Science and Application)
Submitted To: Submitted By:
Dr. Pardeep Mittal Name-Mahak
Proff. Roll No.-61
Comp.sci.Deptt. MCA (A)1stYear
INDEX
Sr. Program Name Page Signature
No. No.
16. Design a function component in React. 74-75
17. Design a Class component in React. 76-77
18. Write a program to show the 78-80
communication between components.
19. WAP to implement Life Cycle methods 81-82
of Component.
INDEX
Sr. Program Name Page Signature
No. No.
8. WAP to copy one file to another using 32-35
(i)Byte Stream (ii)Character Stream
14. To generate even numbers and odd 36-38
numbers in text field “t1 and t2
respectively” while pressing button “even
and odd”.
15. AWT program in java to find the sum 39-42
multiplication and average of three
numbers entered in three text fields by
clicking the corresponding labeled button
by appearing in fourth text fields.
16. To implement calculator in an Applet. 43-47
17. To implement Grid layout and border 48-50
layout.
18. Java code to demonstrate the concept of 51-53
checkbox and radio button.
19. To show all the activities of mouse using 54-57
Mouse listener and Mouse motion listener.
20. Write a program to drag a line. 58-60