MU Computer Engineering (Semester 3)
Object Oriented Programming Methodology
December 2012
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) Justify 'Java language is not 100% object oriented programming language'.
4 M
1(b) Explain shift operator by giving example?
4 M
1(c ) Describe multidimensional Array.
4 M
1(d) What is main Thread
4 M
1(e ) Describe Applet Skeleton.
4 M

2(a) Write a program to demonstrate the use of command line Arguments.
5 M
2(b) Write a program to add the list of items using vector and delete an item in the list according to user's choice.
5 M
2(c) What is the Difference Between Method Overloading and Method Overriding?
5 M
2(d) Describe AWT Classes
5 M

3(a) Write a program to display following tree :

* * * *
* * *
* *
*
5 M
3(b) What is accessibility of the public method or field inside a non public class ?
5 M
3(c ) Describe static keyword in java
5 M
3(d) Write a program to demonstrate access protection in different packages.
5 M

4(a) In a method invocation does Java pass arguement by reference or by value
10 M
4(b) Describe constants in interfaces along with, example.
5 M
4(c ) How to use package and its naming convention ?
5 M

5(a) Write a program to display whether the inputted number is prime or not.
5 M
5(b) Describe throw and throws statement by giving example
5 M
5(c) Write a program to create Thread by extending 'Thread Class'
5 M
5(d) Write a program to check the font name and font size of string by passing parameters to applet.
5 M

6(a) Write a program to open "notepad" using Java application program
5 M
6(b) Write a program for matrix addition.
5 M
6(c) Write a program to demonstrate try and multiple catches.
5 M
6(d) What is meaning of monitor with respect to synchronization?
5 M

7(a) Write a program to demonstrate overloaded constructor
5 M
7(b) Describe the different methods of vector class.
5 M
7(c) Write a program to demonstrate single inheritance.
5 M
7(d) List the names of packages along with its Classes and Methods.
5 M



More question papers from Object Oriented Programming Methodology
SPONSORED ADVERTISEMENTS