Domanda di colloquio di Accenture

given some code snippets and asked for outputs