Write a Z schema called SELF_TEST that tests the hardware components of the insulin pump and sets the value of the state variable HardwareTest?. Then modify the RUN schema to check that the hardware is operating successfully before any insulin is delivered. If not, the dose delivered should be zero and an error should be indicated on the insulin pump display.

What will be an ideal response?



The RUN schema should be modified to check that HardwareTest? is true before

continuing operation.

Computer Science & Information Technology

You might also like to view...

__________ means take an element off the top of the stack.

A. Poke B. Peek C. Push D. Pop

Computer Science & Information Technology

Human ________ describes the various ways in which technology can be integrated with biological systems to repair or improve human functions.

A. robotics B. empathy C. enhancement D. intelligence

Computer Science & Information Technology