1. 2. An instruction is a command given to the computerto perform a specified operation on a given data. To perform a particulartask a programmer writes a sequence of…