You are on page 1of 3

BACHELOR OF COMPUTER APPLICATIONS (BCA)

ASSIGNMENT

DIRECTORATE OF DISTANCE EDUCATION


JECRC UNIVERSITY
Plot No.IS-2036 to 2039, Ramchandrapura Industrial Area, Vidhani,
Jaipur (Rajasthan) - 303905
INSTRUCTIONS

NOTE:

1. Last date for submission of assignments is 26-12-2022. Assignments received after 26-12-2022

will not be evaluated.

2. Assignments should be in the own handwriting of the student concerned and not type-written

or printed or photocopied.

3. Assignments should be written on A4 paper on one side only.

4. All assignments required to be uploaded through Student Portal.


BCA IV SEMESTER ASSIGNMENT

D-BCA-020: Programming in C++


Maximum marks: 20

Q. 1
(a) Explain the various types of control statements available in C++ language
and
Design a C++ program to print the prime numbers between n1 and n2, where n1 and n2 are
any two integers.
(b) Write a C++ programme to multiply two given matrices A, B and store the result in C.

Q. 2
(a) Explain dynamic memory allocation techniques of C++.
(b) What is constructor? Explain various types of constructors with suitable examples.
(c) Explain [] and ++ operator overloading with example.
(d) What is polymorphism? How can you achieve polymorphism at run-time and
compile-time?
and
Write a program to find the volume of cube, cuboids, cone and cylinder using a user
defined function volume( ).

You might also like