Professional Documents
Culture Documents
AN AUTONOMOUS INSTITUTE
AFFILIATED TO MAKAUT (FORMELY KNOWN AS WBUT)
Theory / B. Tech / IT / SEM - V / Code – IT 510 / 2016-17
Paper Name: Object Oriented Programming & Systems
Full Marks: 75 Time Allotted: 3 hours
The figures in the margin indicate full marks. Candidates are required to give their answers in their own words as far as practicable.
GROUP – A
[MCQ Type Questions][Compulsory]
1. Choose the correct alternative of the following questions. Answer all questions. 10 x 1 = 10
GROUP – C
[Long Answer Type Questions]
Answer any three of the following
3 x 15 = 45
8. a) Discuss the different levels of access protection available in Java.
b) Describe briefly method overloading with suitable java code.
c) How does method overloading differ from method overriding?
d) Write a complete Java Program to explain how “multiple inheritance” is implemented in Java.
[3 + 4 + 3 + 5]
9. a) Write a java program to multiply two matrices.
b) Write a complete Java Applet program to draw a rectangle filled with blue color.
c) Briefly discuss Data Types in Java. [5+6+4]
11. a)Explain the use of „extends‟ keyword in java with suitable code example.
b)Write a java program to design a „Student‟ class having Id,Name, Age, Roll And Department
as data members and methods ReadData() to read Student information, Display() to show
Student information with appropriate constructors and test class also write a method which will
generate Id and assign it to the object created .
c) What is object reference? Write a program to print the „hexcode‟ of an object created in the
heap. [4+6+(2+3)]
12. a)Write a complete Java program to print the Fibonacci series up to n terms. Input should be
taken using BufferedReader class, Exception must be handled with custom error message.
b)Differentiate between String and String Buffer.
c)Explain constructor chaining with suitable code example?
d)Write a complete Java Applet program to Show the Life Cycle of an Applet. [5+4+3+3]
13. Write short notes on any three of the following: [3 × 5 = 15]
a) Thread Synchronization.
b) Operators in Java
c) Exception Handling in Java
d) JVM
e) Anonymous Inner Class.
f) Polymorphism
*****************************************************************
IT 510 Object Oriented Programming & Systems IT SEM V PAGE 2 OF 2