Skip to content
MathsGenie logo
Open app

Course home

  1. GCSE
  2. Computer Science Edexcel
  3. Question bank

Computational thinking

EasyMediumHard
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
Question 34

Refer to the Python code below.

1      # ----- Global variables -----
2      VENT_SIGNALS = ["Alpha-7", "Beta-9", "Gamma-3", "Delta-1", "Epsilon-5", "Zeta-2"]
3
4      # ----- Subprograms -----
5      def monitor_transmission(signals):
6          for k in range(0, len(signals)):
7              print("Channel", k, ":", signals[k])
8
9      # ----- Main Program -----
10     request = input("Initiate telemetry review? ")
11     if (request == "PROCEED") or (request == "P"):
12         monitor_transmission(VENT_SIGNALS)
13     else:
14         print("Monitoring offline")

State the value of VENT_SIGNALS[4].

[1]

Computational thinking Questions

  1. GCSE
  2. /Computer Science
  3. /Computational thinking