GATE CS 2024 Set 2 — Question 2
MCQ+1 / -0.33EasyPermutations & CombinationsQuantitative AptitudeGeneral Aptitude
General Aptitude → Quantitative Aptitude → Permutations & Combinations
Last updated
Question
Two wizards try to create a spell using all the four elements, water, air, fire, and earth. For this, they decide to mix all these elements in all possible orders. They also decide to work independently. After trying all possible combination of elements, they conclude that the spell does not work.How many attempts does each wizard make before coming to this conclusion, independently?
A.
24
B.
48
C.
16
D.
12
Correct answer
(A) 24
Solution
The problem states that the wizards mix all four elements (water, air, fire, earth) in all possible orders. This implies finding the number of permutations of 4 distinct items.The number of permutations of distinct items is given by .
Here, .Since each wizard works independently and tries all possible orders, each wizard makes 24 attempts.
Here, .Since each wizard works independently and tries all possible orders, each wizard makes 24 attempts.
More questions on Quantitative Aptitude
2024 Set 1 Q1If ‘’ denotes increasing order of intensity, then the meaning of the words [dry…2024 Set 2 Q1If ‘’ denotes increasing order of intensity, then the meaning of the words [walk jog…2024 Set 1 Q2If two distinct non-zero real variables and are such that is proportional to…2024 Set 1 Q3Consider the following sample of numbers: The median of…2024 Set 1 Q4The number of coins of ₹1, ₹5, and ₹10 denominations that a person has are in the ratio 5:3:13. Of…
Practice GATE CS PYQs with adaptive difficulty
Timed practice, skill tracking, and AI explanations — free to start.
Start practicing free