Skip to content

ComputationalThinking-Springer/FirstAlgorithmsThenCode

Repository files navigation

Computational Thinking - First Algorithms, Then Code

This project contains the implementation in Python 2.7 of the algorithms described in the book "Computational Thinking - First Algorithms, Then Code" authored by Paolo Ferragina and Fabrizio Luccio, and published by Springer (2018).

The source codes of these algorithms are contained in the directories chapter_X_titles, with a clear reference to the corresponding chapter. They include a list of files whose name match the names of the algorithms in the book.

The algorithms can be run via the page https://www.tutorialspoint.com/execute_python_online.php, see the tutorial for more information Tutorial Python Online.pdf. In particular, the fastest way to run the algorithms is to just copy-and-past the code you want to run in the main.py page of that virtual terminal, and then click the button Execute (upper left). This mode does not work when the Python code is importing other codes using the keyword import (just few examples in the book). In this case, you can still use that virtual terminal but you need to copy-and-past in main.py both the desired algorithm and the content of the imported file.

You can run the algorithms also on your computer by downloading the software Anaconda with Python 2.7 form the link https://www.continuum.io/downloads. More details in the tutorial Tutorial Anaconda.pdf

The authors thank Riccardo Guidotti for the set up of this web page and the implementation in Python of the algorithms shown in the book.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages