If you want your child to develop computational thinking then follow these four steps:
Decomposition
Pattern recognition
Abstraction
Algorithm design