Not sure I'm fully understanding it but let's say it's 5 'levels' or characters and in each level you can pick correctly or incorrectly and then it moves onto the next question. Each question is represented by a row in the array so 0, 1, 2, 3, 4 are the questions and correct is at Y=0 and incorrect is at Y=1.
You would have a question number variable which starts q=0.
Then the logic is, whenever a player selects a colour, if correct add 1 to array.at(q,0), if incorrect add 1 to array.at(q,1)
Then when the question is over you add 1 to q.
So your array corresponds in this way
question 1 | 0,0 | 0,1
question 2 | 1,0 | 1,1
question 3 | 2,0 | 2,1
question 4 | 3,0 | 3,1
question 5 | 4,0 | 4,1