Question d’entretien chez Seagate Technology

- Write a function of code by hand to accept an error code as a parameter and return its corresponding expected message, given a tables of codes and messages. - Write truth tables for 'and', 'xor', and 'exclusive or'. Then a practice problem about error codes and using boolean algebra to find expected results.

Réponse à la question d'entretien

Utilisateur anonyme

21 mars 2014

Create a map (or in Python, a dictionary) and populate it with key and value pairs, then just use the map's get function to get the value given the key parameter.