Description
Instructions Please read the the following instructions carefully before coding. You may lose points if you fail to follow these instructions. • Deadline for this assignment is Dec 13, 11:59PM. No late submissions accepted. • You will need create a sub-folder for each question, since your answers to first two questions will have a complicated directory structure. Note: Please rename your folder in the right way before zipping! For example, if your name is Ying Lu and your student ID is 111345678, put all submission files in a folder named Ying_Lu_1112345678, then compress that folder to Ying_Lu_1112345678.zip.
1 Delete Functionality for Wiki[30 points] Your task in this question is to add a remove page to the Flask example provided in Lecture 22 such that the users are able to remove an article
2 Text Analyzer[40 points] Write a Flask application that can be used to analyze a given text. The user should be able to enter a text, and pick an operation to perform on the text. Once the user clicks submit, your application should redirect to /result/
3 GUI Programming [30 points + 10 bonus points] An Improved Phonebook[30 points]
The phonebook example we have seen in the class can be further improved to be more user-friendly. For example, it can store more information related to the users, and there could be a separate window for each and every functionality. Your task in this question is to implement a multi-window phonebook with additonal functionality. Figure 2 provides the windows your application should feature. Your application does not have to look exactly the same as the examples presented below, however, it should implement the same functionality. You should check for empty inputs in all screens, and display message boxes to the user in the even of invalid input and successful record creation/deletion. Bonus [10 points]: Add another functionality(and the corresponding button/window in the application) to list all existing records to the user. Your window size should change according to the number of records.
1
Figure 1: Sample Input Form for Question 2.
(a) Main Screen (b) New Record Screen (c) Search Screen
(d) Delete Screen
Figure 2: Pictures of animals