Computer Science, asked by Psyad3084, 1 year ago

What is data structure explain the different operations to be performed on data structure?

Answers

Answered by beststudent1
2

Answer:

Common operations on various Data Structures

Data Structure is the way of storing data in computer’s memory so that it can be used easily and efficiently. There are different data-structures used for the storage of data. It can also be define as a mathematical or logical model of a particular organization of data items. The representation of particular data structure in the main memory of a computer is called as storage structure. For Examples: Array, Stack, Queue, Tree, Graph, etc.

Answered by vijayhalder031
0

Concept introduction:

Data structures serve as a means of organizing and storing data. It is a method of setting up data on a computer to make it easily accessible and up to date. The best data format for your project should be chosen based on your requirements and project.

Explanation:

Given that, the topic data structure.

We have to find, about data structure and its operation.

According to the question,

A data structure is a grouping of data items and the connections between them. It is also possible to describe it as a mathematical or logical model of a certain data item structure. Data structures come in a variety of forms, including linear data structures like arrays and linked lists.

The basic operations that are performed on data structures are as follows:

The act of inserting a new data element into a data structure is known as insertion.

Deletion: When a data element is deleted, it is taken out of the data structure where it was found.

Searching includes looking through a data structure for a certain data element. Two methods may be used to search the elements:

A linear search is the simplest method of finding an element.

The divide and conquer principle is used by binary search.

Processing every data element in a data structure requires a procedure called traversal.

Sorting is the process of placing a data structure's data pieces in a predetermined order. There are several sorting formulas:

A. Heap Sort B. Bubble Sort C. Selection Sort D. Quick Sort E. Merge Sort

Merging: Merging is the process of combining components from two related data structures to create a new data structure of the same kind.

Final Answer:

An expertly designed framework for arranging, processing, accessing, and storing data is called a data structure. Data structures come in both simple and complex forms, all of which are made to organize data for a certain use.

#SPJ2

Similar questions