Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

BHARATI VIDYAPEETH (DEEMED TO BE UNIVERSITY)

COLLEGE OF ENGINEERING, PUNE


DEPARTMENT OF COMPUTER ENGINEERING

Programming Technologies and Tools Laboratory – II


Assignment list
Sr.No. Assignment
1. Explain basic concept of OOP, Features of OOP and POP, Need for OOP, Benefits
of OOP, List of object oriented programming languages, Applications of OOP,
Difference between C and CPP.
2 Demonstrate Basic simple CPP Program and Program related Control structures in
CPP.
A. Write a C++ program with class to calculate the area of circle.
B. Write a C++ program to print the table of user entered number(with class).
C. Write a C++ program to perform following operations(use switch case):
i. Identify whether the given number is odd or even.
ii. Identify whether the given number is prime or not.
iii. Identify whether the given number is multiple of 5 or not.
3 Demonstrate Concept of Function in CPP.(Write about main function, function
prototype, function definition, function call, Actual and formal parameters,
Parameter passing mechanism(call by value, call by reference etc.)
A. Write a C++ program to find square root of function with class and without using
the inbuilt functions.
4 Demonstrate Concept of Inline Function in CPP(Write about inline function)
A Write a C++ program to calculate the area of rectangle and perimeter of rectangle
using inline function.
B Write a C++ program to compute sum of two numbers entered by user using inline
function.
5 Demonstrate Concept of Function Overloading and Operator Overloading in
CPP(write about the function overloading and operator overloading).
A Write a C++ program to calculate the volume of cylinder, cone and sphere using
the concept of function overloading.
B Write a C++ program to overload * operator.
C Write a C++ program to overload > operator.
6 Demonstrate Concept of Class and Object with the help of Scope Resolution
Operator in CPP.(Write about the scope resolution operator)
A Write a C++ program for the matrix multiplication and make appropriate use of
scope resolution operator.
7 Demonstrate Concept of Different types of inheritance in CPP.(Write about the
inheritance)
A. We want to calculate the total marks of each student of a class in
BHARATI VIDYAPEETH (DEEMED TO BE UNIVERSITY)

COLLEGE OF ENGINEERING, PUNE


DEPARTMENT OF COMPUTER ENGINEERING

Physics,Chemistry and Mathematics and the average marks of the class. The
number of students in the class are entered by the user. Create a class named
Marks with data members for roll number, name and marks. Create three other
classes inheriting the Marks class, namely Physics, Chemistry and Mathematics,
which are used to define marks in individual subject of each student. Roll number
of each student will be generated automatically.
8 Demonstrate Concept of Constructor and Destructor in CPP.(Write about
constructor and destructor)
A Write a C++ program to count the number of characters in string using
constructor.
B Write A C++ program to demonstrate the concept of destructor.
9 Demonstrate Concept Friend and Virtual Function in CPP. (Write about virtual
and friend function)
A Write a C++ program to demonstrate the concept of virtual function.
B Write a C++ program to demonstrate the concept of friend function.
10 Demonstrate Concept of File handling and Exception handling in CPP.(Write
about file handling and exception handling)
A Write a C++ program to create two files and copy the content from file to another
file.
B Write a C++ program to demonstrate the concept of exception handling.

Course coordinator

You might also like