MU Information Technology (Semester 3)
Object Oriented Programming Methodology
May 2016
Total marks: --
Total time: --
INSTRUCTIONS
(1) Assume appropriate data and state your reasons
(2) Marks are given to the right of every question
(3) Draw neat diagrams wherever necessary


1(a) Write a recursive method to calculate factorial of a integer number
5 M
1(b) Explain how java is platform independent
5 M
1(c) Explain bitwise operators available in java with example
5 M
1(d) Write note on applet lifecycle.
5 M

2(a) Write a detailed note on System arraycopy()
5 M
2(b) Write a program to display following pattern:
1      
0 1    
1 0 1  
0 1 0 1
5 M
2(c) With suitable example, explain creation and use of user defined packages.
10 M

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 M
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 M

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 M
4(b) Draw sequence diagram for withdrawing an amount from ATM
5 M
4(c) Explain Cohesion and coupling with suitable example.
5 M

5(a) Write a program to display the area of square and rectangle using the concept of overload constructor.
10 M
5(b) With the help of suitable example explain how threads are created in java.
5 M
5(c) Explain multiple inheritance in java with example.
5 M

Write short notes on (any four)
6(a) Wrapper classes
5 M
6(b) Static data members and Methods.
5 M
6(c) Abstract class & methods
5 M
6(d) Parameter passing to an applet
5 M
6(e) JVM
5 M



More question papers from Object Oriented Programming Methodology
SPONSORED ADVERTISEMENTS