0% found this document useful (0 votes)
40 views

Programming in C++ 2021

This document contains instructions for an annual examination for a BCA programming course. It lists 5 questions with 3 sub-questions each, covering topics like OOP concepts, C++ constants and variables, structures, classes, inheritance, operator overloading, and friend functions. Students must attempt any 2 parts from each of the 5 units and all questions carry equal marks.

Uploaded by

Raj Official
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views

Programming in C++ 2021

This document contains instructions for an annual examination for a BCA programming course. It lists 5 questions with 3 sub-questions each, covering topics like OOP concepts, C++ constants and variables, structures, classes, inheritance, operator overloading, and friend functions. Students must attempt any 2 parts from each of the 5 units and all questions carry equal marks.

Uploaded by

Raj Official
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

MasterProgramming.

in

[2]

H-94-21 Roll No. ....................... ANNUAL (c) Write a C++ program to demonstrate return by
reference.

EXAMINATION, 2021
Unit-III
3. (a) Write the differences between structure and class with
B.C.A. II example.
B.C.A. 203
(b) Discuss the static data member and static member
Paper III
function in detail.
(Programming in C++)
(c) Write a C++ program to demonstrate copy con
Time : 3 Hours] [Maximum Marks : 80 structor.

Note : Attempt any two parts from each unit. All questions
carry equal marks. Unit-IV
4. (a) Explain the pointer to object with example.
Unit-I
1. (a) What is OOP ? Write the appllication of OOP. (b) What is inheritance ? Write a C++ program to
demonstrate multiple inheritances.
(b) Discuss the constants and variables of C++ in
detail. (c) Discuss the access specifiers in brief.
(c) Write a C++ program to demonstrate switch state
ment. Unit-V
5. (a) Describe the pure virtual function with example. (b)
Unit-II
2. (a) Define structure. Explain how to access structure Write a C++ program to overload binary operator. (c)
member with example.
Explain the friend function with example.
(b) Describe how to access constant to a function with
example.
MasterProgramming.in

✪✪✪✪✪ c ✪✪✪✪✪
P. T. O. H-94/21 2 / 50

You might also like