SPPU Information Technology (Semester 3)
Problem Solving and 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 different types of operators? Give hierarchy/ precedence of operators.
6 M
1(b) Explain the concept of local variable and global varible with suitable example.
6 M

2(a) What are the six steps of problem solving?
6 M
2(b) Explain "Top-down design" to solve the problem.
6 M

Solve any one question from Q.3(a,b,c) &Q.4(a,b,c)
3(a) Write an algortihm for finding maximum element of an array.
4 M
3(b) Define the terms polymorphism, data abstraction.
4 M
3(c) Explain various features of Object Oriented Programming.
4 M

4(a) Define Constructors and Destructors.
4 M
4(b) Define a class Bank Account having data members and member functions as:
Data members:
1) Name of depositor
2) Account number
3) Type of account
4) Balance amount is in the account.
Member functions:
1) To assign initial values
2) To deposit an amount
3) To withdraw an amount after checking the balance
4) To display name and balance.
4 M
4(c) What is need of virtual destructor?
4 M

Solve any one question from Q.5(a,b,c) &Q.6(a,b,c)
5(a) What is inheritance? What are different types of inheritance?
6 M
5(b) Write a C++ program to demonstrate multiple inheritance.
4 M
5(c) What are rule operator overloading?
3 M

6(a) Write a C++ program to add the complex numbers using binary operator overloading.
6 M
6(b) Explain early binding and late binding.
4 M
6(c) Explain virtual base class with example.
3 M

Solve any one question from Q.7(a,b,c) &Q.8(a,b,c)
7(a) Explain Standard Template Library (STL).
6 M
7(b) What is generic programming? How is it implemented in C++?
4 M
7(c) Define friend class. Explain the concept of forward declaration of class.
3 M

8(a) Describe briefly the features of I/O system supported by C++.
6 M
8(b) What is formatted and unformatted I/O operations.
4 M
8(c) Explain how the exception is handled in C++.
3 M



More question papers from Problem Solving and Object Oriented Programming
SPONSORED ADVERTISEMENTS