Current location - Training Enrollment Network - Mathematics courses - Why are people with "programming thinking" and strong math skills better?
Why are people with "programming thinking" and strong math skills better?
Children with "programming thinking" are excellent because an important thinking ability in programming thinking is algorithm.

This algorithm has a very good role in promoting mathematics learning.

1, algorithm, is based on a series of previous understanding of the problem, design a step-by-step solution path to solve the whole problem. There are two key abilities in solving problems. "Logical thinking" and "debugging and correcting errors".

2. There is a very important principle in logical thinking called MECE (mutual exclusion and collective exhaustion), which means "mutual exclusion and completeness", that is, "no repetition, no omission".

The right picture conforms to MECE principle, but the left picture does not.

MECE principle should be considered everywhere in programming algorithm. The same is true when solving math problems-we must ensure that all situations are taken into account in the answer, and that these situations are neither omitted nor overlapped.

In addition, the programming algorithm will also deal with many logical terms, such as AND, OR and. These operations and thinking are very good logic training for children.

3, debugging and error correction ability

In the world of programming, there are only right and wrong, and there are no vague values. In the process of running the program, as long as the final result does not meet expectations, it proves that there must be errors and omissions in the algorithm.

However, bugs in the program are often not found at once, so we need to observe the running results of each step step step by step according to the running order of the program. This requires a lot of patience, observation and concentration, and it is also a kind of training for children's ability to resist setbacks. In this process, children will gradually understand a truth: it is normal to make mistakes, correct it, but don't make similar mistakes again next time.