Question: 10. Given the codes as shown below: (10 marks) noPB is a NO pushbutton. redLED is a LED light Both memBit1 and memBit2 are bits

10. Given the codes as shown below: (10 marks)

10. Given the codes as shown below: (10 marks) noPB is a NO pushbutton. redLED is a LED light Both memBit1 and memBit2 are bits in global memory zone. Initially the noPB is in normal status, both memory bits have a value, and the LED light is off. Expect the LED light's status (on or off) under the specified sequential conditions. Network 1: "noPB *mem Bit1 "redLED memBit2 "redLED Network 2: "noPB* HE "redLED HH "memBit1 HT "memBit2 + Network 3: *noPB *memBit1 ON/OFF Answering by highlighting or circling ON or OFF below: Pressing noPB the 1st once (pressing and quickly releasing), redLED is: Pressing noPB the 2nd once (pressing and quickly releasing), red LED is: Pressing noPB the 3rd once (pressing and quickly releasing), redLED is: Pressing noPB the 4th once (pressing and quickly releasing), redLED is: ON/OFF ON/OFF ON/OFF

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!