
Learn core concepts, essential formulas, and attempt practice questions designed on the latest TCS NQT testing patterns.
Input: 'cat 40 apple 50'. Step 1: 'apple cat 40 50'. What is the logic?
Correct Answer: A) Sort words alphabetically from left
Step-by-step Solution: 'apple' (starts with A) is shifted to the front. This shows the sorting logic is moving words alphabetically from left to right.
If step 1 is '90 cat 40 dog', and step 2 is '90 40 cat dog', what is the number logic?
Correct Answer: A) Numbers sorted descending
Step-by-step Solution: The numbers 90 and 40 are moved to the front in descending order. Hence, the number logic is descending sort.
Compare Step 1 with the Input line to discover what element moved first.