Question 145Asked in CIL MT Systems, 26 Mar 2017 (12:30 PM)

In order to sort list of numbers using radix sort algorithm, we need to get the individual digits of each number 'n' of the list. If n is a positive decimal…

In order to sort list of numbers using radix sort algorithm, we need to get the individual digits of each number 'n' of the list. If n is a positive decimal integer, then iᵗʰ digit, from right, of the number n is:
  1. A⌊n / 10^(i−1)⌋ % 10
  2. B⌈n / 10^i⌉ % 10
  3. C⌈n / 10^(i−1)⌉ % 10
  4. D⌊n / 10^i⌋ % 10
Show answerHide answer

Correct answer: (A) ⌊n / 10^(i−1)⌋ % 10

From CIL MT Systems PYQ, 26 Mar 2017 (12:30 PM)

This is question 145 of CIL MT Systems PYQ, 26 Mar 2017 (12:30 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.