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

VIGNAN’S INSTITUTE OF ENGINEERING FOR WOMEN

Accredited by NBA (EEE, ECE, CSE & IT)


Kapujaggarajupeta, VSEZ (POST), Visakhapatnam-530049

DEPARTMENT OF INFORMATION TECHNOLOGY


Internal Lab Examination
(II- B.Tech I Sem, Regulations: R20)

Course Name: Object Oriented Programming through C++ Lab Max Time: 3 Hrs.
Branch: Information Technology Max Marks: 15M
Faculty: Mr. Netaji Gandi / Mr. B. Ch. Venkata Ramana Date: 03.02.2022

QUESTIONS
1. Implement the following:
a. Write a C++ program to create objects of DISTANCE class. Input two distances and output the
sum.
b. Write C++ program that implement Bubble sort, to sort a given list of integers in ascending order.
2. Implement the following:
a. Write a C++ program to Overload Binary operator as non-member function
b. Write a C++ Program to illustrate template class
3. Implement the following:
a. Write a C++ Programs to Multiple Inheritance and Multi-level inheritance
b. Write a C++ Program to illustrate member function templates.
4. Implement the following:
a. Write a C++ program for illustrating function overloading in adding the distance between objects
(use the Distance class problem)
b. Write a C++ program to Overload Unary operator as member function.
5. Implement the following:
a. Write a C++ program to illustrate member function templates
b. Write a C++ program to implement the overloading assignment = operator
6. Implement the following:
a. Write a C++ program to illustrate the use of Constructors and Destructors (use the Distance class
problem)
b. Write a C++ program that implement Bubble sort, to sort a given list of integers in ascending
order.
VIGNAN’S INSTITUTE OF ENGINEERING FOR WOMEN
Accredited by NBA (EEE, ECE, CSE & IT)
Kapujaggarajupeta, VSEZ (POST), Visakhapatnam-530049

7. Implement the following:


a. Write a C++ program to illustrate this pointer
b. Write C++ Programs for Single Inheritance and Hybrid inheritance.
8. Implement the following:
a. Write a C++ program illustrating Virtual classes & virtual functions.
b. Write C++ Program for Single Inheritance
9. Implement the following:
a. Write a C++ Program to illustrate member function templates
b. Write a C++ Program to rethrow an Exception
10. Implement the following:
a. Write a C++ to create objects of DISTANCE class. Input two distances and output the sum.
b. Write a C++ program to illustrate this pointer
11. Implement the following:
a. Write a C++ program to implement the overloading assignment = operator
b. Write a C++ Programs for Single Inheritance
12. Implement the following:
a. Write a C++ program for illustrating function overloading in adding the distance between
objects (use the Distance class problem)
b. Write a C++ program illustrating user defined string processing functions using pointers

Internal Examiner 1 Internal Examiner 2


Mr. Netaji Gandi Mr. B. Ch.V.Ramana
Assistant Professor Assistant Professor

Head of the Department

You might also like