GATE / CS ARCHIVE

GATE CSE 2017 SET 1 / QUESTION 64

GATE CSE 2017 Set 1 Q64

General Aptitude · Counting, Probability & Sets · Full GATE CSE 2017 Set 1 paper

GATE 2017 Set 1, Q64 2 marks · MCQ
Report issue

Counting, Probability & Sets

Question 64, GATE 2017: Arun,Gulab,Neel,Shweta each get one distinct shirt from red,pink,blue,white. Arun dislikes red; Shweta dislikes white; the others accept any colour. How many acceptable assignments? A 21; B 18; C 16; D 14.
Tap to enlarge
Your answer
Answer & solution

Official answer: D

1. Without restrictions, the four distinct shirts can be assigned to four people in 4!=24 ways.

2. Assignments with Arun receiving red number 3!=6. Those with Shweta receiving white also number 6. Subtracting both removes assignments violating both restrictions twice; with those two shirts fixed, the other two have 2!=2 arrangements.

3. Inclusion-exclusion gives 24−6−6+2=14, D. Restoring the overlap is necessary; simply subtracting the two sixes would undercount.

Original paper, page 26 · Answer key