Computer Science, asked by arjunreddy8272, 9 months ago

Sorting is not possible by using which of the following methods?

A. Insertion     B. Selection     C. Exchange     D. Deletion​

Answers

Answered by Anonymous
4

Answer:

Sorting is not possible in Deletion.

Explanation:

Using insertion we can perform insertion sort, using selection we can perform selection sort, using exchange we can perform the bubble sort (and other similar sorting methods).

Answered by stalwartajk
0

Answer:

Deletion is not a method of sorting and cannot be used to sort a list of elements. Hence the correct answer option is D. Deletion​

Explanation:

Sorting is the process of arranging a collection of elements in a specific order. There are many different methods or algorithms that can be used to sort a list of elements.

  • Insertion sort, as the name suggests, works by inserting each element into its proper position in a sorted list. The algorithm starts with a single element  and iteratively inserts each remaining element into its correct position by comparing it with the elements in the sorted list and shifting the elements as necessary to make room for the new element.
  • Selection sort, on the other hand, selects the smallest element from the unsorted part of the list and swaps it with the first element of the unsorted part. The algorithm iterates over the entire list, finding the smallest element and swapping it with the first unsorted element.
  • Exchange sort, also known as Bubble sort, repeatedly swaps adjacent elements if they are in the wrong order until the list is sorted. The algorithm iterates over the list multiple times, comparing adjacent elements and swapping them if they are in the wrong order.
  • Deletion, however, is not a method of sorting. Deletion refers to removing an element from a list, which may or may not affect the order of the remaining elements. It is not a way of rearranging the elements in a specific order, which is the primary goal of sorting algorithms.

Learn more about sorting: https://brainly.in/question/31912762

Learn more about  algorithm: https://brainly.in/question/28040

#SPJ6

Similar questions