How To Exam?

a knowledge trading engine...


Guru Nanak Dev University 2011 B.Sc Information Technology Object Oriented Programming U sing C++ - Question Paper

Tuesday, 22 January 2013 05:10Web

2411

B.Sc.(Information Technology) Part-2

OBJECT ORIENTED PROGRAMMING
USING C++

Paper-4

[Time allowed:Three hours] [Maximum Marks:100]

Note:-Attempt any 5 ques. carry equal marks.


1. discuss different control statements of c++ with examples. 20

2. Differentiate ranging from function and operator overloading.
Also provide 1 example of every. 20

3. (a) Differentiate between:
(1) Call by value and call by reference.
(2) Structure and union. 10
(b) What is recursion? discuss with the help of an
example. 10

4. (a) discuss different storage class specifiers of c++. 10
(b) What is string? write a program to enter a line
of tex and count how many vowels are there. 10

5. (a) What do you mean by inheritence? provide example of
single inheritence. 10
(b) discuss different kinds of files avaliable in c++.
What operations can be performed on afile? provide
suitable examples. 10
6. (a) What do you mean by constructor? Write main
characteristics of a constructor. How it is
defined? 10
(b) define the use of friend function in c++
with examples. 10

7. describe Polymorphism. discuss its kinds. How
polmorphism is implemented in c++? provide suitable
examples. 20

8. discuss the folowing features of C++:-
(a) Classes and objects
(b) Enumerations
(c) Virtual functions
(d) File stream classes. 20


( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Guru Nanak Dev University 2011 B.Sc Information Technology Object Oriented Programming U sing C++ - Question Paper