Assignment Details:
Write a program to track and maintain a user’s revision history of English words and save the history in a file named “history.txt”. The program has two main data manipulation tasks:
• Add a word into “history.txt”: if the word does not exist in the history, add this word and one example sentence; otherwise, display the existing example sentence(s) and give the user an option to add one example sentence.
• Revise a word in “history.txt”: Display the chosen word and associated example sentence(s). The user has the option to choose the word based on the latest revision time or the number of revisions made to the word.
(a) Develop your code in “gba.py” and apply functions to organize your code. Note that third-party library is not allowed. The program should have sufficient comments to describe the corresponding code steps and logics.
(i) Provide in the report the screenshots of the output when testing your code in each scenario of the two tasks. (10 marks)
(ii) Submit to Canvas your code “gba.py” and the generated history file “history.txt”. (50 marks)
(b) Describe your functions using the following table template. Note that the information in the table is for illustration purpose only.

(c) Analyse the logic and flow of the task “adding a word”, and describe the steps using a flowchart. (15 marks)
(d) Suggest some other features you think could be useful to help the user track the revision history of English words. Describe your proposed solution. (15 marks)
Stuck with a lot of homework assignments and feeling stressed ? Take professional academic assistance & Get 100% Plagiarism free papers
Looking for best computer science homework writings? Then come at SingaporeAssignmentHelp.com and get rid of all your worries. We have the best writing team working for the learners and support them deliver the best assignment help services online.
Looking for Plagiarism free Answers for your college/ university Assignments.
- EAC3046-N Power Electronics and Drive Systems In-Course Assessment Brief 2026 | TU
- FMT313 Building Information Modelling for Facilities Management Tutor-Marked Assignment Two 2026 | SUSS
- NUR09716 Healthy Lives (Singapore) Summative Assessment Brief 2026 | ENU
- BUS307 Commercial Banking Assignment Group Project 2026 | Murdoch University
- BPM109 Contract Administration Tutor-Marked Assignment 2, 2026 | SUSS
- NCO201 Learn to Learn, Learn for Life Tutor-Marked Assignment 1, 2026 | SUSS
- U19932 Tourism/Hospitality/Events Assessment Brief 2026 | NIM
- NCO205 User-Centred Design: Human Factors and Design Thinking Tutor-Marked Assignment 01, 2026 | SUSS
- EMT101 Event Planning & Management Tutor-Marked Assignment 01, 2026 | SUSS
- HBC101 Understanding Contemporary Society: The Social and Behavioural Sciences TMA 01 Question 2026 | SUSS
