The maximum number of comparisons needed to sort 9 items using radix sort is (assume each item is 5-digit octal number):

This question was previously asked in
UGC NET Computer Science (Paper 2) July 2018 Paper
View all UGC NET Papers >
  1. 45
  2. 72
  3. 360
  4. 450

Answer (Detailed Solution Below)

Option 3 : 360
Free
UGC NET Paper 1: Held on 21st August 2024 Shift 1
16.1 K Users
50 Questions 100 Marks 60 Mins

Detailed Solution

Download Solution PDF

Concept:

Radix sort: It is a sorting technique which sort the integer values by grouping individual digits. It is not based on comparisons. When key values that are sorted are short, then it works faster. But sometimes it is not flexible as required. Because it depends on digits or letters.

Explanation:

Number of items = 9

Each item is assumed to be octal number of 5 digit.

Base of octal number system = 8

Maximum number of comparisons required to sort these 9 items:

= number of items × number of digits × base of number system

= 9 × 5 × 8

= 360
Latest UGC NET Updates

Last updated on Jul 6, 2025

-> The UGC NET Answer Key 2025 June was released on the official website ugcnet.nta.ac.in on 06th July 2025.

-> The UGC NET June 2025 exam will be conducted from 25th to 29th June 2025.

-> The UGC-NET exam takes place for 85 subjects, to determine the eligibility for 'Junior Research Fellowship’ and ‘Assistant Professor’ posts, as well as for PhD. admissions.

-> The exam is conducted bi-annually - in June and December cycles.

-> The exam comprises two papers - Paper I and Paper II. Paper I consists of 50 questions and Paper II consists of 100 questions. 

-> The candidates who are preparing for the exam can check the UGC NET Previous Year Papers and UGC NET Test Series to boost their preparations.

More Sorting Questions

Get Free Access Now
Hot Links: teen patti gold new version teen patti mastar teen patti gold online