关键词 > CPT113/CPM213

CPT113/CPM213 Programming Methodology & Data Structures

发布时间:2021-12-10

Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: daixieit


CPT113/CPM213

Programming Methodology & Data Structures

Assignment 1

 

PROBLEM STATEMENTS:

“Because of the pandemic since it started in  Wuhan in December 2019, most countries have limited cross-border travel and have therefore had an impact on the global tourism industry. Most countries have shut down the border to control the spread of the virus. By early 2021, COVID-19 vaccines have been broadly introduced and are effective and can reduce the risk of contracting and spreading COVID-19.  That  has  enabled people  to  cross  the  border  and  will  give  an opportunity to the tourism industry. 

 

In preparation for the opening of the border, the Government of Malaysia plans to develop an Electronic COVID- 19 passport information system (eCPIS) to store Malaysian immunization information.  You are required to develop this system to keep immunization information and allow passport control officers to retrieve each individual immunization information. eCPIS should contain the following information:

•   Personal information (Name, passport no., age, and gender)

•   Vaccination status (completed 2 doses or partially completed or not taken)

•   Vaccine information (Type of vaccine, Date of receiving vaccine)

 

 

PROGRAM DESIGN REQUIREMENTS:

 

Design object-oriented programming which demonstrates the use of base class, derived class, inheritance,  composition,  and  friend  functions.  The program  should  allow  a user to  do the following tasks:

•   Enter information

•   Update vaccination information.

•   Search each individual vaccination information status via passport no.

•   list of unvaccinated persons

•   list of individuals who received certain vaccine such as Pfizer, Sinovac or AstraZeneca

•   Statistical Information, for example

o Total  number  of individuals  who  received  vaccine  such  Pfizer,  Sinovac  and AstraZeneca

o Total number of individuals fully vaccinated, partially, or un-vaccinated

o Vaccination information according to age and gender.

o Many more …

 

 

Use your own creativity to provide meaningful and interesting information to be displayed on the screen. You should use menu to have a full control ofthe program execution.

General requirements:

I.      Input validation.

II.      Interactive menu.

III.      Good Interface Design (i.e., Presentable manner and easy to understand).

IV.      Meaningful comments in the source codes. Specific requirements:

I.        Data must be retrieved and processed from the array.

II.       Input data methods/functions should NOT be implemented in any ofthe classes.

III.    Data in the class declaration cannot be public members.

IV.      Global variables are not allowed in your program.

V.        Advanced data structures such as linked list, queue, stack, and binary tree are not

allowed in your program.

VI.        Object declarations in main function must be oftype derived class.

VII.    Your classes should consist of standard and necessary methods.

 

 

SUBMITION INSTRUCTIONS:

 

Please submit your assignment (individually)

1) Source code

2) Report consists of:

•    Specification of Requirements (input, output, process, or formula)

•    UML diagram

•    Sample input output.

 

Upload to e-learning in Zip the file format (consist of source and report). The format of your zip filename is:

YourName_MatricNo.zip.

E.g.: Andy _145213.zip