Data structures

EasyMedium
1234567891011121314151617181920212223
Question 15
Easy

Refer to the following Python program:

devices = ["Router", "Switch", "Hub", "Bridge", "Server"]
found = False
search_item = "Hub"
for i in range(len(devices)):
    if devices[i] == search_item:
        found = True
        print("Device found at index", i)

State the type of data structure represented by the variable devices.

[1]

Data structures Questions

  1. GCSE
  2. /Computer Science
  3. /Data structures