Guru Nanak Dev University
B.S.C Information Technology
Object Oriented Programming Using C++
2009 Question Paper
Time:3 Hrs
Minimum Marks:100.
1) a) Define the concept of abstraction, encapsulation and inheritence with examples.
b) what are the various operators available in c++ ? explain giving suitable examples.
2) explain with suitable examples the various types of loops availabe in c++.
3) define constructors.what are the various types of constructors ? explain giving examples.
4) discuss, with the help of suitable examples, the following concepts:
a) function over loading
b) function re defining
c) function overriding
5) write a program for creating an array of students structures consisting of R.No, name, marks in 3 subjects and total marks, after reading the values of n students. calculates total marks of each students and average marks of students per subjects.
6) Explain the various methods of derivation used in inheritence. explain how a publicly derived
class can across private data of a base class ? explain the merits and demerits of private derivation
over the public derivation.
7) explain the various functions involved in opening end closing a binary file in c++. how an array
of class objects can be stored and retrieved from a file ?
8) write short notes on the following:-
a) incline functions
b) disadvantages of operators overloading
c) commands line arguments
d) pointer to pointers.
B.S.C Information Technology
Object Oriented Programming Using C++
2009 Question Paper
Time:3 Hrs
Minimum Marks:100.
1) a) Define the concept of abstraction, encapsulation and inheritence with examples.
b) what are the various operators available in c++ ? explain giving suitable examples.
2) explain with suitable examples the various types of loops availabe in c++.
3) define constructors.what are the various types of constructors ? explain giving examples.
4) discuss, with the help of suitable examples, the following concepts:
a) function over loading
b) function re defining
c) function overriding
5) write a program for creating an array of students structures consisting of R.No, name, marks in 3 subjects and total marks, after reading the values of n students. calculates total marks of each students and average marks of students per subjects.
6) Explain the various methods of derivation used in inheritence. explain how a publicly derived
class can across private data of a base class ? explain the merits and demerits of private derivation
over the public derivation.
7) explain the various functions involved in opening end closing a binary file in c++. how an array
of class objects can be stored and retrieved from a file ?
8) write short notes on the following:-
a) incline functions
b) disadvantages of operators overloading
c) commands line arguments
d) pointer to pointers.
0 comments:
Pen down your valuable important comments below