C++ Cover & Index
C++ Cover & Index
Practical File
On
PROGRAMMING IN C++
(B.C.A.-207)
Submitted
In
Partial fulfillment of the requirements for the award
of the degree of
Bachelor of Computer Application-2nd Year
For
Session: 2021-22
At
SAMADHAN COLLEGE BEMETARA
Affiliated to
HEMCHAND YADAV UNIVERSITY, DURG (C. G.)
Guided by Submitted by
MRS. MONA SAHU SURYKANT DEWANGAN
CERTIFICATE OF EVALUATION
This is to certify that the Practical file entitled
“(PROGRAMMING IN C++) (B.C.A-207)” is carried out by Mr.
SURYKANT DEWANGAN, a student of BCA – II year at
Samadhan College Bemetara (C.G), after proper evaluation and
examination, is hereby approved as a credible work in the discipline
of Computer Science & Information Technology and is done in a
satisfactory manner for its acceptance as a requisite for the award of
degree of Bachelor of Computer Application- II year during the
year 2021-22 from HEMCHAND YADAV UNIVERSITY, DURG
(C. G.)
(HOD/Principal)
INDEX
SN NAME OF PRACTICAL PAGE DATE OF Teacher
NO. PRACTICAL signature
Loops, Decision, Nested Method, Member Function Defined Outside Class Body:-
Q.1 a) WAP to generate following pattern:-
ABCDEFG 1-2 03/10/2021
ABC EFG
AB FG
A G
b) WAP to generate following pattern:-
* 3-4 05/10/2021
* *
* * *
Array
Friend class
Create class Degree Celsius having a single data member 109-111 29-11-2021
Q.28. to hold value of temperature in degree Celsius. Provide
following facilities:
a) Overloaded operator ++ which will increase value of
data member by 1 (consider postfix and prefix operator
overloading).
b) Overloaded operator -- which will decrease value of
data member by 1 (consider post fix and prefix operator
overloading).
c) Overloaded insertion and extraction operators for
input in data member and display value of data member.
Inline functions
Inheritance
Create a class circle with data member radius,
Q.38. provide Member function to calculate area . 137-139 13-12-2021
derived class Sphere from class circle provide
Member function to calculate volume derived
class cylinder from class sphere with additional
data member for height and Member function to
calculate volume.