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, 23.06.2019 06:30
To become an audio technician, the most successful tactics might include the following. (select all that apply). learning how to persuade other people gaining different types of experience in audio technology learning as much as possible about art history establishing a reputation as a reliable professional
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
What does the level 1 topic in a word outline become in powerpoint? a. first-level bullet item b. slide title c. third-level bullet item d. second-level bullet item
Answers: 1
question
Computers and Technology, 24.06.2019 07:00
You are most likely to automatically encode information about
Answers: 1
question
Computers and Technology, 24.06.2019 13:30
Type the correct answer in the box. spell all words correctly. what is the default margin width on all four sides of a document? by default, the document has a margin on all four sides.
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
Mathematics, 29.07.2019 18:30
question
Geography, 29.07.2019 18:30
question
Mathematics, 29.07.2019 18:30
Questions on the website: 13722367