Tech Mahindra interview question

Provide functional test case on pen