SlideShare a Scribd company logo
1 of 2
Download to read offline
D B4D0374
Page 1 of 2
Total Pages: 2
Reg No.:_______________ Name:__________________________
APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY
FOURTH SEMESTER B.TECH DEGREE EXAMINATION, JULY 2017
Course Code: CS206
Course Name: OBJECT ORIENTED DESIGN AND PROGRAMMING (CS)
Max. Marks: 100 Duration: 3 Hours
PART A
Answer all questions. Each carries 3 marks.
1 What are advantages of using UML? (3)
2 Illustrate the steps involved in Java compilation. (3)
3 Differentiate between a class and an object. (3)
4 Explain briefly about method overloading with an example. (3)
PART B
Answer any two questions. Each carries 9 marks.
5 Represent the following entities using UML class diagram
i) Book ii) Employee iii) Vehicle
(9)
6 Construct Use Case diagrams for the following
i) ATM ii) Library iii) Railway reservation
(9)
7 Write a Java program to calculate the area of different shapes namely circle,
rectangle, and triangle using the concept of method overloading.
(9)
PART C
Answer all questions. Each carries 3 marks.
8 Differentiate between abstract class and an interface. (3)
9 What is an exception? How is it handled? (3)
10 Illustrate the character stream class hierarchy. (3)
11 What are the uses of synchronized keyword in Java? (3)
PART D
Answer any two questions. Each carries 9 marks.
12 a) What is a package? (2)
b) What are the advantages of using a package? (3)
c) Write the steps and java code for creating a package named “AdMath” containing
a method to calculate the factorial of a number passed to it.
(4)
13 a) What are the advantages of inheritance? (3)
b) Show how the following inheritance hierarchy can be implemented in Java. (3)
D B4D0374
Page 2 of 2
c) Does Java support multiple inheritance? Justify your answer. (3)
14 a) What are the advantages of multi-threading in Java? (3)
b) Illustrate the two ways of creating threads in Java with the help of examples? (6)
PART E
Answer any four questions. Each carries 10 marks.
15 a) Explain the working of the Delegation Event Model. (5)
b) Write down the various event sources and their corresponding listeners. (5)
16 a) What are the features of an applet? (5)
b) Illustrate the different parts of an applet tag. (5)
17 Write a Java program to check whether a given string is palindrome or
not without using built in methods.
(10)
18 Write a GUI based Java program to check whether a given number.
is prime or not. Use appropriate AWT components and event handling.
(10)
19 a) What are the advantages of using Swing API? (5)
b) List any five Containers and Components available in Swing API. (5)
20 Explain the steps using java code for connecting a Java program
to a database using JDBC API.
(10)
****
A
B
C D

More Related Content

What's hot

Ee java lab assignment 4
Ee java lab assignment 4Ee java lab assignment 4
Ee java lab assignment 4Kuntal Bhowmick
 
Advanced Java (May – 2018) [IDOL: Revised Course | Question Paper]
Advanced Java (May – 2018) [IDOL: Revised Course | Question Paper]Advanced Java (May – 2018) [IDOL: Revised Course | Question Paper]
Advanced Java (May – 2018) [IDOL: Revised Course | Question Paper]Mumbai B.Sc.IT Study
 
Fy secondsemester2016
Fy secondsemester2016Fy secondsemester2016
Fy secondsemester2016Ankit Dubey
 
Fy secondsemester2016
Fy secondsemester2016Fy secondsemester2016
Fy secondsemester2016Ankit Dubey
 
Enterprise Java (Question Paper) [October – 2018 | Choice Based Syllabus]
Enterprise Java (Question Paper) [October – 2018 | Choice Based Syllabus]Enterprise Java (Question Paper) [October – 2018 | Choice Based Syllabus]
Enterprise Java (Question Paper) [October – 2018 | Choice Based Syllabus]Mumbai B.Sc.IT Study
 

What's hot (18)

Ee java lab assignment 4
Ee java lab assignment 4Ee java lab assignment 4
Ee java lab assignment 4
 
Advanced Java (May – 2018) [IDOL: Revised Course | Question Paper]
Advanced Java (May – 2018) [IDOL: Revised Course | Question Paper]Advanced Java (May – 2018) [IDOL: Revised Course | Question Paper]
Advanced Java (May – 2018) [IDOL: Revised Course | Question Paper]
 
Cse cpl manual-2016
Cse cpl manual-2016Cse cpl manual-2016
Cse cpl manual-2016
 
CP Handout#10
CP Handout#10CP Handout#10
CP Handout#10
 
Fy secondsemester2016
Fy secondsemester2016Fy secondsemester2016
Fy secondsemester2016
 
Fy secondsemester2016
Fy secondsemester2016Fy secondsemester2016
Fy secondsemester2016
 
Mmt 001
Mmt 001Mmt 001
Mmt 001
 
Cadcam mid 2 question paper
Cadcam  mid 2 question paperCadcam  mid 2 question paper
Cadcam mid 2 question paper
 
Ocs752 unit 5
Ocs752   unit 5Ocs752   unit 5
Ocs752 unit 5
 
Ocs752 unit 2
Ocs752   unit 2Ocs752   unit 2
Ocs752 unit 2
 
complex c programming
complex c programming complex c programming
complex c programming
 
Cs8251 faq1
Cs8251 faq1Cs8251 faq1
Cs8251 faq1
 
Cadcam mid 1 question paper
Cadcam  mid 1 question paperCadcam  mid 1 question paper
Cadcam mid 1 question paper
 
Ocs752 unit 4
Ocs752   unit 4Ocs752   unit 4
Ocs752 unit 4
 
E1
E1E1
E1
 
Ocs752 unit 1
Ocs752   unit 1Ocs752   unit 1
Ocs752 unit 1
 
Ocs752 unit 3
Ocs752   unit 3Ocs752   unit 3
Ocs752 unit 3
 
Enterprise Java (Question Paper) [October – 2018 | Choice Based Syllabus]
Enterprise Java (Question Paper) [October – 2018 | Choice Based Syllabus]Enterprise Java (Question Paper) [October – 2018 | Choice Based Syllabus]
Enterprise Java (Question Paper) [October – 2018 | Choice Based Syllabus]
 

Similar to Oop july 2017

Oop r&s may 2019 (2)
Oop r&s may 2019 (2)Oop r&s may 2019 (2)
Oop r&s may 2019 (2)ktuonlinenotes
 
Oop suplemnertary september 2019
Oop suplemnertary september  2019Oop suplemnertary september  2019
Oop suplemnertary september 2019ktuonlinenotes
 
17432 object oriented programming
17432   object oriented programming17432   object oriented programming
17432 object oriented programmingsoni_nits
 
FDS-CS8393 BME MODEL QP2.doc
FDS-CS8393 BME MODEL QP2.docFDS-CS8393 BME MODEL QP2.doc
FDS-CS8393 BME MODEL QP2.docjaba kumar
 
BScIT: Semester – V (May - 2018) [IDOL: Old Course | Question Paper]
BScIT: Semester – V (May - 2018) [IDOL: Old Course | Question Paper]BScIT: Semester – V (May - 2018) [IDOL: Old Course | Question Paper]
BScIT: Semester – V (May - 2018) [IDOL: Old Course | Question Paper]Mumbai B.Sc.IT Study
 
B.Sc.IT: Semester – V (April – 2015) [Revised Course | Question Paper]
B.Sc.IT: Semester – V (April – 2015) [Revised Course | Question Paper]B.Sc.IT: Semester – V (April – 2015) [Revised Course | Question Paper]
B.Sc.IT: Semester – V (April – 2015) [Revised Course | Question Paper]Mumbai B.Sc.IT Study
 
Computer Programming Jntu Model Paper{Www.Studentyogi.Com}
Computer Programming Jntu Model Paper{Www.Studentyogi.Com}Computer Programming Jntu Model Paper{Www.Studentyogi.Com}
Computer Programming Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 

Similar to Oop july 2017 (20)

Oop r&s may 2019
Oop r&s may 2019Oop r&s may 2019
Oop r&s may 2019
 
Oop r&s may 2019 (2)
Oop r&s may 2019 (2)Oop r&s may 2019 (2)
Oop r&s may 2019 (2)
 
Oop suplemnertary september 2019
Oop suplemnertary september  2019Oop suplemnertary september  2019
Oop suplemnertary september 2019
 
Oop april 2018
Oop april 2018Oop april 2018
Oop april 2018
 
Oop sample ktu
Oop sample ktuOop sample ktu
Oop sample ktu
 
17432 object oriented programming
17432   object oriented programming17432   object oriented programming
17432 object oriented programming
 
7th Semester Computer Science (2013-June) Question Papers
7th Semester Computer Science (2013-June) Question Papers7th Semester Computer Science (2013-June) Question Papers
7th Semester Computer Science (2013-June) Question Papers
 
7th cs june 2013
7th cs   june 20137th cs   june 2013
7th cs june 2013
 
2013-June: 7th Semester CSE Question Papers
2013-June: 7th  Semester CSE Question Papers2013-June: 7th  Semester CSE Question Papers
2013-June: 7th Semester CSE Question Papers
 
2013-June: 5th Semester CSE / ISE Question Papers
2013-June: 5th  Semester CSE / ISE Question Papers2013-June: 5th  Semester CSE / ISE Question Papers
2013-June: 5th Semester CSE / ISE Question Papers
 
5th Semester CS / IS (2013-June) Question Papers
5th Semester CS / IS (2013-June) Question Papers5th Semester CS / IS (2013-June) Question Papers
5th Semester CS / IS (2013-June) Question Papers
 
FDS-CS8393 BME MODEL QP2.doc
FDS-CS8393 BME MODEL QP2.docFDS-CS8393 BME MODEL QP2.doc
FDS-CS8393 BME MODEL QP2.doc
 
BScIT: Semester – V (May - 2018) [IDOL: Old Course | Question Paper]
BScIT: Semester – V (May - 2018) [IDOL: Old Course | Question Paper]BScIT: Semester – V (May - 2018) [IDOL: Old Course | Question Paper]
BScIT: Semester – V (May - 2018) [IDOL: Old Course | Question Paper]
 
B.Sc.IT: Semester – V (April – 2015) [Revised Course | Question Paper]
B.Sc.IT: Semester – V (April – 2015) [Revised Course | Question Paper]B.Sc.IT: Semester – V (April – 2015) [Revised Course | Question Paper]
B.Sc.IT: Semester – V (April – 2015) [Revised Course | Question Paper]
 
sad.pdf
sad.pdfsad.pdf
sad.pdf
 
7th Semester (June; July-2015) Computer Science and Information Science Engin...
7th Semester (June; July-2015) Computer Science and Information Science Engin...7th Semester (June; July-2015) Computer Science and Information Science Engin...
7th Semester (June; July-2015) Computer Science and Information Science Engin...
 
Oops qb cse
Oops qb cseOops qb cse
Oops qb cse
 
2013-June: 7th Semester ISE Question Papers
2013-June: 7th  Semester ISE Question Papers2013-June: 7th  Semester ISE Question Papers
2013-June: 7th Semester ISE Question Papers
 
7th Semester Information Science (2013-June) Question Papers
7th Semester Information Science (2013-June) Question Papers 7th Semester Information Science (2013-June) Question Papers
7th Semester Information Science (2013-June) Question Papers
 
Computer Programming Jntu Model Paper{Www.Studentyogi.Com}
Computer Programming Jntu Model Paper{Www.Studentyogi.Com}Computer Programming Jntu Model Paper{Www.Studentyogi.Com}
Computer Programming Jntu Model Paper{Www.Studentyogi.Com}
 

More from ktuonlinenotes

Module 1 uml - usecase digram
Module 1   uml - usecase digramModule 1   uml - usecase digram
Module 1 uml - usecase digramktuonlinenotes
 
Module 1 uml - interaction diagram
Module 1   uml - interaction diagramModule 1   uml - interaction diagram
Module 1 uml - interaction diagramktuonlinenotes
 
Lecture 4-oop class diagram
Lecture 4-oop class diagramLecture 4-oop class diagram
Lecture 4-oop class diagramktuonlinenotes
 
Lecture1 cst205 cst281-oop
Lecture1 cst205 cst281-oopLecture1 cst205 cst281-oop
Lecture1 cst205 cst281-oopktuonlinenotes
 
Lecture 2 cst 205-281 oop
Lecture 2   cst 205-281 oopLecture 2   cst 205-281 oop
Lecture 2 cst 205-281 oopktuonlinenotes
 
Lecture 3 cst205 cst281-oop
Lecture 3 cst205 cst281-oopLecture 3 cst205 cst281-oop
Lecture 3 cst205 cst281-oopktuonlinenotes
 

More from ktuonlinenotes (6)

Module 1 uml - usecase digram
Module 1   uml - usecase digramModule 1   uml - usecase digram
Module 1 uml - usecase digram
 
Module 1 uml - interaction diagram
Module 1   uml - interaction diagramModule 1   uml - interaction diagram
Module 1 uml - interaction diagram
 
Lecture 4-oop class diagram
Lecture 4-oop class diagramLecture 4-oop class diagram
Lecture 4-oop class diagram
 
Lecture1 cst205 cst281-oop
Lecture1 cst205 cst281-oopLecture1 cst205 cst281-oop
Lecture1 cst205 cst281-oop
 
Lecture 2 cst 205-281 oop
Lecture 2   cst 205-281 oopLecture 2   cst 205-281 oop
Lecture 2 cst 205-281 oop
 
Lecture 3 cst205 cst281-oop
Lecture 3 cst205 cst281-oopLecture 3 cst205 cst281-oop
Lecture 3 cst205 cst281-oop
 

Recently uploaded

Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxLigayaBacuel1
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayMakMakNepo
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 

Recently uploaded (20)

Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up Friday
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 

Oop july 2017

  • 1. D B4D0374 Page 1 of 2 Total Pages: 2 Reg No.:_______________ Name:__________________________ APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY FOURTH SEMESTER B.TECH DEGREE EXAMINATION, JULY 2017 Course Code: CS206 Course Name: OBJECT ORIENTED DESIGN AND PROGRAMMING (CS) Max. Marks: 100 Duration: 3 Hours PART A Answer all questions. Each carries 3 marks. 1 What are advantages of using UML? (3) 2 Illustrate the steps involved in Java compilation. (3) 3 Differentiate between a class and an object. (3) 4 Explain briefly about method overloading with an example. (3) PART B Answer any two questions. Each carries 9 marks. 5 Represent the following entities using UML class diagram i) Book ii) Employee iii) Vehicle (9) 6 Construct Use Case diagrams for the following i) ATM ii) Library iii) Railway reservation (9) 7 Write a Java program to calculate the area of different shapes namely circle, rectangle, and triangle using the concept of method overloading. (9) PART C Answer all questions. Each carries 3 marks. 8 Differentiate between abstract class and an interface. (3) 9 What is an exception? How is it handled? (3) 10 Illustrate the character stream class hierarchy. (3) 11 What are the uses of synchronized keyword in Java? (3) PART D Answer any two questions. Each carries 9 marks. 12 a) What is a package? (2) b) What are the advantages of using a package? (3) c) Write the steps and java code for creating a package named “AdMath” containing a method to calculate the factorial of a number passed to it. (4) 13 a) What are the advantages of inheritance? (3) b) Show how the following inheritance hierarchy can be implemented in Java. (3)
  • 2. D B4D0374 Page 2 of 2 c) Does Java support multiple inheritance? Justify your answer. (3) 14 a) What are the advantages of multi-threading in Java? (3) b) Illustrate the two ways of creating threads in Java with the help of examples? (6) PART E Answer any four questions. Each carries 10 marks. 15 a) Explain the working of the Delegation Event Model. (5) b) Write down the various event sources and their corresponding listeners. (5) 16 a) What are the features of an applet? (5) b) Illustrate the different parts of an applet tag. (5) 17 Write a Java program to check whether a given string is palindrome or not without using built in methods. (10) 18 Write a GUI based Java program to check whether a given number. is prime or not. Use appropriate AWT components and event handling. (10) 19 a) What are the advantages of using Swing API? (5) b) List any five Containers and Components available in Swing API. (5) 20 Explain the steps using java code for connecting a Java program to a database using JDBC API. (10) **** A B C D