GATE / CS ARCHIVE

SIMILAR QUESTIONS / GENERAL APTITUDE

Count favorable ordered pairs in a product sample space

3 questions solved the same way, newest first. Back to General Aptitude

How these are solved

Enumerate the Cartesian product of two independent uniform selections, count pairs satisfying the stated sum or divisibility condition and divide by the product of sample sizes.

2 marks · MCQ
Report issue

Counting ordered dice multiples

Counting, Probability & Sets

Question 10, GATE 2026: A fair six-sided die labeled 1–6 is rolled twice. Find the probability that the second result is an integer multiple of the first. Options: 1/6, 5/18, 7/18, 5/6.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

Givens and goal

A fair six-sided die labeled 1–6 is rolled twice. Find the probability that the second result is an integer multiple of the first. Options: 1/6, 5/18, 7/18, 5/6.

Approach

Count favorable ordered pairs by fixing the first result; multiplication by 1 is allowed.

Step-by-step solution

1. The outcomes are ordered pairs (first,second). Independence and fairness give 6×6=36 equally likely outcomes.
2. If the first result is 1, every second result qualifies: 1,2,3,4,5,6. If it is 2, the qualifying second results are 2,4,6. For 3 they are 3,6. For 4,5,6 they are respectively only 4, only 5, and only 6.
3. The favorable counts are therefore 6+3+2+1+1+1=14. Equivalently, sum floor(6/a) over a=1,…,6.
4. The probability is 14/36=7/18, so select C. Equal results must count because a=1·a. Conversely, (2,4) qualifies but (4,2) does not; treating the rolls as unordered pairs would use the wrong sample space.

Original paper, page 9 · Answer key

2 marks · MCQ
Report issue

Prime sums of two die rolls

Counting, Probability & Sets

Question 10, GATE 2026: A fair six-sided die is rolled twice independently. Find the probability that the sum is prime. Options: A 3/36; B 13/36; C 15/36; D 19/36.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

Givens and goal

A fair six-sided die is rolled twice independently. Find the probability that the sum is prime. Options: A 3/36; B 13/36; C 15/36; D 19/36.

Approach

Count ordered pairs, because the 36 roll pairs are equally likely but the sums are not.

Step-by-step solution

1. There are 6×6=36 ordered outcomes (first roll, second roll). Possible prime sums in the range 2 through 12 are 2,3,5,7,11.
2. Sum 2 has (1,1), giving 1 outcome. Sum 3 has (1,2),(2,1), giving 2. Sum 5 has (1,4),(2,3),(3,2),(4,1), giving 4.
3. Sum 7 has the six pairs (1,6),(2,5),(3,4),(4,3),(5,2),(6,1). Sum 11 has (5,6),(6,5), giving 2.
4. Therefore the favorable count is 1+2+4+6+2=15, and the probability is 15/36=5/12, option C. Simply dividing five prime sums by eleven possible sums would be invalid because those sums have unequal probabilities.

Original paper, page 9 · Answer key

1 mark · MCQ
Report issue

Counting, Probability & Sets

Question 5, GATE 2015: Select one number uniformly from each of A={2,3,4,5}, B={11,12,13,14,15}. Find the probability that their sum is 16. A 0.20; B 0.25; C 0.30; D 0.33.
Tap to enlarge
Your answer
Answer & solution

Official answer: A

Form the sample space as A×B, not as unordered pairs from a nine-element union: the two selections have different roles. Each first choice has exactly one valid partner, namely 16 minus that choice. Therefore four favorable outcomes among twenty give 1/5. The unused B value 15 pairs with no member of A.

Solution: There are 4×5=20 equally likely ordered choices. Sum16 occurs for(2, 14),(3, 13),(4, 12),(5, 11), giving 4/20=0.2, A.

Original paper, page 3 · Answer key