OOP Question Paper 1

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

BVI3/CBcS) INT-Vc-3036/22

(AC/PKc/NCC/BNC/BKBC)

2021
(Held in 2022)
INFORMATION TECHNOLOGY

QP : Master Trainer to Junior Software Developer

Paper INT-VC-3036

(Object Oriented Programming using C++ )

Full Marks 60

Time: 3 hours

The figures in the margin indicate full marks


for the questions

1. Answer the following as directed 1x7-7

Define class.

b What is an array?
What is OOP?

What is the of <iostream.h> in a


(d use

program?

(e " is called extraction operator

(State True or False )

22A/79 (Turn Over)


(2)

What is scope resolution operator?

What is concrete class?


(9

2. Answer any four of the following questions:


2x4-8

Differentiate between class and object.

What do you by friend function'?


(b mean

(c) Explain the instruction int*p.

(d) What is pure virtual function?

Observe the following C++ code and


(of
write the names of the header files to
run it in a C++ Compiler :

Void main()
char name[30],c;
Cin>>name;
c tolower (name| 1 );
Cout<<C
getch();

Write the differences between Private


and Protected.

22A/79 ( Continued)
(3)
2
Answer any three of the following questions
5-3-15

What js destpuctor? Why destructor


cannot be overloaded?

b) Write a C++ program to showthe use of


friend function.

Whaticostructor? Explain different


ypes of parameterized constructor.

(d What is static data member? Write the


characteristics of static member
function.
Define polymorphism. Which operators
cannot be overloaded?

4. Answer any three of the following questions


10x3-30
Write the differences between C and
CWrite a program to overload a
unary operator usingnon-static
member function.

What is inheritance? Explain.

Explain duterent types


polymorphism

Turn Ouer )
22A/79
(4)

aWtphortnotes on the following


unction overlcading
Virtual function
What are data member and member
function Eaplain the various ways to
define a member function

VG/CBCsy INT-VC-3036/22
-1000f79 (ACPKCJNCC/BNCJBKBC

You might also like