Murphy's Laws of Computing 1. When computing, whatever happens, behave as though you meant it to happen. 2. When you…