## Python Trace Tables

The ability to trace the values of variables during program execution is a great aid in ensuring your code is doing what it is supposed to do and in avoiding logic errors...

Explore algorithms using the Python programming language.

The ability to trace the values of variables during program execution is a great aid in ensuring your code is doing what it is supposed to do and in avoiding logic errors...

Click on the canvas to refresh the animation I wanted to make a visualization for an algorithmic problem involving backtracking when I noticed the solution was remarkably similar to Bubble Sort. As...

Divide and Conquer is a very powerful technique for solving computational problems. In the last article in this series, we looked at decrease and conquer, which is included by some authors under...

This article is about computational thinking. Before we dive in though, check out this puzzle: The Ferrying Soldiers Puzzle A troop of 20 soldiers must cross a river with with no bridge....

Many computational problems can be solved by trying all possible candidate solutions until the correct solution to the problem is found. This approach is often called Exhaustive Search or Brute Force Search....

I am a firm believer in offering a wide variety of perspectives on the topics I teach in Computer Science. I also like to make connections between Computer Science and other subjects....

The stack is a wonderfully simple data structure which despite its simplicity makes many powerful algorithms possible. Some of the uses for a stack data structure in software development are: The Depth-First...

This article is about a classic challenge that is often given in Python coding interviews. There are several different approaches you could take, but the aim is to come up with a...

Here’s a python programming challenge for you to help you develop your problem solving and algorithmic thinking skills. Find the position of the maximum value in a Python list of integers. Some...

One of the great things about Python Turtle Graphics is how it gives you instant visual feedback on what you program is doing. This makes it a very powerful tool for exploring...

© 2019 Compucademy™ All Rights Reserved. Terms and Conditions