- 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.
Anonymous
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.
Check out your Company Bowl for anonymous work chats.