Question Paper: Problem Solving and Object Oriented Programming Question Paper - May 2017 - Information Technology (Semester 3) - Savitribai Phule Pune University (SPPU)
0

Problem Solving and Object Oriented Programming - May 2017

SPPU Information Technology (Semester 3)

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 marks

1(b) Explain the concept of local variable and global varible with suitable example. 6 marks

2(a) What are the six steps of problem solving? 6 marks

2(b) Explain "Top-down design" to solve the problem. 6 marks

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. 6 marks

3(b) Define the terms polymorphism, data abstraction. 6 marks

3(c) Explain various features of Object Oriented Programming. 6 marks

4(a) Define Constructors and Destructors. 6 marks

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.
6 marks

4(c) What is need of virtual destructor? 6 marks

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 marks

5(b) Write a C++ program to demonstrate multiple inheritance. 6 marks

5(c) What are rule operator overloading? 6 marks

6(a) Write a C++ program to add the complex numbers using binary operator overloading. 6 marks

6(b) Explain early binding and late binding. 6 marks

6(c) Explain virtual base class with example. 6 marks

Solve any one question from Q.7(a,b,c) &Q.8(a,b,c)

7(a) Explain Standard Template Library (STL). 6 marks

7(b) What is generic programming? How is it implemented in C++? 6 marks

7(c) Define friend class. Explain the concept of forward declaration of class. 6 marks

8(a) Describe briefly the features of I/O system supported by C++. 6 marks

8(b) What is formatted and unformatted I/O operations. 6 marks

8(c) Explain how the exception is handled in C++. 6 marks

ADD COMMENTlink
written 6 months ago by gravatar for msharvari97 msharvari970
Please log in to add an answer.