SlideShare a Scribd company logo
D D1052 Pages: 2
Page 1 of 2
Reg No.:_______________ Name:__________________________
APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY
FOURTH SEMESTER B.TECH DEGREE EXAMINATION(R&S), MAY 2019
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. Marks
1 Explain the terms: Polymorphism and Encapsulation (3)
2 Consider a Banking System. Identify three entities in the system which can be
represented using classes and show the relationship between them using UML
class diagrams
(3)
3 Explain how objects are passed as function parameters with a suitable example. (3)
4 What are parameterized constructors? Is it possible to define a parameterized
constructor for a class without defining a parameter-less constructor?
(3)
PART B
Answer any two full questions, each carries 9 marks.
5 a) Draw Use case Diagram for online Pizza ordering system (6)
b) What is the role of Java Virtual Machine? (3)
6 a) Explain Object Oriented System Development Life Cycle. (4)
b) Write a Java program that accepts two three digit numbers as command line
arguments and find all palindrome numbers between them.
(5)
7 a) Explain method overloading with the help of an example. (3)
b) Define a class Queue for representing a queue data structure. The class must
define a default constructor, a parameterized constructor and functions for en-
queue, de-queue and display operations. Write a Java program to implement
this.
(6)
PART C
Answer all questions, each carries 3 marks.
8 What are packages? Explain how packages are created in Java. (3)
9 What are interfaces? How interfaces are used in Java? (3)
10 What are Checked Exceptions? Give an example. (3)
11 What are thread priorities? How can you assign priority values for threads
created in Java?
(3)
D D1052 Pages: 2
Page 2 of 2
PART D
Answer any two full questions, each carries 9 marks.
12 a) Discuss the different access specifiers used in java. (4)
b) Explain how inheritance is implemented in Java. What is the use of ‘super’
keyword? Illustrate its usage with suitable examples.
(5)
13 a) Discuss about any two stream classes used in Java. (4)
b) Write a Java program to create two threads: One for displaying all odd numbers
between 1 and 100 and second thread for displaying all even numbers between 1
and 100.
(5)
14 a) What are abstract classes? (3)
b) Create a user defined Exception ‘InvalidNumberException’. Write a Java
program that computes the average of N positive numbers given as Command
Line Arguments. Raise the Exception ‘InvalidNumberException’ on reading a
negative number or zero as input.
(6)
PART E
Answer any four full questions, each carries 10 marks.
15 a) Explain Event Delegation model in Java. (6)
b) Discuss any four methods used for string processing in Java (4)
16 a) How can we pass parameters to an Applet? Explain with an example. (5)
b) Discuss how fonts are managed in AWT with suitable examples (5)
17 a) What are layout managers? Explain any one layout manager with an example. (5)
b) What are Adapter Classes? How do we make you adapter classes while
handling window events?
(5)
18 a) What are dynamic queries? Explain how they are processed with suitable
examples?
(5)
b) Explain the life cycle of an applet (5)
19 a) Discuss the different steps involved in establishing a JDBC connectivity and
query processing with a suitable example.
(7)
b) What are the differences between a Java applet and a Java application? (3)
20 a) What is the use of paint() method? How do we invoke it? (3)
b) Discuss any two AWT controls, the events generated by them and how they are
handled with suitable code fragments.
(7)
****

More Related Content

What's hot

Structure and Enum in c#
Structure and Enum in c#Structure and Enum in c#
Structure and Enum in c#
Prasanna Kumar SM
 
Lecture 18
Lecture 18Lecture 18
Lecture 18
talha ijaz
 
Literals,variables,datatype in C#
Literals,variables,datatype in C#Literals,variables,datatype in C#
Literals,variables,datatype in C#
Prasanna Kumar SM
 
Smu bca sem 4 (old) fall 2014 solved assignments
Smu bca sem 4 (old) fall 2014  solved assignmentsSmu bca sem 4 (old) fall 2014  solved assignments
Smu bca sem 4 (old) fall 2014 solved assignments
smumbahelp
 
C++ Object Oriented Programming
C++  Object Oriented ProgrammingC++  Object Oriented Programming
C++ Object Oriented Programming
Gamindu Udayanga
 
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
 
Refactoring Practice: Cleaner Code
Refactoring Practice: Cleaner CodeRefactoring Practice: Cleaner Code
Refactoring Practice: Cleaner Code
Chloe Choi
 
[Question Paper] Advanced Java (75:25 Pattern) [April / 2016]
[Question Paper] Advanced Java (75:25 Pattern) [April / 2016][Question Paper] Advanced Java (75:25 Pattern) [April / 2016]
[Question Paper] Advanced Java (75:25 Pattern) [April / 2016]
Mumbai B.Sc.IT Study
 
[Question Paper] Advanced Java (75:25 Pattern) [November / 2016]
[Question Paper] Advanced Java (75:25 Pattern) [November / 2016][Question Paper] Advanced Java (75:25 Pattern) [November / 2016]
[Question Paper] Advanced Java (75:25 Pattern) [November / 2016]
Mumbai B.Sc.IT Study
 
Dot net introduction
Dot net introductionDot net introduction
Dot net introduction
Dr.Neeraj Kumar Pandey
 
Smu msc it spring 2014 solved assignments
Smu msc it spring 2014 solved assignmentsSmu msc it spring 2014 solved assignments
Smu msc it spring 2014 solved assignments
smumbahelp
 
Lecture 5
Lecture 5Lecture 5
Mit4021 c# and .net
Mit4021   c# and .netMit4021   c# and .net
Mit4021 c# and .net
smumbahelp
 
Lab manual object oriented technology (it 303 rgpv) (usefulsearch.org) (usef...
Lab manual object oriented technology (it 303 rgpv) (usefulsearch.org)  (usef...Lab manual object oriented technology (it 303 rgpv) (usefulsearch.org)  (usef...
Lab manual object oriented technology (it 303 rgpv) (usefulsearch.org) (usef...
Make Mannan
 
Java and Data Structure (June - 2016) [Revised Course | Question Paper]
Java and Data Structure (June - 2016) [Revised Course | Question Paper]Java and Data Structure (June - 2016) [Revised Course | Question Paper]
Java and Data Structure (June - 2016) [Revised Course | Question Paper]
Mumbai B.Sc.IT Study
 
OOM MCQ 2018
OOM  MCQ 2018OOM  MCQ 2018
OOM MCQ 2018
lochan100
 
Bca smu solved assignments
Bca smu solved assignmentsBca smu solved assignments
Bca smu solved assignments
solved_assignments
 
Control Structures in Visual Basic
Control Structures in  Visual BasicControl Structures in  Visual Basic
Control Structures in Visual BasicTushar Jain
 
Binding,interface,abstarct class
Binding,interface,abstarct classBinding,interface,abstarct class
Binding,interface,abstarct class
vishal choudhary
 

What's hot (20)

Structure and Enum in c#
Structure and Enum in c#Structure and Enum in c#
Structure and Enum in c#
 
Lecture 18
Lecture 18Lecture 18
Lecture 18
 
Literals,variables,datatype in C#
Literals,variables,datatype in C#Literals,variables,datatype in C#
Literals,variables,datatype in C#
 
Smu bca sem 4 (old) fall 2014 solved assignments
Smu bca sem 4 (old) fall 2014  solved assignmentsSmu bca sem 4 (old) fall 2014  solved assignments
Smu bca sem 4 (old) fall 2014 solved assignments
 
C++ Object Oriented Programming
C++  Object Oriented ProgrammingC++  Object Oriented Programming
C++ Object Oriented Programming
 
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]
 
Refactoring Practice: Cleaner Code
Refactoring Practice: Cleaner CodeRefactoring Practice: Cleaner Code
Refactoring Practice: Cleaner Code
 
[Question Paper] Advanced Java (75:25 Pattern) [April / 2016]
[Question Paper] Advanced Java (75:25 Pattern) [April / 2016][Question Paper] Advanced Java (75:25 Pattern) [April / 2016]
[Question Paper] Advanced Java (75:25 Pattern) [April / 2016]
 
[Question Paper] Advanced Java (75:25 Pattern) [November / 2016]
[Question Paper] Advanced Java (75:25 Pattern) [November / 2016][Question Paper] Advanced Java (75:25 Pattern) [November / 2016]
[Question Paper] Advanced Java (75:25 Pattern) [November / 2016]
 
Poo java
Poo javaPoo java
Poo java
 
Dot net introduction
Dot net introductionDot net introduction
Dot net introduction
 
Smu msc it spring 2014 solved assignments
Smu msc it spring 2014 solved assignmentsSmu msc it spring 2014 solved assignments
Smu msc it spring 2014 solved assignments
 
Lecture 5
Lecture 5Lecture 5
Lecture 5
 
Mit4021 c# and .net
Mit4021   c# and .netMit4021   c# and .net
Mit4021 c# and .net
 
Lab manual object oriented technology (it 303 rgpv) (usefulsearch.org) (usef...
Lab manual object oriented technology (it 303 rgpv) (usefulsearch.org)  (usef...Lab manual object oriented technology (it 303 rgpv) (usefulsearch.org)  (usef...
Lab manual object oriented technology (it 303 rgpv) (usefulsearch.org) (usef...
 
Java and Data Structure (June - 2016) [Revised Course | Question Paper]
Java and Data Structure (June - 2016) [Revised Course | Question Paper]Java and Data Structure (June - 2016) [Revised Course | Question Paper]
Java and Data Structure (June - 2016) [Revised Course | Question Paper]
 
OOM MCQ 2018
OOM  MCQ 2018OOM  MCQ 2018
OOM MCQ 2018
 
Bca smu solved assignments
Bca smu solved assignmentsBca smu solved assignments
Bca smu solved assignments
 
Control Structures in Visual Basic
Control Structures in  Visual BasicControl Structures in  Visual Basic
Control Structures in Visual Basic
 
Binding,interface,abstarct class
Binding,interface,abstarct classBinding,interface,abstarct class
Binding,interface,abstarct class
 

Similar to Oop r&s may 2019

Oop suplemnertary september 2019
Oop suplemnertary september  2019Oop suplemnertary september  2019
Oop suplemnertary september 2019
ktuonlinenotes
 
Oop april 2018
Oop april 2018Oop april 2018
Oop april 2018
ktuonlinenotes
 
Oop sample ktu
Oop sample ktuOop sample ktu
Oop sample ktu
ktuonlinenotes
 
Model questions-b.sc .csit-6th-sem
Model questions-b.sc .csit-6th-semModel questions-b.sc .csit-6th-sem
Model questions-b.sc .csit-6th-sem
NayanBakhadyo
 
ASP.NET With C# (December – 2017) [Revised Syllabus | Question Paper]
ASP.NET With C# (December – 2017) [Revised Syllabus | Question Paper]ASP.NET With C# (December – 2017) [Revised Syllabus | Question Paper]
ASP.NET With C# (December – 2017) [Revised Syllabus | Question Paper]
Mumbai B.Sc.IT Study
 
17432 object oriented programming
17432   object oriented programming17432   object oriented programming
17432 object oriented programming
soni_nits
 
ASP.NET With C# (May – 2018) [IDOL: Revised Course | Question Paper]
ASP.NET With C# (May – 2018) [IDOL: Revised Course | Question Paper]ASP.NET With C# (May – 2018) [IDOL: Revised Course | Question Paper]
ASP.NET With C# (May – 2018) [IDOL: Revised Course | Question Paper]
Mumbai B.Sc.IT Study
 
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...
BGS Institute of Technology, Adichunchanagiri University (ACU)
 
Pcd201516
Pcd201516Pcd201516
Pcd201516
sheikhmoidin
 
[Question Paper] ASP.NET With C# (60:40 Pattern) [April / 2014]
[Question Paper] ASP.NET With C# (60:40 Pattern) [April / 2014][Question Paper] ASP.NET With C# (60:40 Pattern) [April / 2014]
[Question Paper] ASP.NET With C# (60:40 Pattern) [April / 2014]
Mumbai B.Sc.IT Study
 
B.Sc.IT: Semester - V (April - 2014) [60:40 Pattern | Question Paper]
B.Sc.IT: Semester - V (April - 2014) [60:40 Pattern | Question Paper]B.Sc.IT: Semester - V (April - 2014) [60:40 Pattern | Question Paper]
B.Sc.IT: Semester - V (April - 2014) [60:40 Pattern | Question Paper]
Mumbai B.Sc.IT Study
 
3rd Semester Computer Science and Engineering (ACU) Question papers
3rd Semester Computer Science and Engineering  (ACU) Question papers3rd Semester Computer Science and Engineering  (ACU) Question papers
3rd Semester Computer Science and Engineering (ACU) Question papers
BGS Institute of Technology, Adichunchanagiri University (ACU)
 

Similar to Oop r&s may 2019 (20)

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
 
Model questions-b.sc .csit-6th-sem
Model questions-b.sc .csit-6th-semModel questions-b.sc .csit-6th-sem
Model questions-b.sc .csit-6th-sem
 
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
 
ASP.NET With C# (December – 2017) [Revised Syllabus | Question Paper]
ASP.NET With C# (December – 2017) [Revised Syllabus | Question Paper]ASP.NET With C# (December – 2017) [Revised Syllabus | Question Paper]
ASP.NET With C# (December – 2017) [Revised Syllabus | Question Paper]
 
17432 object oriented programming
17432   object oriented programming17432   object oriented programming
17432 object oriented programming
 
ASP.NET With C# (May – 2018) [IDOL: Revised Course | Question Paper]
ASP.NET With C# (May – 2018) [IDOL: Revised Course | Question Paper]ASP.NET With C# (May – 2018) [IDOL: Revised Course | Question Paper]
ASP.NET With C# (May – 2018) [IDOL: Revised Course | Question Paper]
 
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
 
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
 
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...
 
Pcd201516
Pcd201516Pcd201516
Pcd201516
 
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
 
[Question Paper] ASP.NET With C# (60:40 Pattern) [April / 2014]
[Question Paper] ASP.NET With C# (60:40 Pattern) [April / 2014][Question Paper] ASP.NET With C# (60:40 Pattern) [April / 2014]
[Question Paper] ASP.NET With C# (60:40 Pattern) [April / 2014]
 
B.Sc.IT: Semester - V (April - 2014) [60:40 Pattern | Question Paper]
B.Sc.IT: Semester - V (April - 2014) [60:40 Pattern | Question Paper]B.Sc.IT: Semester - V (April - 2014) [60:40 Pattern | Question Paper]
B.Sc.IT: Semester - V (April - 2014) [60:40 Pattern | Question Paper]
 
3rd Semester Computer Science and Engineering (ACU) Question papers
3rd Semester Computer Science and Engineering  (ACU) Question papers3rd Semester Computer Science and Engineering  (ACU) Question papers
3rd Semester Computer Science and Engineering (ACU) Question papers
 
1st Semester M Tech Computer Science and Engg (Dec-2013) Question Papers
1st Semester M Tech Computer Science and Engg  (Dec-2013) Question Papers 1st Semester M Tech Computer Science and Engg  (Dec-2013) Question Papers
1st Semester M Tech Computer Science and Engg (Dec-2013) Question Papers
 

More from ktuonlinenotes

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

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

Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 

Recently uploaded (20)

Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 

Oop r&s may 2019

  • 1. D D1052 Pages: 2 Page 1 of 2 Reg No.:_______________ Name:__________________________ APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY FOURTH SEMESTER B.TECH DEGREE EXAMINATION(R&S), MAY 2019 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. Marks 1 Explain the terms: Polymorphism and Encapsulation (3) 2 Consider a Banking System. Identify three entities in the system which can be represented using classes and show the relationship between them using UML class diagrams (3) 3 Explain how objects are passed as function parameters with a suitable example. (3) 4 What are parameterized constructors? Is it possible to define a parameterized constructor for a class without defining a parameter-less constructor? (3) PART B Answer any two full questions, each carries 9 marks. 5 a) Draw Use case Diagram for online Pizza ordering system (6) b) What is the role of Java Virtual Machine? (3) 6 a) Explain Object Oriented System Development Life Cycle. (4) b) Write a Java program that accepts two three digit numbers as command line arguments and find all palindrome numbers between them. (5) 7 a) Explain method overloading with the help of an example. (3) b) Define a class Queue for representing a queue data structure. The class must define a default constructor, a parameterized constructor and functions for en- queue, de-queue and display operations. Write a Java program to implement this. (6) PART C Answer all questions, each carries 3 marks. 8 What are packages? Explain how packages are created in Java. (3) 9 What are interfaces? How interfaces are used in Java? (3) 10 What are Checked Exceptions? Give an example. (3) 11 What are thread priorities? How can you assign priority values for threads created in Java? (3)
  • 2. D D1052 Pages: 2 Page 2 of 2 PART D Answer any two full questions, each carries 9 marks. 12 a) Discuss the different access specifiers used in java. (4) b) Explain how inheritance is implemented in Java. What is the use of ‘super’ keyword? Illustrate its usage with suitable examples. (5) 13 a) Discuss about any two stream classes used in Java. (4) b) Write a Java program to create two threads: One for displaying all odd numbers between 1 and 100 and second thread for displaying all even numbers between 1 and 100. (5) 14 a) What are abstract classes? (3) b) Create a user defined Exception ‘InvalidNumberException’. Write a Java program that computes the average of N positive numbers given as Command Line Arguments. Raise the Exception ‘InvalidNumberException’ on reading a negative number or zero as input. (6) PART E Answer any four full questions, each carries 10 marks. 15 a) Explain Event Delegation model in Java. (6) b) Discuss any four methods used for string processing in Java (4) 16 a) How can we pass parameters to an Applet? Explain with an example. (5) b) Discuss how fonts are managed in AWT with suitable examples (5) 17 a) What are layout managers? Explain any one layout manager with an example. (5) b) What are Adapter Classes? How do we make you adapter classes while handling window events? (5) 18 a) What are dynamic queries? Explain how they are processed with suitable examples? (5) b) Explain the life cycle of an applet (5) 19 a) Discuss the different steps involved in establishing a JDBC connectivity and query processing with a suitable example. (7) b) What are the differences between a Java applet and a Java application? (3) 20 a) What is the use of paint() method? How do we invoke it? (3) b) Discuss any two AWT controls, the events generated by them and how they are handled with suitable code fragments. (7) ****