SPPU Information Technology (Semester 3)
Problem Solving and Object Oriented Programming
December 2015
Problem Solving and Object Oriented Programming
December 2015
1 (a)
Explain with diagram concept of various loop logic structure.
6 M
1 (b)
Create an algorithm and flowchart to generate Fibonacci series.
6 M
2 (a)
What are different types of logic to solve problem?
6 M
2 (b)
Define the terms: variable and constant, data types.
6 M
3 (a)
Write algorithm to partition given array.
6 M
3 (b)
Define the terms: Polymorphism, Data Encapsulation and Data Abstraction.
6 M
4 (a)
Explain table lookup techniques.
6 M
4 (b)
How memory management is carried out in C++? Give its syntax in C++.
6 M
5 (a)
Write a program in C++ to overload "+" operator for addition of 2 complex number using friend function.
6 M
5 (b)
What is inheritance? Explain its types.
7 M
6 (a)
What is static and dynamic binding?
6 M
6 (b)
Write a program in C++ to demonstrate concept of Multiple Inheritance.
7 M
7 (a)
Write a program in C++ using I/O manipulator to print the following output for Pi=22/7:
3.1
3.14
3.143
3.1428
3.1
3.14
3.143
3.1428
6 M
7 (b)
Explain Container of STL in detail.
7 M
8 (a)
What is unformatted and formatted I/O operation?
6 M
8 (b)
What is Function template? Explain with C++ program.
7 M
More question papers from Problem Solving and Object Oriented Programming