Computer Science · May / June 2017 · Paper 2 HL · Question 5
Adapt for 2027Only the 2D array parts and (e) algorithm fit B2.2.2; spreadsheet macro and model vs simulation not in 2027.
IBCS
As printed in the paper
The question as text
5. A local sports league arranges a series of games between four teams over one year. Each team plays every other team 10 times. Using the number of games won and lost in previous years, a table of probabilities is calculated and held in an array PROB. The contents of PROB is represented by the following diagram. PROB 1 2 3 4 1 0.5 0 0.5 2 0.2 0.8 0.5 3 0.9 0.1 0.4 4 0.3 0.5 0.4 The content of PROB[2, 3] is 0.8 and indicates that the probability of team 2 winning against team 3 is 0.8. For the 10 games played between these two teams it is likely that team 2 will win 8 of them.
Read automatically from the paper; the printed page above is exact.
Show the answer and mark scheme
5(a)[1]
5(b)[2]
5(c)[1]
5(d)[3]
5(e)[4]
5(f)[4]
5(g)[4]
Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.

