Complete the code to define a basic process mimic element.
element = {'type': [1], 'id': 'pump1', 'status': 'off'}The element type 'pump' correctly represents a pump in a process mimic diagram.
Complete the code to set the status of the valve to open.
valve = {'type': 'valve', 'id': 'valve1', 'status': [1]The status 'open' correctly indicates the valve is allowing flow.
Fix the error in the mimic element definition to correctly represent a sensor.
sensor = {'type': [1], 'id': 'temp1', 'value': 75}The type must be 'sensor' to represent a sensor element correctly.
Fill both blanks to create a mimic element with an ID and status.
element = {'type': 'controller', 'id': [1], 'status': [2]The ID 'ctrl1' is a valid controller ID and status 'off' means it is inactive.
Fill all three blanks to define a mimic element with a type, ID, and status.
element = {'type': [1], 'id': [2], 'status': [3]The element is a valve with ID 'pump1' (example ID) and status 'on' meaning active.
