An encryption-decryption system consists of three elements: encode, transmit, and decode. A faulty encode occurs in 0.5% of the messages processed, transmission errors occur in 1% of the messages, and a decode error occurs in 0.1% of the messages. Assume the errors are independent.
(a) What is the probability of a completely defect-free message?
(b) What is the probability of a message that has either an encode or a decode error?