A powerful tool for solving problems is to transform a given problem into another one that is easier to solve, or that we already know how to solve. Then, from the solution to that new problem, we can give the solution to the former one.
This is such a case.
We know that we have 40 elements in total (40 true/false questions). We also know that 17 questions must be answered as true.
Let’s assume that 1 way that questions can be positioned is to have the 17 that are true first. In other words, questions 1 from 17 are true. The rest of the questions are false.
If we consider the index of the questions (1 to 17 and 18 to 40), we can see that they form a 17-combination of the first 40 integer numbers.
Why a combination and not a permutation?
As we are considering keys to answers (and not the questions), the order does not matter.
Let’s see a reduced example.
We have three questions. Q1 and Q2 are true, and Q3 is false.
We can order them as follows:
- Q1, Q2, Q3. TTF
- Q1, Q3, Q2. TFT
- Q2, Q1, Q3. TTF
- Q2, Q3, Q1. TFT
- Q3, Q1, Q2. FTT
- Q3, Q2, Q1. FTT
Notice how key 1 and 3 are the same. Also, 2 and 4 are the same.
So, to find the answer we must calculate C(40,17).
C(40,17)= 40!/17!(40-17!)=40!/17!23!= 88732378800
Answer:
There are 88732378800 possible different answer keys.
Related exercises:
- List all the permutations of {a, b, c}.
- Let S = {1,2,3,4,5}. List all the 3-permutations of S. List all the 3-combinations of S.
- How many different permutations are there of the set {a,b,c,d,e,f,g}?
- How many permutations of the letters ABCDEFG contain
- In how many ways can a set of five letters be selected from the English alphabet?
- How many bit strings of length 10 contain
- How many possibilities are there for the win, place, and show (first, second, and third) positions in a horse race with 12 horses if all orders of finish are possible?