Reference no: EM132600782 , Length: 7 pages
AACS1074 Programming Concepts and Design Assignment
Objective: Apply the programming concepts and skills that you learnt (from Chapters 1 to 7) to write a simple program.
Design and develop a Covid-19 Cases Tracking System for a local authority.
Brief Description
During the covid-19 pandemic, the local authority needs to efficiently keep track of data regarding the disease cases.
You have been hired to develop a basic Covid-19 Cases Tracking System that will enable the local authority to store cases data efficiently, and at the end of the day or session produce Daily Reports or an overall summary respectively for analysis.
Every evening the local authority collects details of covid-10 cases from all its districts. Daily details include the number of new cases (local and imported), number of deaths and number recovered. Based on these details and previous data, your system will be able to produce a summary report showing the total number of cases, total deaths, total recovered, total under treatment and the respective percentages (recovery rate, death rate, etc).
Using previous day's data as constants, write a program that will
• first, display an intro screen (eg. system title / heading / logo) followed by the latest (ie. the previous day's) totals in a similar table (as above)
• ask the user to key in the current day's inputs as mentioned above, then calculate and display the Daily Summary Report.
By adding more variables or constants, enhance your program in (A) to:
• include a message stating whether the number of new cases keyed in has remained the same, increased or decreased and by how much, as compared with the previous day. (eg. "No change from yesterday", etc)
• allow the user to choose between two different reports for viewing - the Daily Summary Report OR the Daily Comparative Report.
(i) Further enhance your program above as follows (include a loop construct):
• allow data to be continuously input for as many days as the user wishes to.
• After the last day's report, display messages stating
o the total number of days recorded, together with the starting and ending Day Numbers
o the highest number of daily cases and the day on which it occurred
o the lowest number of daily cases and the day on which it occurred
• Ending section
o Display a pleasant ending - eg. a thank you message etc.
(ii) Add 2 extra features of your choice to your program that you think will be useful to the user
o For example, more details in the report(s), a menu, validation etc.
o These features MUST be listed and described in your report.
Program Testing & Outputs
Run your finalized program using different sets of test data. Use a table (see below) to show your planned test data and expected output for at least 3 runs. This table must be included in your report.
Cover as many different scenarios as possible (eg. different number of days, same number of new cases as yesterday, 0 deaths, etc). For each run, capture the screenshots (according to your test data) to be included in your Report. You may maximize the output screen size while running the program.
Test Data + Expected Outputs (Table) & Actual Outputs (Screenshots)
The table below is an example only. You may use your own format provided it is clear and serves the same purpose. Each Run should start on a new page and have a brief scenario description. Below is an example of what you can insert into your report.
Attachment:- Programming Concepts and Design.rar