Page 62 - Computing Book 8
P. 62
Programming Robots and Single-Board Computers Class 8
Raspbian OS
Raspbian is a Debian-based (32 bit) computer operating system for Raspberry
Pi. There are several versions of Raspbian including Raspbian Buster and
Raspbian Stretch. Since 2015 it has been officially provided by the Raspberry Pi
Foundation as the primary operating system for the family of Raspberry Pi
single-board computers. The operating system is still under active
development. Raspbian is highly optimized for the Raspberry Pi line's low-performance ARM CPUs.
Raspbian uses PIXEL, Pi Improved X-Window Environment, Lightweight as its main desktop
environment as of the latest update. The Raspbian distribution comes with a copy of the computer
algebra program Mathematica and a version of Minecraft called Minecraft Pi as well as a lightweight
version of Chromium as of the latest version.
Chromium
Wi-Fi/Wireless CPU Usage
Web Browser File Manager
Terminal Bluetooth
Power & Battery
Menu to access
software, tools, and
setting preferences
Python Basics:
Python is a high-level programming language designed to be easy to read and
simple to implement. It is open-source, which means it is free to use, even for
commercial applications. Python can run on Mac, Windows, and UNIX systems.
Running Python Using IDLE- The IDLE interpreter is a sort of “sandbox” where
you can work with Python interactively without having to write whole scripts to
see what they do. The name IDLE stands for Integrated Development
Environment.
You can find IDLE in the taskbar under the label of programming. Follow the
steps to run your first program.
Click on the Raspberry Pi icon in the taskbar and then go to programming and hit
Python 3 (IDLE).
To follow the great programming tradition, let’s start with the first program
every programmer writes in any language, printing the words “Hello World”.
Write print (“hello world”) on IDLE and hit enter. You should immediately be greeted with hello
world.
The City School /Academics/Computing Curriculum/Class 8/2020-2021 Page 61 of 75

