APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY Previous Years Question Paper & Answer

Course : B.Tech

Semester : SEMESTER 8

Year : 2019

Term : OCTOBER

Scheme : 2015 Full Time

Course Code : CS 486

Page:1





PDF Text (Beta):

D H192129

Reg No.: Name:
APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY

EIGHTH SEMESTER B.TECH DEGREE EXAMINATION(S), OCTOBER 2019

Course Code: CS486
Course Name: OBJECT ORIENTED PROGRAMMING

Pages:2

Max. Marks: 100 Duration: 3 Hours
PARTA
Answer all questions, each carries 4 marks. Marks

1 Differentiate between byte code and JVM? (4)
2 Explain various methods involved in the lifecycle of an applet. (4)
3 Explain the role of access specifiers in Java. (4)
4 Discuss the concept of multiple catch and nested try statement. (4)
5 What 15 JOBC-ODBC bridge driver? (4)
6 What do you understand by interface? Discuss its implementation process. (4)
7 Write a Java program to calculate the area of a circle using method overloading (4)

with 1) diameter 2) radius as parameters. Use necessary data types.
8 Write brief note on AWT event hierarchy. (4)
9 Explain the use of the following functions in Java (4)

1. 10110)

2. 1011990
10 Write a Java program to find the sum of digits of the given number. (4)

PART 0
Answer any two full questions, each carries 9 marks.

11 a) What is the concept of memory allocation for objects? Discuss with suitable (6)

example.

b) What are the different types of inheritance supported by Java? (3)

12 Write a Java program to create a class Employee with empid, name, basic pay, (9)

DA as attributes and illustrate 1) default constructor 2) parameterized

constructor 3) method to display the salary of an employee by calculating DA

as 50 % of basic pay.
13 Using control statements in Java, illustrate the following. (9)

1) Input: Roll No, Name, Marks of five subjects.
2) Output: Grade of the student.

Grade is calculated as follows:

Page lof 2

Similar Question Papers