0% found this document useful (0 votes)
31 views

JAVA Assignment 5

This document contains an assignment for a Java Programming course covering Applets. It includes 11 questions asking students to: 1) Explain the difference between Applets and Applications and the Applet lifecycle. 2) Write programs to display basic shapes and perform addition using Applets. 3) Describe methods for drawing shapes and working with colors and fonts in Applets. 4) Explain tags like PARAM and properties of the applet tag.

Uploaded by

compstudent2024
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views

JAVA Assignment 5

This document contains an assignment for a Java Programming course covering Applets. It includes 11 questions asking students to: 1) Explain the difference between Applets and Applications and the Applet lifecycle. 2) Write programs to display basic shapes and perform addition using Applets. 3) Describe methods for drawing shapes and working with colors and fonts in Applets. 4) Explain tags like PARAM and properties of the applet tag.

Uploaded by

compstudent2024
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

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

You might also like