Question Paper: Object Oriented Programming Methodology : Question Paper May 2016 - Information Technology (Semester 3) | Mumbai University (MU)

Object Oriented Programming Methodology - May 2016

Information Technology (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) Write a recursive method to calculate factorial of a integer number(5 marks) 1(b) Explain how java is platform independent(5 marks) 1(c) Explain bitwise operators available in java with example(5 marks) 1(d) Write note on applet lifecycle.(5 marks) 2(a) Write a detailed note on System arraycopy()(5 marks) 2(b) Write a program to display following pattern:

0 1    
1 0 1  
0 1 0 1
(5 marks) 2(c) With suitable example, explain creation and use of user defined packages.(10 marks) 3(a) Identify classes and their attributes and draw the relationships that are described by the following rules include the multiplicities for each relationship.
(i) Companies may employ many people, and people may work for many companies. Every employee in a company has a manager who may manage many subordinate employees.
(ii) Library maintains books and magazines. A student can issue a book or return a book. A fine is charged if book is returned after 8 days. The magazines are not issued, but student can read it in library.
(10 marks)
3(b) Write a program to create vector objects with student names Program should perform following operations based on choice.
i) Add student name
ii) Remove student name
iii) Display -displays contents of vectors using enumeration interface.
(10 marks)
4(a) Write a program to perform division of two numbers accepted from user. Handle the IOException. NumberFormatException and ArithmeticException using multiple try catch block.(10 marks) 4(b) Draw sequence diagram for withdrawing an amount from ATM(5 marks) 4(c) Explain Cohesion and coupling with suitable example.(5 marks) 5(a) Write a program to display the area of square and rectangle using the concept of overload constructor.(10 marks) 5(b) With the help of suitable example explain how threads are created in java.(5 marks) 5(c) Explain multiple inheritance in java with example.(5 marks)

Write short notes on (any four)

6(a) Wrapper classes(5 marks) 6(b) Static data members and Methods.(5 marks) 6(c) Abstract class & methods(5 marks) 6(d) Parameter passing to an applet(5 marks) 6(e) JVM(5 marks)

Please log in to add an answer.