SPPU Electronics and Telecom Engineering (Semester 4)
Object Oriented Programming
May 2017
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


Solve any one question from Q.1(a,b) &Q.2(a,b)
1(a) What are the different benefits of object oriented programming? Enlist applications of OOP.
6 M
1(b) What is the use of constructor. State four types of constructor . Write a program in C++ for any one type.
6 M

2(a) Write a program in C++ to use Scope resolution operator.
6 M
2(b) What is operator overloading? Why is is necessary to overload an operator?
6 M

Solve any one question from Q.3(a,b) &Q.4(a,b)
3(a) What are distinct feature of JAVA?
5 M
3(b) What is recursion in JAVA? Write factorial program using recursion.
6 M

4(a) Write a short note on Java tokens. What are different data types in Java?
6 M
4(b) What is the use of this keyboard in Java? Explain with suitable example.
5 M

Solve any one question from Q.5(a,b) &Q.6(a,b)
5(a) Differentiate between Method overloading and Method Overriding.
6 M
5(b) Explain how to use a particular package in a Java program.Give example.
7 M

6(a) What is an interface? How is it implemented? What is the major difference between an interface and a class?
6 M
6(b) Write a program in Java to create a player class. Inherit the classes Cricket player and Football player from player class.
7 M

Solve any one question from Q.7(a,b) &Q.8(a,b)
7(a) What is Exception handling? How to handle Exception in Java?
8 M
7(b) Write difference between throw and throws.
6 M

8(a) Explain reading character and string from input console with suitable examples.
8 M
8(b) What is applet? What is difference between applet and application?
6 M



More question papers from Object Oriented Programming
SPONSORED ADVERTISEMENTS