0
361views
Problem Solving And Object Oriented Programming Question Paper - Dec 17 - Information Technology (Semester 3) - Pune University (PU)
1 Answer
0
0views

Problem Solving And Object Oriented Programming - Dec 17

Information Technology (Semester 3)

Total marks: 50
Total time: 3 Hours
INSTRUCTIONS
(1) Question 1 is compulsory.
(2) Attempt Q1 or Q2, Q3 or Q4, Q5 or Q6, Q7 or Q8.

(3) Draw neat diagrams wherever necessary.

1.a. What are the six steps of problem solving?
(6 marks) 00

1.b. State the major differences in the three types of loop structures.
(6 marks) 00

OR

2.a. When should you use single decision logic over nested decision logic?
(6 marks) 00

2.b. What are the relationships of the problem-solving tools to each other ?
(6 marks) 00

3.a. Write an algorithm to find the maximum in an array and the position :

i. where it first occurs

ii. where it last occurs

(4 marks) 00

3.b. Write a C++ program to calculate the area of circle, rectangle and triangle using function overloading.
(4 marks) 00

3.c. Write algorithm for keyword searching.
(4 marks) 00

OR

4.a. Write a C++ program to overload unary operator minus(-).
(4 marks) 00

4.b. Explain the syntax of operator overloading using friend function.
(4 marks) 00

4.c. What do you mean by dynamic initialization of object?
(4 marks) 00

5.a. What is static data member and static member function? Write its properties.
(6 marks) 00

5.b. Explain constructors and destructors in inheritance.
(4 marks) 00

5.c. Write a program to demonstrate how constructor and destructor are invoked in multilevel inheritance.
(3 marks) 00

OR

6.a. Differentiate between Procedural oriented programming and object oriented programming.
(6 marks) 00

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

6.c. What is inheritance ? Write types of inheritance.
(3 marks) 00

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

7.b. Write a C++ program to swap two numbers using concept of function template.
(4 marks) 00

7.c. How to catch multiple exceptions?
(3 marks) 00

OR

8.a. Write a note on RTTI.
(6 marks) 00

8.b. What is exception handling mechanism in C++? Write a program in C++ to handle "divide by zero" exception.
(4 marks) 00

8.c. How to manage console I/O operations?
(3 marks) 00

Please log in to add an answer.