Computers and Technology, 16.10.2020 08:01 BookandScienceNerd
The Dictionary is a very powerful data structure. The objective of this programming assignment is to demonstrate proficiency with dictionaries. You are to write a program that manages a dictionary of Frequently Asked Questions (FAQ's). Questions serve as the keys and answers serve as the values. Your program will use a menu driven interface to display the items in the dictionary, add FAQ's and optionally to delete FAQ's. Create a program with a menu that allows the user to do the following:
a. If the question is already in the dictionary, do not overwrite it. Let the user know that the question is already in the FAQ's. Then ask the user to rephrase the question.
b. Otherwise, prompt the user for the answer
c. Add the question/answer pair to the dictionary using the question as the key and the answer as the value.
d. Requirements for Menu Selection 3 (optional):
Note that implementing menu selection 3 is for 10 points extra credit.
Ask the user for the question to be deleted.
Check to see if the question is in the dictionary.
If it isn't, let the user know that the question could not be found and that no changes were made.
Otherwise delete the item from the dictionary and let the user know that the item was deleted.
Answers: 2
Computers and Technology, 22.06.2019 02:00
What is the largest decimal number that can be represented by a binary number with 4 place values? (remember, each place in a binary number has a value of a power of 2, starting in the ones place with 20.)
Answers: 3
Computers and Technology, 24.06.2019 05:50
What all vehicles has tesla inc. created over the years
Answers: 3
Computers and Technology, 24.06.2019 16:00
Your is an example of personal information that you should keep private.
Answers: 2
Computers and Technology, 24.06.2019 20:30
Drums installed, you would apply clicks of the parking brake to obtain a slight drag on both rear wheels
Answers: 1
The Dictionary is a very powerful data structure. The objective of this programming assignment is to...
Arts, 13.12.2020 05:50
Social Studies, 13.12.2020 05:50
Mathematics, 13.12.2020 05:50
Mathematics, 13.12.2020 05:50
Chemistry, 13.12.2020 05:50
Mathematics, 13.12.2020 05:50
Mathematics, 13.12.2020 05:50
Arts, 13.12.2020 05:50
Mathematics, 13.12.2020 05:50
Mathematics, 13.12.2020 05:50
Mathematics, 13.12.2020 05:50