subject

The purpose of this assignment is to practice different operations regarding the list. You will have to call list methods to perform various manipulation of a list. We will also use tuples in this assignment, even though we have talked about it formally. You will use a limited number of features of the tuple (e. g., print an element of a tuple, retrieve an element from a tuple). All of those are identical to those of lists. This assignment is partially built on the last few assignments. We are using a menu system again. [2] Description: You are supposed to implement a faculty directory system. Each faculty has a faculty ID (3-digit integer), last name, first name, and an email address. The system should allow the users to conduct the operations listed in the sample program. After each operation, the system will print out the updated records. [3] Requirements: To implement the directory, you need to maintain a list of tuples. You will implement a menu function similar to the one you did in a previous assignment. Also, the main program should essentially have a loop with a lengthy if-elif-else statement. Each of the "cases" in the if-statement should essentially be a function call to perform a task. When possible, call the existing list methods instead of writing your own. You can do what is asked in a few calls to the existing list methods in all cases. If you take out the main program, the menu function, and the list's initialization, the rest of the program will be about 30-40 lines in length. Initialize the list using the five records in the sample output. [3] Output: A sample output is given below. Please note that the output is only ONE of the possible ways to test the program. The TA will test the programs differently from what is shown. You should first make sure the program works in this test case. [4] Challenges: In most database systems, there should not be duplicated records with the same key. The Id in this assignment is supposed to be the key. However, I do not require enforcement. If you have time left, see if you can add that to the program. Also, it would be nice to have a warning message if one tries to delete a non-existing record. There is one case in the sample output. No extra points, but you can feel proud of yourself.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 08:00
What is the first step in creating a maintenance ?
Answers: 2
question
Computers and Technology, 23.06.2019 11:50
While preforming before operation pmcs, you notice the front right tire appears slightly under-inflated. what is the proper action?
Answers: 3
question
Computers and Technology, 23.06.2019 14:30
Norder to receive financial aid at his vocational school, mario must fill out the fafsa. the fafsa is a form that must be completed to determine . in order to complete a fafsa, you must submit . the fafsa can students obtain
Answers: 2
question
Computers and Technology, 23.06.2019 17:00
The more powerful, 60 volt cables and the main power shut-off on an hev are both colored orange.
Answers: 1
You know the right answer?
The purpose of this assignment is to practice different operations regarding the list. You will have...
Questions
question
Chemistry, 30.01.2020 22:02
Questions on the website: 13722359