Question 46Asked in DSSSB TGT Computer Science (Technical), 13 Sep 2025, Shift 3 (5:00 PM)

A sorting algorithm in which the two or more elements with equal key values appear in the

A sorting algorithm in which the two or more elements with equal key values appear in the same order in sorted output as they appear in the input data set is known as a/an:
  1. Ainternal sorting algorithm
  2. Bexternal sorting algorithm
  3. Cstable sorting algorithm
  4. Dunstable sorting algorithm
Show answerHide answer

Correct answer: (C) stable sorting algorithm

Explanation

A stable sort keeps records with equal keys in their original relative order. Insertion sort and merge sort are stable.

From DSSSB TGT Computer Science PYQ (Technical), 13 Sep 2025, Shift 3 (5:00 PM)

This is question 46 of DSSSB TGT Computer Science PYQ (Technical), 13 Sep 2025, Shift 3 (5:00 PM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.