APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY Previous Years Question Paper & Answer

Course : MCA

Semester : SEMESTER 2

Year : 2018

Term : APRIL

Branch : MCA

Scheme : 2016 Full Time

Course Code : RLMCA 102

Page:1





PDF Text (Beta):

A AC201 Pages: 3

Reg. No. Name:
APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY
SECOND SEMESTER MCA DEGREE (REGULAR) EXAMINATION, APRIL 2018

Course Code: 112
Course Name: OBJECT ORIENTED PROGRAMMING

Max. Marks: 60 Duration: 3 Hours

PARTA

Answer All Questions, Each Question Carries 3 Marks.

1. Explain the structure of a Java program.

2. Write a class in Java to find the ASCII value of the character interactively read
through keyboard.

3. List and explain any two uses of super keyword in inheritance.

4. Explain the order of constructor invocation in a multilevel hierarchy.

5. Write a class in Java to search a pattern in a string, if found replace it with another
pattern. (Use built in methods)

6. Explain the importance of synchronized keyword.

7. Explain the use of Sequence Input Stream class.

8. Explain the significance of constructors provided by Server Socket class.

PART 8

Answer any one question from each module. Each question carries 6 marks

MODULE 1
9. a. Explain the features of Object Oriented Programming. (4)
b. Explain why Java is called a robust and secure language. (2)
OR
10. a. Copy Constructors support pass by reference type of parameter passing. Justify the
statement with an example. (4)
b. Explain how instance variable hiding can be prevented in Java. (2)
MODULE - II

11. Design an application to store Movie objects (a film title and a tagline) in an array,
sort the array alphabetically by title and search (binary search) the array to retrieve a
film’s tag line, given the title of the film.

Page 1 of 3

Similar Question Papers