Given as
The total number of questions = 10
The questions in part A = 6
The questions in part B = 7
The number of ways = (No. of ways of answering 4 questions from part A and 6 from part B) + (No. of ways of answering 5 questions from part A and 5 questions from part B) + (No. of ways of answering 6 questions from part A and 4 from part B)
= (6C4 × 7C6) + (6C5 × 7C5) + (6C6 × 7C4)
On using the formula,
nCr = n!/r!(n – r)!
= (15 × 7) + (6 × 21) + (1 × 35)
= 105 + 126 + 35
= 266
Hence, the total no. of ways of answering 10 questions is 266 ways.