APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY Previous Years Question Paper & Answer

Course : B.Tech

Semester : SEMESTER 4

Year : 2017

Term : JUNE

Scheme : 2015 Full Time

Course Code : CS 206

Page:1





PDF Text (Beta):

D

Reg. No. Name:

B4D372 Pages: 2

APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY
FOURTH SEMESTER B.TECH DEGREE EXAMINATION, JUNE 2017

Course Code: CS206
Course Name: OBJECT ORIENTED DESIGN AND PROGRAMMING (CS)

Max. Marks: 100 Duration: 3 Hours

PY ¢> >

10.
11.

12

13

PARTA

Answer all questions.

Write short notes on any two Object Oriented concepts. (3)

Differentiate between while and do-while iterative statements. (3)

What are the roles of a constructor? (3)

Compare private, protected, and public access modifiers. (3)
PART ए

Answer any two questions.

a. What is the role of a Java Virtual Machine? (3)
b. Describe any six features of Java language. (6)
a. Summarize the different data types in Java. (4.5)
b. Implement the following entities as Java classes with suitable instance variables
and methods: i) Bank Account; 11) Vehicle. (4.5)
a. Implement the following entities as Java classes with suitable instance variables
and methods: i) Student. (4.5)
b. Describe the control statements in Java. (4.5)
PART ^

Answer all questions.

Explain the concept of method overriding with an example. (3)
What happens if exceptions are not handled? (3)
Write the Java code for reading the contents of a file. (3)

Show using Java code how three threads can be created using Runnable interface. (3)
PART 7

Answer any two questions.

. a. List any six built-in packages in Java. (2)
b. Explain the role of access modifiers when packages are used in Java. (2.5)
c. Differentiate between try-catch and throws statements. (4.5)

. a. Describe the concept of interface in Java. (1)

Similar Question Papers