0% found this document useful (0 votes)
44 views2 pages

MITS Science, Arts & Commerce College: Roll No.

Uploaded by

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

MITS Science, Arts & Commerce College: Roll No.

Uploaded by

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

Writing anything except roll number on the question paper will be deemed as an act of including in unfair means

and action shall be taken as per rules.

Roll
No.:
MITS Science, Arts & Commerce College
BCA II YEAR End Term Examination, 2023-24
PROGRAMMING WITH C++ (BCA-203)
Time: Time: 1 Hour 30 Minutes Maximum Marks: 20

Instructions to Candidates:
The question paper is divided in three parts A, B & C.
Part A: Short answer type questions (up to 35 words).
Part B: Answer any 6 out of 8.
Part C: Answer any 2 out of 3.
Schematic diagrams must be shown wherever necessary. Any data you feel missing may
suitably be assumed and stated clearly. Units of quantities used/calculated must be stated
clearly.
Use of following supporting material is permitted during examination:

1. ____________________________ 2. ______________________________

PART-A
(Short answer type questions (up to 35 words))
Answer any 5 out of 7
Q.1 Define object oriented paradigm? [1]

Q.2 What is polymorphism? [1]

Q.3 What is destructor? Explain it. [1]

Q.4 Discuss the constants and variables of C++ in detail. [1]

Q.5 Explain the data types in c++. [1]

Q.6 What do you mean by ifstream and ofstream? [1]

Q.7 Define & and * operator. [1]

PART-B
Answer any 6 out of 8

Q. What is function overloading? Explain with an example. [1.5]


1
Q. Write a C++ program to demonstrate copy constructor. [1.5]
2
Q. Describe inline function with suitable example. [1.5]
3
Q. How are encapsulation and data hiding implemented in c++? [1.5]
4
Q. What is this pointer? Explain it [1.5]
5
Q. Discuss the access modifire in brief. [1.5]
6
Q. What is DMA? Explain new and delete operator? [1.5]
7
Q. Distinguish between sequential file and random file access. [1.5]
8

PART-C
Answer any 2 out of 3

Q.1 Define inheritance? Write a C++ program to demonstrate multilevel [3]


inheritance.
Q.2 What is friend function? How they are defined? Explain with an suitable [3]
example.
Q.3 Write short note on Virtual functions. [3]

You might also like