Teaching A Computer To Count Logically

By on Jun 7, 2018 in Blog |

Coding a programme that gets a computer to count from 1 to 100 is a challenge for many beginner programmers, but Ben W in Nexus 8 has risen to the challenge in an exceptional style. Rather than resort to using a programming language like Python or Scratch, Ben decided to try and complete this task using nothing but logic gates, which are the fundamental constituents of computer chips.

By going to first principles, Ben was able to use a combination of AND, OR, NOR and XOR gates to count from 1 to 100 after a switch is pressed. Ben faced a number of challenges in his design, not least finding a way to delay the response of the gates so that each increment took 1 second. Ben was particularly proud that he found a way to convert the counter from binary to base 10 numbers.

Nexus students have the time and the space to explore beyond the curriculum and we are delighted that so many of our students take the opportunity to delve into their areas of interest with such enthusiasm. We are certain that the problem solving skills that Ben has begun to develop in his project will help him stand head and shoulders above the crowd in a competitive market for future careers.