Five students of a government hostel in Karnataka were electrocuted by a high tension wire while trying to bring down the Indian flag after Independence Day.