Question d’entretien chez Cisco

Two logic design questions. Implementation of a module that does some task.