ITC558 Programming Principles - Assessment 3
ITC558 Programming Principles - Assessment 3 - Design Assessment 3
In this assignment, your task is to develop a library management softw are where library staffs can add/view books, issue book, view issued books and return books. The main program should first display a menu as follows. A user needs to select an operation from the main menu.
Task 1 -
Draw flowchart/s that present the steps of the algorithm required to perform the task specified.
Task 2 -
Select six sets of test data that will demonstrate the 'normal' operation of your program; that is, test data that will demonstrate what happens when a VALID input is entered. Select at least three sets of test data that will demonstrate the 'abnormal' operation of your program. Note that all six program features should be tested.
Set it out in a tabular form as follows: test data type, test data, the reason it was selected, the output expected due to using the test data, and finally the output observed when the test data is used. It is important that the output listings (i.e., screenshots) are not edited in any way.
Task 3 -
Implement your algorithm in Python. Comment on your code as necessary to explain it clearly.
In addition, for this exercise, use multiple functions, instead of using a single function to do everything. Create a good design of the functions to make the best use of the code and avoid duplicate calculations.
You also need to design your program so that it has components that can be reused in another program if needed. Handle exceptions appropriately. Use the appropriate data structure.
Run your program using the test data you have selected and complete the test data table above.
Your submission will consist of:
1. Your algorithm through flowchart/s.
2. The table recording your chosen test data and results
3. Source code for your Python implementation