Activity 01
Pair Programming: Contact Database
Pairs create a dictionary with names as keys and emails as values. They add three entries, retrieve specific values, and handle missing keys with error checks. Pairs then modify one value and print the updated dictionary.
Explain the advantages of using key-value pairs for data storage over indexed lists.
Facilitation TipDuring Pair Programming: Contact Database, circulate to ensure both partners alternate roles between typing and reviewing code.
What to look forPresent students with a scenario: 'You need to store student names and their final grades. Would you use a list or a dictionary? Explain your choice, referencing keys and values.'