Semester : SEMESTER 4
Subject : Object Oriented Design and Programming
Year : 2020
Term : SEPTEMBER
Branch : COMPUTER SCIENCE AND ENGINEERING
Scheme : 2015 Full Time
Course Code : CS 206
Page:1
Reg No.:
10
11
೩)
0)
೩)
0)
Pages: 2
000000 02
Name:
APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY
Fourth semester B.Tech examinations (S), September 2020
Course Code: CS206
Course Name: OBJECT ORIENTED DESIGN AND PROGRAMMING (CS)
Max. Marks: 100
PARTA
Answer all questions, each carries 3 marks.
Why java programs are said to be robust?
Represent the entities ‘Student’ and ‘Course’ and their relationship using a
Class diagram
Explain the properties of a Constructor.
Write a Java program to perform concatenation of two strings read as
Command line arguments.
PART B
Answer any two full questions, each carries 9 marks.
With the help of a neat sketch, explain the Object Oriented Software
Development Life cycle model.
Construct Use-case diagram for an Online Shopping Application
Explain any four data types in Java
Create a class called Box with member variables length, breadth and height,
and a default and parameterized constructor. a member function to display the
volume of a box. Write a Java program to test the class.
Write a Java program to sort an array of integers.
PART C
Answer all questions, each carries 3 marks.
How can we prevent a class from instantiation?
Explain Dynamic Method Dispatch in Java
What are byte streams and character streams? Give examples of Java classes
for each stream.
Explain the concept of thread synchronization
Page 1 of 2
Duration: 3 Hours
Marks
3
3