Write out a detailed step-by-step plan for your program. The first step in writing a computer program is to create a plan for what you want your program to do. We will also learn about pseudocode, the MakeCode tool, event handlers, and commenting code. In this activity, we will discover how to use the micro:bit buttons as input devices, and write code that will make something happen on the screen as output.
Algorithms are sets of computer instructions. The software “tells” the hardware what to do, and in what order to do it using algorithms. In order to make use of hardware, we need to write software (otherwise known as “code” or computer programs). The micro:bit itself is considered hardware.