0
0
SCADA systemsdevops~10 mins

Communication network topology in SCADA systems - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to define a star topology where all nodes connect to a central hub.

SCADA systems
topology = {'hub': ['node1', 'node2', 'node3'], 'type': '[1]'}
Drag options to blanks, or click blank then click option'
Aring
Bmesh
Cstar
Dbus
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing 'ring' or 'bus' which connect nodes differently.
2fill in blank
medium

Complete the code to add a new node to a mesh topology.

SCADA systems
mesh_nodes = ['node1', 'node2', 'node3']
mesh_nodes.[1]('node4')
Drag options to blanks, or click blank then click option'
Aappend
Bremove
Cpop
Dclear
Attempts:
3 left
💡 Hint
Common Mistakes
Using remove() or pop() which delete elements.
3fill in blank
hard

Fix the error in the code to correctly check if a node is in a bus topology.

SCADA systems
bus_nodes = ['node1', 'node2', 'node3']
if 'node4' [1] bus_nodes:
    print('Node found')
Drag options to blanks, or click blank then click option'
Anot in
Bin
Cis
D==
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'is' or '==' which compare identity or equality, not membership.
4fill in blank
hard

Fill both blanks to create a dictionary comprehension mapping nodes to their connection count in a mesh.

SCADA systems
connections = {node: len([1]) for node in [2]
Drag options to blanks, or click blank then click option'
Amesh_nodes
Cbus_nodes
Dstar_nodes
Attempts:
3 left
💡 Hint
Common Mistakes
Using different node lists causing wrong counts.
5fill in blank
hard

Fill all three blanks to filter nodes with more than 2 connections in the topology dictionary.

SCADA systems
filtered = {node: count for node, count in topology.[1]() if count [2] [3]
Drag options to blanks, or click blank then click option'
Aitems
B>
C2
Dkeys
Attempts:
3 left
💡 Hint
Common Mistakes
Using keys() which returns only keys, not pairs.