Cyient Interview Question

Reg project and few technical questions.