||| Semester B.A. /B.Com. /B.Com.N/B.Sc. Examination, Nov. /Dec. 2013
(Semester Scheme)
Computer science
Paper – 3: OOPs using C++ and DBMS
Time: 3 Hours Max.Marks: 60
Instruction: Answer
all sections.
Section – A
|. Answer any ten
qestions. Each question carries one mark. (10*1=10)
1 1) What do you
mean by polymorphism?
2) What is the
purpose of break statement in switch?
3 3) Write the
syntax of operator overloading function.
4 4) What do you
mean by manipulators?
5 5) Define type
casting.
6 6) How static
data members differ from ordinary data members in a class?
7 7) What is the
purpose of ‘this’ pointer?
8 8) Define a
database.
9 9) What do you
mean by an entity?
1 10) Define normalization.
1 11) What do you
mean by distributed database?
1 12) Write the
syntax of INSERT command is SQL.
SECTION – B
||. Answer any five
questions. Each question carries three marks. (5*3=15)
1 1) Define
following
a) C++ tokens
b) Function
prototype
c) Object
2 2) What is class?
Mention the difference between class and structure.
3 3) What do you
mean by constructor? Mention different characteristics of constructor.
4 4) Explain the
purpose of the folling :
a) Ios class b) Strlen() c)Seekg
5 5) Explain the
application of DBMS
6 6) Explain
3-schema architecture.
7 7) Explain
relational data model.
SECTION – C
|||. Answer any five
questions. Each question carries seven marks (5*7=35)
1 1) a) Explain any three conditional control
statements
b) Write a
program to generate Fibonacci series using arrays. (3+4)
2 2) a) Explain the following keywords.
I) in –
line I i) continue iii) Operator (3+4)
b) Write program to overload binary ‘+’ operator
to concatenate 2 strings.
3) a) what do you mean by inheritance? Mention
any two concepts which can not
Be inherited.
b) Define virtual function and pure virtual
function.
c) Write program to illustrate single
inheritance.
(2+2+3)
4) a) what
is a friend function? Write a program to illustrate default constructor.
b) What do you mean by destructor? Write a
program to illustrate default constructor.
5) Define
the following.
i)
Redundancy ii) Attribute iii) Domain
6) a) Explain
the functions of DBA.
b) Explain
any three basic operations in relational algebra.
7) a) what
do you mean by normalization? Explain BCNF.
b)
Write a note on distributed database.
![]() |
gfgcpvg.blogspot.in
Posted by : Manjunath V.M