1. Computer is an electronic device which is capable of receiving information (data) in a particular form and of performing a sequence of operations in accordance with…