मराठी

An array with 3 elements is arranged in ascending order as follows: - Computer Applications

Advertisements
Advertisements

प्रश्न

An array with 3 elements is arranged in ascending order as follows:

Name the technique used:

पर्याय

  • Bubble sort

  • Linear Search

  • Selection sort

  • Binary Search

MCQ
Advertisements

उत्तर

Bubble sort

Explanation:

Bubble sort repeatedly compares adjacent elements and swaps them if they are out of order. The diagram shows adjacent swaps (4↔1, then 4↔3) until the array is sorted in ascending order, which is the characteristic behaviour of bubble sort.

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2025-2026 (March) Official Board Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×