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 13:30
Drag the tiles to the correct boxes to complete the pairs. match the errors with their definitions. #name #value #ref when a formula produces output that is too lengthy to fit in the spreadsheet cell arrowright when you enter an invalid cell reference in a formula arrowright when you type text in cells that accept numeric data arrowright when you type in a cell reference that doesn’t exist arrowright reset next
Answers: 1
question
Computers and Technology, 24.06.2019 01:00
What are two ways to access the options for scaling and page orientation? click the home tab, then click alignment, or click the file tab. click the file tab, then click print, or click the page layout tab. click the page layout tab, or click the review tab. click the review tab, or click the home tab?
Answers: 2
question
Computers and Technology, 24.06.2019 02:20
Peter is thinking of a number which isless than 50. the number has 9 factors.when he adds 4 to the number, itbecomes a multiple of 5. what is thenumber he is thinking of ?
Answers: 1
question
Computers and Technology, 24.06.2019 10:00
Which feature of a blog to restore and retrieve older post
Answers: 3
You know the right answer?
The purpose of this assignment is to practice different operations regarding the list. You will have...
Questions
question
Computers and Technology, 16.12.2020 06:20
question
Mathematics, 16.12.2020 06:20
question
Mathematics, 16.12.2020 06:20
question
English, 16.12.2020 06:20
question
Biology, 16.12.2020 06:20
question
Mathematics, 16.12.2020 06:20
question
Mathematics, 16.12.2020 06:20
Questions on the website: 13722367