This booklet was created by the Computer Science for Fun team (Paul Curzon, Peter McOwan and Jonathon Black), for a Junior School project on artificial intelligence. Its articles include:
• The history of ‘living dolls’
• How we recognise intelligence - which animals / machines are clever?
This guide, for more advanced users of LINUX, shows how BASH scripts can be used for operations on strings and for arithmetical operations. The syntax for BASH is clearly explained.
This introductory guide explains how to use the LINUX shell known as BASH (Bourne Again Shell). BASH is useful for linking together various programs for creating innovative solutions, and can unleash the power of a Raspberry Pi.
The guide covers running BASH, the syntax used, how to chain together commands, and...
This intermediate-level guide shows how BASH scripts can be used to handle files and to integrate other programming languages such as Perl. String manipulation features heavily in the exercises. A challenge is set to use a Python program along with a shell script.
This booklet is filled with examples of how scientists are combining Computing and Biology. There is a web address and QR code next to every summary so that students can follow the link and find out more.
The BrickPi is an interface between the Raspberry Pi and LEGO Mindstorms or EV3 sensors and motors, a portable power source for the Raspberry Pi, and a case that allows you to attach LEGO motors, beams, sensors, and other parts.
This resource includes guidance on setting up and programming the Raspberry Pi to...
This guide shows how the BrickPi can enable novice programmers to use Scratch to control complex robots and models.
The instructions need to be followed using Scratch on the Raspberry Pi computer. The resulting programs use different input and output devices, including touch and colour sensors and motors.
This introductory article shows working examples of basic Python programs. It includes:
• Printing to the screen
• Simple arithmetic
• Using variables
• Strings and string arrays
• For and While loops
• Random numbers from the Random library
• Creating a simple game with Pygame
This article includes all the code needed to make a simple game which captures keyboard events and uses multimedia. It uses the Pygame library, and includes graphics control and basic collision detection.
The activity is suitable as an introduction to programming with Python, or as a fully working program that...
This activity follows on from a previous graphics surface project. Previously a single graphics surface was created - this Python program uses multiple surfaces to build more complex graphics and to create effective animations.
Students are encouraged to experiment with the behaviour of the program, and to extend...