Programming Concepts¶
Watch thevideo 2.2.1 Sequence, Selection and Iteration - Revise GCSE Computer Science.
Goal: You can explain what sequence, selection (condition) and iteration (loop) are, and recognize them in each of the processes in Exercise 3.
Package manager & terminal¶
We will use a package manager to install software in this course . A package manager is similar to an app store.
We will use winget in Windows and Homebrew in MacOS. Most Linux distributions have their own package manager.
Winget is built-in in Windows, but Homebrew must be installed on MacOS.
Opening a terminal¶
We will use a terminal to install software. So you should now how to open a terminal.
Press the Windows key
Type
cmd. A black terminal window should pop up.
Refer to the Open or quit Terminal on Mac in the official Terminal User Guide.
CtrlAltT should open a terminal on many desktop environments.
Homebrew installation¶
Open a terminal.
Copy the command for installing Homebrew from their website.
Paste the copied command into the terminal you opened and then press Enter.
VSCodium¶
We will use VSCodium as coding tool[1]. Use your terminal to install VSCodium:
If you run into problems, take a look at https://
We will install additional tools later.
VSCodium is based on Visual Studio Code (VS Code).We use VSCodium instead of VS Code, because it does not recommend installing extensions like Copilot and chat assistance as default. In turn, some Microsoft extensions likeCopilot is only available for VS Code.
This deliberate choice is to avoid distractions and to focus on the learning goals we want to reach.