CitiusTech interview question

error and defect difference