1. Scroll Text Code Ordering

1.1. Question 1

Put the lines of code in order to scroll the word “Hello” across the micro:bit screen.
Drag and drop lines into the correct order and click to adjust indentation:
while True:
display.scroll("Hello")
from microbit import *

1.2. Question 2

Put the code snippets in order to create a program that scrolls a single whole integer number, followed by some text, inside an ongoing loop.
Drag and drop lines into the correct order and click to adjust indentation:
display.scroll(5)
from microbit import *
display.scroll("houses")
while True:

1.3. Question 3

A student wants to adjust how fast their text slides across the display panel.
Arrange the code segments below to scroll the first text fast and then the second text slowly.
Drag and drop lines into the correct order and click to adjust indentation:
while True:
display.scroll("Slow", 200)
display.scroll("Fast", 50)
from microbit import *

1.4. Question 4

Order the lines below to build a script that stores a player’s name and goals scored, and then continuously scrolls them on the LED panel with a delay of 1 second after each loop.
Drag and drop lines into the correct order and click to adjust indentation:
goals = 19
display.scroll(player)
while True:
display.scroll(goals)
player = "Donatello"
sleep(1000)
from microbit import *

1.5. Question 5

Rearrange the code segments to create a variable stats display tracker.
The micro:bit should scroll the text label “Runs=” at a rapid pace of 50 milliseconds, and then scroll the numeric score variable value right after it.
Drag and drop lines into the correct order and click to adjust indentation:
display.scroll("Runs=", 50)
display.scroll(runs)
from microbit import *
runs = 952
while True: