Question Paper: Object Oriented Programming Methodology : Question Paper Dec 2016 - Computer Engineering (Semester 3) | Mumbai University (MU)

Object Oriented Programming Methodology - Dec 2016

Computer Engineering (Semester 3)

(1) Question 1 is compulsory.
(2) Attempt any three from the remaining questions.
(3) Assume data if required.
(4) Figures to the right indicate full marks.
1(a) Explain Java Virtual Machine.(5 marks) 1(b) Write a program to display factorial of given number. Take input from command line arguments.(5 marks) 1(c) Explain System arraycopy ( ) method with example.(5 marks) 1(d) Explain Thread life cycle.(5 marks) 2(a) Explain different ways to create Thread in JAVA with example.(10 marks) 2(b) Differentiate between method overloding and overriding. Write a program to override area ( ) method of Shape class into its subclasses Rectangle and Square. Shape is an abstract class.(10 marks) 3(a) Explain different types of relationships among the entities. Define the relationships among the objects of given sentences:
1) Manager is an Employee.
2) Teacher teaches OOPM subject to students.
3) Merry owns a car.
4) Engine is a parts of car.
(10 marks)
3(b) Explain the steps to create package in JAVA to add class and interface with example.(10 marks) 4(a) Explain bitwise operators in JAVA.(4 marks) 4(b) Explain use of final keyword when it is prefix with variable, method and class.(4 marks) 4(c) Explain Cohesion and Coupling.(4 marks) 4(d) Write an applet program to display

(4 marks) 4(e) What is abstract class? Explain with example.(4 marks) 5(a) Explain exception handling mechanism with the help of try, catch, throw, throws and finally.(7 marks) 5(b) Department of Computer Engineering wants to maintain record of books. If any new book is purchased then it is added to the list. Also if any book is damaged or misplaced it can be deleted from the list. Write a program to perform above operations and display list of books available in the the department.(8 marks) 5(c) Differentiate between String and StringBuffer class.(5 marks) 6(a) Explain inheritance and its types in JAVA.(5 marks) 6(b) Explain wrapper class.(5 marks) 6(c) Write a program to display sum of main diagonal elements of a matrix.(5 marks) 6(d) Explain Applet lifecycle methods.(5 marks)

Please log in to add an answer.