0% found this document useful (0 votes)
38 views

Oops

The document lists 8 programming assignments for a C++ lab exam. The programs cover topics like call by value vs reference, inline functions, matrix operations with classes, static class members, operator overloading, inheritance, virtual functions, templates, and exception handling using common data structures. Students must complete programs that demonstrate their mastery of these core C++ concepts.

Uploaded by

Jaya Vakapalli
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views

Oops

The document lists 8 programming assignments for a C++ lab exam. The programs cover topics like call by value vs reference, inline functions, matrix operations with classes, static class members, operator overloading, inheritance, virtual functions, templates, and exception handling using common data structures. Students must complete programs that demonstrate their mastery of these core C++ concepts.

Uploaded by

Jaya Vakapalli
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

Department of Information Technology: VRSEC

II/IV B.Tech IV Semester


IT 4052 OBJECT ORIENTED PROGRAMMING LAB

List of Lab Programs for Lab Internal Exam l a) Write a C++ program to exchange the contents of two variables using a call by value and call by reference. b) inline functions 2 Define the matrix ADT using a class. The operations supported by this ADT are: i) Reading a matrix. ii) Printing a matrix. iii) Addition of matrices. iv) Subtraction of matrices. v) Multiplication of matrices. 3 Design an application for the maintenance of library information system using Static data Members, Static member function, Friend function & Dynamic memory allocation. 4 a) Write a C++ program to generate a Fibonacci series by Operator overloading of (i) Prefix operator (ii) Postfix operator. b) Write a C++ Program to implement function Overloading. 5 Write a C++ program to implement (i) Single Inheritance (ii) Multiple Inheritance (iii) Hybrid Inheritance 6 Write programs to demonstrate (i) Virtual functions (ii)Pure virtual functions 7 a) Write a C++ program to implement sorting using function templates. b) Write a C++ program to implement linked list using Class Templates. 8 a) Write a C++ program to implement Queue using Exception Handling b) Write a C++ program to implement Stack using Exception Handling.

You might also like