0% found this document useful (0 votes)
3 views1 page

Types of Sorting: Internal vs External

Sorting is the process of arranging data in ascending or descending order based on relationships among data items. There are two main categories of sorting: internal sorting, which occurs when all data can fit in primary memory, and external sorting, which is used when data cannot all be accommodated in main memory and must be stored in secondary memory. Understanding these categories is essential for efficient data management.

Uploaded by

priyankaakhil14
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views1 page

Types of Sorting: Internal vs External

Sorting is the process of arranging data in ascending or descending order based on relationships among data items. There are two main categories of sorting: internal sorting, which occurs when all data can fit in primary memory, and external sorting, which is used when data cannot all be accommodated in main memory and must be stored in secondary memory. Understanding these categories is essential for efficient data management.

Uploaded by

priyankaakhil14
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Sorting refers to operation for arranging set of data in ascending or

Descending order according to relations among data items.

Categories of Sorting

1. Internal Sorting

If the data item to be sorted can be adjusted at a time in primary memory


then it is

Called an internal sorting.

2. External Sorting

When data items that are to be sorted cannot be accommodated to the main
memory at

The same time and quotient of data elements have to be kept in secondary
memory

Then such category of sorting is called as external sorting.

You might also like