Branch interview question

Questions asked were Scenario based