Before proceeding towards detailed programming, there are few pre-requisites and basic concepts that are really important & need to be…