Pergunta de entrevista da empresa Mastercard

They asked to implemente a simple application using any language. Then they started to add for features to the initial application with things that are common used such as connect to a DB and handle errors.