A candidate is required to answer 7 questions out of 12 questions which are divided into two groups, each containing 6 questions. He is not permitted to attempt more than 5 questions from either group. In how many ways can he choose the 7 questions ?
Total number of questions = 12
Total number of questions to be answered = 7
Each group has 6 question (6+6) more than 5 question from either group is not perimetted, therefore the number of ways a student can choose questions can be done in following ways.
6C2×6C5×6C4×6C4×6C3×6C3×6C5×6C2=2(6C2×6C5×6C3×6C4)=2(6!2!4!×6!5!1!+6!3!3!×6!4!2!)=2(6×5×62+6×5×4×6×53×2×2)=2×6×5×62(1+206)=180(266)=30×26=780
= 780 ways