ZEAL EDUCATION SOCIETY’S
ZEAL POLYTECHNIC, PUNE.
NARHE │PUNE -41 │ INDIA
Assignment NO- 5
Academic Year: 2023-24 Date: 13/03/ 2024
Name of the Program: Computer Engineering (CO) Semester: IV
Name of the Course: Java Programming Course Code: 22412
Q1. Difference between Applet and Application. 4 marks
Q2. WAP using simple applet to show Hello world. 4 marks
Q3. Explain in details Applet Life Cycle? 4 marks
Q4. WAP using applet to display 1. Rectangle 2.Elipse 3.Cone 4, Cube 5. Triangle 6 marks
Q5. Explain in details PARAM tag with example . 4 marks
Q6. Explain the following functions w.r.t Applet? 4 marks
1. Init() 2. Paint() 3. Stop() 4.destroy()
Q7. Describe the use of following methods: 4 marks
(i) Drawoval ( )
(ii) getFont ( )
(iii) drawRect ( )
(iv) drawPolygon ( )
(v) fillRoundRect()
(vi) drawLine()
(vii) drawArc()
Q8. Explain in details Colors function in applets? 4 marks
Q9. Explain any four font methods with example. 6 marks
Q10. WAP using applet to show addition of 2 numbers 4 marks
Q11. Explain applet tag properties in details 4 marks