Semester : SEMESTER 4
Subject : Object Oriented Design and Programming
Year : 2019
Term : MAY
Branch : COMPUTER SCIENCE AND ENGINEERING
Scheme : 2015 Full Time
Course Code : CS 206
Page:1
Reg No.:_
10
11
a)
b)
a)
b)
a)
b)
D1052 Pages: 2
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
PARTA
Answer all questions, each carries 3 marks.
Explain the terms: Polymorphism and Encapsulation
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
Explain how objects are passed as function parameters with a suitable example.
What are parameterized constructors? Is it possible to define a parameterized
constructor for a class without defining a parameter-less constructor?
PART 13
Answer any two full questions, each carries 9 marks.
Draw Use case Diagram for online Pizza ordering system
What is the role of Java Virtual Machine?
Explain Object Oriented System Development Life Cycle.
Write a Java program that accepts two three digit numbers as command line
arguments and find all palindrome numbers between them.
Explain method overloading with the help of an example.
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.
PART ட
Answer all questions, each carries 3 marks.
What are packages? Explain how packages are created in Java.
What are interfaces? How interfaces are used in Java?
What are Checked Exceptions? Give an example.
What are thread priorities? How can you assign priority values for threads
created in Java?
Page 1 of 2
Duration: 3 Hours
Marks
(3)
(3)
(3)
(3)
(6)
(3)
(4)
(5)
(3)
(6)
(3)
(3)
(3)
(3)