Refer to the following algorithm written in pseudocode/Python-style code:
1 # ==========================================
2 # Telemetry Signal Processing
3 # ==========================================
4 packets = [104, 112, 98, 121, 105]
5 threshold = 100
6
7 for value in packets:
8 if value < threshold:
9 print("Signal strength low: " + str(value) + " dBm")
10
11 confirm = input("Proceed with transmission reset? (Y/N): ")
12 while confirm not in ["Y", "N", "y", "n"]:
13 print("Invalid response. Please enter Y or N.")
14 confirm = input("Proceed with transmission reset? (Y/N): ")
15
16 print("Command processed successfully.")
Give the line number where the condition-controlled loop begins.
50 exam-style questions on Edexcel GCSE Computer Science Constructs, covering Structural components of programs and Writing programs with control constructs. Each one has a worked solution and a mark scheme showing where the marks go.