Great Learning interview question

Situation based questions related to program handling.