By Hatch Canada • March 2, 2018

What is Computational Logic?

When you learn a foreign language, you need to learn verb tenses. Computational logic skills  are the verb tenses of coding and they consist of: loops, conditionals, arrays, objects, functions,  and variables - the building blocks that allow coders to express themselves properly.  Students learn all of those things in our weekly classes.
For an example, let’s take a closer look at loops.  
Loops allow a computer to do the same thing many times without needing to repeat the  instruction many times. When you are drawing a chessboard, you can give instructions to: 
  • Draw square 1 
  • Draw square 2 
  • Draw square 3 
  • Draw square 64 
Or you can give instructions to: 
  • Draw a square 
  • Do that 8 times on the same row 
  • Draw that same row 8 times for 8 columns 
This “Do that 8 times” is a loop. Computer Science uses a lot of loops because computers are 
very good at repeating the same instruction or set of instructions many times in a row. Thus, 
your child should get really good at understanding and using loops.  
Knowing when to use what computational logic skill is a necessary part of excellent (or effective) 
coding. Coders - and kids learning code both in Toronto and elsewhere -  must know when to use loops, when to use arrays, etc. Failure to understand this logic means hours of slogging and, ultimately, a failure in the development of the coder. Fortunately, most students progress quickly when they're able to focus on projects and be creative.
By learning computational logic skills, our students learn not just to create the best code - but develop skills used in tons of other areas of life and academics. 
Learn More About Weekly Classes
Look At Summer Camp Options