Punjabi University 2008 B.Com Computer Science object oriented programming using C++ - Question Paper
Tuesday, 05 February 2013 10:25Web
1113-AR
N-3-2048
OBJECT ORIENTED PROGRAMMING USING C++
PAPER-B
time:three hours maximum marks:70
NOTE:- Attempt 1 ques. every from part A, B, C and D.Section E is compulsory.
SECTION-A
1.Discuss in detail the different features of object oriented programming. 12.5
2. elaborate the different kinds of operators in c++ ? What do you mean by operator precedence and
associativity ? discuss giving examples. 12.5
SECTION-B
3. explain in detail the different storage classes. 12.5
4. describe and distinguish beween Arrays and Pointers. 12.5
SECTION-C
5. elaborate constructors and destructors ? elaborate their properties ? elaborate the various kinds
of constructors ? discuss.
12.5
six How ambiguity can be removed from multiple and hybrid inheritence ? discuss
giving examples. 12.5
SECTION-D
7. What do you mean by operator overloading ? Which operators can not be overloaded. How
can be overloaded unary and binary operator? discuss giving suitable examples .
8. How sequential acess files are handled in C++ ? discuss giving suitable examples. 12.5
SECTION-E
9. Attempt any 5 question:
(a) describe code extensibility. How is it implemented ? discuss .
(b) What is the difference ranging from break and continue on ? discuss giving example.
(c) What is an abstract base class ? How is it created ? discuss giving example.
(d) What is difference ranging from nested and container classe ?
(e) What is difference ranging from the subsequent :
P=new int (10)
P= new int [10]
(f) elaborate the different kinds of inheritence ?
(g) What is the difference ranging from function overloading and function redefinition ?
(h) What is the difference ranging from sequential and random access files ?
[Marks 5*4=40]
.
Earning: Approval pending. |