c++&DSaSSIGNMENT
c++&DSaSSIGNMENT
Assignment-1
1. What are the Purpose and use of using Constructors and Destructors
in C++? Write a program in C++ to overload ++(Increment) operator.
2. Discuss the Following :
(i) Inline Functions
(ii) Friend Functions
Assignment-2
3. How are Encapsulation and Information Hiding Linked? Explain with
Real world Examples.
4. Briefly Explain the concept of Oops in C++.
Shah Satnam ji Boys’ college, Sirsa
Class :-B.Sc(3rd Sem)
Name of Subject:- Data Structure
Submission Date:- 13/09/24
Assignment-1
1. Explain in details:
(I) Linear Search
(II) Binary Search
2. What is Multi-Dimensional Array with Examples.
Assignment-2
1. Explain the method and algorithm for Selection sort and Bubble sort
by taking suitable example.
2. What is Linked List? Explain the Process of insertion at first position
and deletion of last node from a linked list.