Computers and Technology

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.

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 17:00, DRock4976
Which of the following is not contained on the slide show toolbar? a. next button b. slide button c. close button d. pen too
Answers: 2
image
Computers and Technology, 23.06.2019 16:10, alexis9658
What is the ooh? a. omaha occupation handbook b. online occupational c. occupations online d. occupational outlook handbook select the best answer from the choices provided
Answers: 3
image
Computers and Technology, 23.06.2019 21:00, kkpsmith
Alcohol’s affects on the cornea and lens of the eye make it more difficult
Answers: 1
image
Computers and Technology, 23.06.2019 23:30, ayjahj
What can you prevent issues related to downloading content form the internet
Answers: 1
Do you know the correct answer?
The purpose of this assignment is to practice different operations regarding the list. You will have...

Questions in other subjects: