0
0
SCADA systemsdevops~10 mins

Automatic vs manual mode switching in SCADA systems - Interactive Practice

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

Complete the code to set the system to manual mode.

SCADA systems
system.mode = '[1]'
Drag options to blanks, or click blank then click option'
Aauto
Bautomatic
Cmanual
Dmanual_mode
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'auto' instead of 'manual'
Adding extra words like 'manual_mode'
2fill in blank
medium

Complete the code to check if the system is in automatic mode.

SCADA systems
if system.mode == '[1]':
Drag options to blanks, or click blank then click option'
Aautomatic
Bmanual
Cauto
Dmanual_mode
Attempts:
3 left
💡 Hint
Common Mistakes
Checking for 'auto' instead of 'automatic'
Using 'manual' by mistake
3fill in blank
hard

Fix the error in the code to switch to automatic mode.

SCADA systems
system.set_mode([1])
Drag options to blanks, or click blank then click option'
Aautomatic
B'automatic'
C'manual'
Dauto
Attempts:
3 left
💡 Hint
Common Mistakes
Passing automatic without quotes
Using 'auto' instead of 'automatic'
4fill in blank
hard

Fill both blanks to create a function that toggles between automatic and manual modes.

SCADA systems
def toggle_mode(system):
    if system.mode == '[1]':
        system.mode = '[2]'
Drag options to blanks, or click blank then click option'
Aautomatic
Bmanual
Cauto
Dmanual_mode
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'auto' or 'manual_mode' instead of correct strings
5fill in blank
hard

Fill all three blanks to complete the code that sets mode based on a condition.

SCADA systems
def set_mode(system, auto_enabled):
    system.mode = '[1]' if [2] else '[3]'
Drag options to blanks, or click blank then click option'
Aautomatic
Bauto_enabled
Cmanual
Dmanual_mode
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'manual_mode' instead of 'manual'
Using wrong condition variable