Test or be square! – Testing through the lens of a 12 year old

A while back, my mom had mentioned that Dara, my oldest niece, who is about to turn 12 soon, had started a computer science class at school and was having some problems with C++ programming that no one in the family could help her with. So, when I was at home visiting them a few months ago, I asked Dara if she wanted me to see if I can help her with that, and she mentioned she had problems understanding arrays.

We went through what the teacher had told them and I did my best to explain them a bit better and give her some examples, which seemed to have helped. However, I suggested that we try to do one of her homework exercises together and asked her if she had any that we could look at. She told me about this website that is used by students all over Romania (http://campion.edu.ro/) which has programming exercises grouped by age/level and by the topic they cover, and that there are a few there that their teacher had suggested they try if they want to practice the use of arrays. So we chose the first one.

Here’s what it said:

Ana and Maria are playing a game with cards with 5 digit numbers written…