Cyient interview question

Reg project and few technical questions.