Practice - 5 Tasks
Answer the questions below
1fill in blank
easyComplete the code to define a basic process mimic element.
SCADA systems
element = {'type': [1], 'id': 'pump1', 'status': 'off'} Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing 'sensor' or 'valve' which represent different devices.
✗ Incorrect
The element type 'pump' correctly represents a pump in a process mimic diagram.
2fill in blank
mediumComplete the code to set the status of the valve to open.
SCADA systems
valve = {'type': 'valve', 'id': 'valve1', 'status': [1] Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'closed' or 'off' which mean the valve is not open.
✗ Incorrect
The status 'open' correctly indicates the valve is allowing flow.
3fill in blank
hardFix the error in the mimic element definition to correctly represent a sensor.
SCADA systems
sensor = {'type': [1], 'id': 'temp1', 'value': 75} Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'pump' or 'valve' which are not sensors.
✗ Incorrect
The type must be 'sensor' to represent a sensor element correctly.
4fill in blank
hardFill both blanks to create a mimic element with an ID and status.
SCADA systems
element = {'type': 'controller', 'id': [1], 'status': [2] Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using valve ID for controller or wrong status values.
✗ Incorrect
The ID 'ctrl1' is a valid controller ID and status 'off' means it is inactive.
5fill in blank
hardFill all three blanks to define a mimic element with a type, ID, and status.
SCADA systems
element = {'type': [1], 'id': [2], 'status': [3] Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing types and IDs or using incorrect status values.
✗ Incorrect
The element is a valve with ID 'pump1' (example ID) and status 'on' meaning active.