Cisco interview question

Logic based questions