There are 10 true-false questions. For 4 of them, the student guesses correctly with probability 43, and for the remaining 6, the probability of a correct guess is 41.
We need P(exactly 8 correct out of 10).
Let X = number of correct answers among the 4 questions (probability 43 each).
Let Y = number of correct answers among the 6 questions (probability 41 each).
We need P(X+Y=8)=∑iP(X=i)⋅P(Y=8−i).
Since X≤4 and Y≤6, we need i≥2 and 8−i≤6, so i≥2. Also i≤4.
Case i=2, Y=6:
P(X=2)=(24)(43)2(41)2=6⋅169⋅161=25654
P(Y=6)=(66)(41)6=40961
Product: 25654⋅40961=41054
Case i=3, Y=5:
P(X=3)=(34)(43)3(41)1=4⋅6427⋅41=256108
P(Y=5)=(56)(41)5(43)1=6⋅10241⋅43=409618
Product: 256108⋅409618=4101944
Case i=4, Y=4:
P(X=4)=(43)4=25681
P(Y=4)=(46)(41)4(43)2=15⋅2561⋅169=4096135
Product: 25681⋅4096135=41010935
Total probability: 41054+1944+10935=41012933
We are told this equals 41027k.
27k=12933
k=2712933=479
The correct answer is 479.