J.K.K.Munirajah College of Technology
- Affiliated to Anna University , Chennai
Department of Computer Science Engineering
(Common to Information Technology)
CS6311 / IT6311 Programming and Data Structure Lab II - Lab Manual JKKMCT Edition
Third Semester
2013 Regulation
Special Thanks to :
LogeswaranI.T Department
J.K.K.Munirajah College of Technology
Content :
1. C++ program for Constructors
2. C++ program for Friend Function and Friend class
- a) Program for friend function
- b) program for friend class
- a) Single Inheritance
- b) Multiple Inheritance
- c) Multi Level Inheritance
- d) Hybrid Inheritance
- a) Polymorphism
- b) Function Overloading
6. Overloading unary and binary operator using Member function and Non-member function
7. Class and Function template
- a) Function Template
- Displaying greatest value using function template
- b) Class Template
- Displaying greatest number using class template.
- a) Division by zero
- b) Division by zero using function
- c) User defined exception handling
- d) Out of range Exceptions
- e) Program for Arithmetic exception handling
- a) Container
- STL Container-vector operators
- STL Container-vector, swap()
- Program for Vector
- b) Allocator
- c) Iterator
- Iterator - a list container
- Iterator - a set container
- Iterator - a multi-set container
- Iterator - a map container
- Iterator - a multi-map container
- d) Function Adaptors
- a) Program to write a text in the file
- b) Program to read data from text file and display it
- c) Program to count number of characters from “out.txt”.
- d) Program to count number of words from “out.txt”
- e) Program to count number of lines in the file
- f) Program to copy contents of one file to another file.
- g) Binary file(Write mode)
- h) Binary file(Read mode)
- i) Reading from and writing the personal details into the file using getline function
- j) Reading from and writing into the file
- a) Stack Implementation
- b) Queue Implementation
- c) Infix to Postfix Conversion:
- d) Evaluation of Postfix Expression
- e) Circular Queue – Application of queue
13. Implementation of Tree Traversal
14. Minimum Spanning Tree
- a) Prim's Algorithm
- b) Kruskal Algorithm
- a) Dijkstra's Algorithm
- b) Bellman Ford Algorithm
- c) Floyds Warshall Algorithm
Attachment :
CS6311 PDS_LAB_MANUAL.pdf (Size: 1.91 MB / Downloads: 8,123)