No it is not mandatory to give both names in boards exams as the candidates will have the option either to mention the mother's name or the father's name or both into the records of the Board (Certificate, Marks Statement etc.).
You can ask this information to your school management board they will give you advice in this matter.
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile