0% found this document useful (0 votes)
16 views4 pages

304 OOP With C++

The document is an exam paper for an Object Oriented Programming with C++ course. It contains 9 questions testing concepts like polymorphism, loops, functions, data types, operator overloading and inheritance. The questions are both short answer and long answer types testing understanding of core OOP concepts.

Uploaded by

sheerr420
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views4 pages

304 OOP With C++

The document is an exam paper for an Object Oriented Programming with C++ course. It contains 9 questions testing concepts like polymorphism, loops, functions, data types, operator overloading and inheritance. The questions are both short answer and long answer types testing understanding of core OOP concepts.

Uploaded by

sheerr420
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Total No. oóf Questions:9] Total No.

of Printed Pages :4
(1108)
B.C.A. UG (CBCS) RUSA IIIrd Semester
Examination

4213
OBJECT ORIENTED PROGRAMMING WITH C++
BCA-0304

Time:3 Hours] [Maximum Marks: 70

Note-Attempt five questions in all. Question No. 1


(Part-A) is compulsory containing 10 fill in the
blanks of l mark each and five short answer questions
of 4 marks each. Select one question each from
Parts-B, C, D and E.

Part-A

(Compulsory Question)
1. Fill in the blanks
A is defined as a collection of an
object that has the common attributes and
methods.
(ii) In OOP the object is uniquely identified by a

MC-672 (1) Turn Over


Gi The ability of different objects to respond, each
in its own way, to identical message is called

ivDynamic binding is also called


The general syntax of conditional operator is

P o s t f i x means that the value of the variable is


incremented... the value is used in context.
i y The . .. operator gives the size of the
datatype or variable in terms of bytes occupied
in memory.

Uviity The default access-specifier is . .

i x The main advantage of inheritance is the

.. . of the code.
objects of an abstract base class are

Created. 1x10-10

Short Answer Type Questions (25 to 50 words):


What is Polymorphism ? Explain.
xiy Differentiate between entry controlled loop and
exit controlled loop.
Cei) Differentiate between structure and class.
xiv) What is a Constructor ? Explain.
) Differentiate between actual and formal
arguments. 5x4-20

MC-672 (2)
Part-B
Unit-)
Write ten main characteristics of object oriented
programming language. 1x10-10

3. Define and explain the following type of instructions

with their syntax:

) Preprocessor directive

() Comments

(ii) Output using cout

cin 4x2.5 100


(iv) Input using
Part-C

(Unit-II)
4. () Write a program that takes an alphabet as a

input and using if else ladder statement find out

whether the alphabet is a vowel or not.

i) Write a program to print first five terms of


Fibonacci Series. 2x5-10

5. 4 Define storage classes. Explain the role of


register storage class.

What are user defined functions ? Explain the


three different Components that every C++

function consists of. 2x5-10


Turn Over
MC-672 (3)
Part-D

(Unit-II)
6. What are Datatypes ? Explain the different types of
user defined datatypes available in C++. 2+8 10
7. Write a program to multiply two matrices. Ix10=10
Part-E

(Unit-IV)
8. Write down the names of operators present in C++
that cannot be overloaded. Also write disadvantages
of operator overloading. 2x5=10
9. With the help of exapes diieteniate beiween
multilevel and hybrid inheritance. 1x10-10

MC-672 4)

You might also like