Kadi Sarva Vishwavidyalaya Practical List: LDRP Institute of Technology and Research
This document contains a list of 33 programming aims for a practical assignment. The aims cover topics like functions, classes, inheritance, pointers, polymorphism, and file handling. Students are to write programs that demonstrate concepts like function overloading, static class members, copy constructors, operator overloading, inheritance, pointer manipulations, and input/output stream formatting. They will then submit their work with remarks noting the date and any comments.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
78 views3 pages
Kadi Sarva Vishwavidyalaya Practical List: LDRP Institute of Technology and Research
This document contains a list of 33 programming aims for a practical assignment. The aims cover topics like functions, classes, inheritance, pointers, polymorphism, and file handling. Students are to write programs that demonstrate concepts like function overloading, static class members, copy constructors, operator overloading, inheritance, pointer manipulations, and input/output stream formatting. They will then submit their work with remarks noting the date and any comments.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3
KADI SARVA VISHWAVIDYALAYA
LDRP Institute of Technology and Research
Practical List
Sr. Aim DATE Remarks
No 1 WAP to print “Welcome to LDRP”. WAP to find whether the given number is 2 palindrome or not. WAP to implement the concept of scope 3 resolution operator. WAP to create function using reference variable 4 as arguments to swap the values. WAP to enumerate the day of week using the 5 enum data type. WAP to perform dynamic initialization using 6 return reference. WAP to calculate the area of circle, rectangle and 7 triangle using function overloading. WAP to find whether the given no is prime or not 8 using private member function of class. Demonstrate the use of static variables and static function in a class by using it to count the number 9 of objects created in the program, having a static function to display the count. WAP to create function which accepts objects as 10 arguments and return object to create copy of an object. WAP to create two classes with private variables 11 and use friend function to compare those variables. WAP to access private variables of one class via 12 member function of another class. WAP to implement the concept of dynamic 13 initialization of objects using constructor. WAP to implement the concept of copy 14 constructor by using constructor overloading. Sr. Aim DATE Remarks No WAP to implement the concept of dynamic 15 constructor. 16 WAP to demonstrate destructor. WAP to overload unary minus operator using 17 member function and friend function. WAP to overload binary plus operator using 18 member function and friend function WAP to demonstrate type conversions : 19 Basic to Class Type, Class to Basic Type, One Class to another Class Type. WAP to implement all the categories of 20 Inheritance. WAP to solve the diamond problem in 21 Inheritance WAP to demonstrate the difference between 22 visibility mode during Inheritance WAP to implement the concept of constructor in 23 Inheritance WAP to access data members as well as member 24 function of one class to another class even there is no relation between two classes. WAP to implement: -Declaration and Initialization of Pointer 25 -Manipulations of pointer -Arithmetic operation on pointer WAP to access data members of class using 26 pointer. WAP to compare the value of data member of different object of same class and assign the copy 27 of the object into another object which data member is greater than another using this pointer. WAP to demonstrate how pointers to a derived 28 object are used. WAP to implement the concept of run time 29 polymorphism. WAP to implement the concept of pure virtual 30 function. WAP to demonstrate the use of all the features for formatting the output, namely: 31 -ios class function and flags -Manipulators -User-defined manipulators Sr. Aim DATE Remarks No 32 WAP to copy content of one file to another. 33 WAP to count words of a file.