logo Use CA10RAM to get 10%* Discount.
Order Nowlogo

write a program that manages a dictionary of Frequently Asked Questions (FAQ\'s).

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

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: FAQs When displaying the FAQ's, neatly display the questions and answers paired together as in this example:

FAQs Requirements for Menu Selection 2: 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. Otherwise, prompt the user for the answer Add the question/answer pair to the dictionary using the question as the key and the answer as the value. 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.

 

Related Questions

. Introgramming & Unix Fall 2018, CRN 44882, Oakland University Homework Assignment 6 - Using Arrays and Functions in C

DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma

. The standard path finding involves finding the (shortest) path from an origin to a destination, typically on a map. This is an

Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t

. Develop a program to emulate a purchase transaction at a retail store. This program will have two classes, a LineItem class and a Transaction class. The LineItem class will represent an individual

Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th

. SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

. Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Um e HaniScience

710 Answers

Hire Me
expert
Muhammad Ali HaiderFinance

618 Answers

Hire Me
expert
Husnain SaeedComputer science

548 Answers

Hire Me
expert
Atharva PatilComputer science

946 Answers

Hire Me

Get Free Quote!

410 Experts Online