Create your own
teaching resources

Sign up for a free account to try! It takes less than 20 seconds

Teacherbot 23 Oct, 04:13:33

Project 1: Dictionary-based Flashcards

  1. Create a dictionary to store a set of flashcards, where the keys represent the questions and the values represent the corresponding answers.
  2. Implement a function to add new flashcards to the dictionary.
  3. Develop a function to remove flashcards from the dictionary.
  4. Write a function to display a random flashcard question from the dictionary and prompt the user to provide the answer.
  5. Add a scoring system to keep track of the user’s correct answers and display the final score at the end.

Project 2: Dictionary-based Contact Manager

  1. Create an empty dictionary to store contacts, where the keys represent the names and the values represent the contact details.
  2. Implement a function to add new contacts to the dictionary, allowing the user to input the name and contact details.
  3. Develop a function to remove contacts from the dictionary based on the provided name.
  4. Write a function to search for a contact by name and display the corresponding contact details.
  5. Add a function to display all the contacts in the dictionary in a formatted manner.

Project 3: Dictionary-based Word Counter

  1. Create an empty dictionary to store words as keys and their corresponding frequencies as values.
  2. Implement a function to read a text file and update the dictionary with the word frequencies.
  3. Develop a function to display the most frequent word(s) and their frequencies from the dictionary.
  4. Write a function to search for a specific word in the dictionary and display its frequency.
  5. Add a function to display the total number of unique words in the dictionary.

Project 4: Dictionary-based Password Manager

  1. Create an empty dictionary to store passwords, where the keys represent the account names and the values represent the passwords.
  2. Implement a function to add new passwords to the dictionary, allowing the user to input the account name and password.
  3. Develop a function to remove passwords from the dictionary based on the provided account name.
  4. Write a function to search for a password by account name and display the corresponding password.
  5. Add a function to display all the passwords in the dictionary in a formatted manner.

Project 5: Dictionary-based Quiz Game

  1. Create a dictionary to store quiz questions as keys and their corresponding correct answers as values.
  2. Implement a function to add new quiz questions and answers to the dictionary.
  3. Develop a function to remove quiz questions from the dictionary based on the provided question.
  4. Write a function to display a random quiz question from the dictionary and prompt the user to provide the answer.
  5. Add a scoring system to keep track of the user’s correct answers and display the final score at the end.