Case Study: The COVID-19 global pandemic had changed and affected our day to day lives, in our health, careers, social activity etc. Since the start of the outbreak in the first quarter of 2020, many countries have gradually implemented lockdowns in order to contain the spread of COVID-19. This means, laws have been in force to set restriction on all citizens. Preventing outdoor, social or any activities that allows human to human interaction. In the context of Singapore, instead of lockdown, the government have implemented the “Circuit Breaker” that consist of THREE phases. Each with a gradual ease of restriction on sets of activities from a Phases ONE to THREE. In order to allow moving between phases, a certain set of results and measures must be achieved and instilled. On 9 May 2020, the tripartite partners (Ministry of Manpower (MOM), the National Trades Union Congress (NTUC) and the Singapore National Employers Federation (SNEF)) issued an advisory on Safe Management Measures required of employers when they are allowed to resume operations. Digital solutions are made available to help busines implement some of the Safe Management Measure. These include the TraceTogether app and SafeEntry. Many other measures are provided and stated on their website. You may read more on the Digital Solutions provided on the IMDA website: https://www.imda.gov.sg/programme-listing/smes-go-digital/Digital-Solutions-ForSafe-Reopening The individual task: To have a better management of multiple digital solutions to implement Safe Management Measures. Your task is to write a Safe Management Measure Management Java application, using an Integrated Development Environment. Project Requirement With what you have learned from the module, you are task to develop the Java application with the following: 1. Study the case study and research on the available Digital Solutions for Safe Management Measure. You are to use the Digital Solutions data/information provided in the website link above. 2. You are required to write THREE (3) Java classes. a. DigitalSolutionsCategory b. DigitalSolution c. DigitalSolutionsManagement For each Java classes, you are to meet the following requirements: DigitalSolutionsCategory class Fields: • solution category: String (holds the type of solution as per stated on the website) • digital solution storage: ArrayList of DigitalSolution (This is used to store each digital solution object) Constructor: • Arguments: Solution Category. • Create the digital solution storage Arraylist. Methods: • addDigitalSolution o Add a DigitalSolution object to the digitalsolutionlist arraylist. o Return true if success, return false if arraylist is full. o Return false if duplicated DigitalSolution object is added. • RemoveDigitalObject o Remove a DigitalSolution object from the digitalsolutionlist arraylist. • getDigitalSolution o Return one of the DigitalSolution in the digitalsolutionlist arraylist. o Return null if digitalsolutionlist arraylist is empty. • getHighestSolutionCategory o Return solution category with the highest number of DigitalSolution object. • getLowestSolutionCategory o Return solution category with the lowest number of DigitalSolution object. DigitalSolution class Fields: • ID: String (unique) • Name: String • Vendor: String • Solution Category: String Constructor: • Arguments: Name, Description, Vendor and Solution Category. DigitalSolutionsManagement class Note: This would be the main class among the THREE (3) classes stated above. Fields: • DigitalSolutionsCategory ArrayList (To store the category list in order to store Digital Solution object) Constructor: • Initialize the DigitalSolutionsCategory ArrayList using the solution categories data stated in the website link. • Load the DigitalSolution data from a text file into the solution categories arraylist. (Note: You are to retrieve the list of Digital Solutions from the website link and add them to a text file) Methods: • Insert new DigitalSolution data: o Select DigitalSolution Name and enter ID. (Note: You are to check if the ID is unique) o Search for the Solution Category that stores the same category of Digital Solution. o Insert the DigitalSolution object into the DigitalSolutionCategory array. • Retrieve DigitalSolution information: o Select DigitalSolution Name. o Display the Solution Category with the highest number of Digital Objects. o Display the Solution Category with the lowest number of Digital Objects. o Display all the Digital Solution information in a Solution Category. • Remove a DigitalSolution: o Select DigitalSolution Name. o Search for the Solution Category that holds the DigitalSolution object. o Remove the DigitalSolution object from the digitalsolutionlist arraylist. • Exit and Save o Save all the updated DigitalSolution objects in the digitalsolutionlist arrays back to the data files and exit the program. 3. Implement Error Handling methods on relevant function. Note: The user can keep selecting the Insert, List and Remove functions until exiting of the program. You are required to satisfy all requirements mentioned above. You are free to add more appropriate fields and methods to the above Java classes. You need to handle all possible errors that will occur during the program execution. Documentation On top of the Java Programming code section, you will also be required to submit a report with the following documentation: A short reflection on this assignment. For each function that you have implemented: • For each step do a screenshot and state the purpose of that step in that function. • The error checking methods you have implemented. • Do a screenshot of the error check and state the purpose of that error check. A screenshot and explanation on unresolved/unachievable requirement
Diplomain Information Technology
Programming Fundamentals
Instruction for CA3 Individual Assignment
January 2021 Semester
Assessment
100 Marks. (This assignment constitutes 40% of the overall assessment.)
Case Study:
The COVID-19 global pandemic had changed and affected our day to day lives, in our
health, careers, social activity etc. Since the start of the outbreak in the first quarter of
2020, many countries have gradually implemented lockdowns in order to contain the
spread of COVID-19. This means, laws have been in force to set restriction on all
citizens. Preventing outdoor, social or any activities that allows human to human
interaction.
In the context of Singapore, instead of lockdown, the government have implemented
the “Circuit Breaker” that consist of THREE phases. Each with a gradual ease of
restriction on sets of activities from a Phases ONE to THREE. In order to allow moving
between phases, a certain set of results and measures must be achieved and instilled.
On 9 May 2020, the tripartite partners (Ministry of Manpower (MOM), the National
Trades Union Congress (NTUC) and the Singapore National Employers Federation
(SNEF)) issued an advisory on Safe Management Measures required of employers
when they are allowed to resume operations. Digital solutions are made available to
help busines implement some of the Safe Management Measure. These include the
TraceTogether app and SafeEntry. Many other measures are provided and stated on
their website.
You may read more on the Digital Solutions provided on the IMDA website:
https://www.imda.gov.sg/programme-listing/smes-go-digital/Digital-Solutions-For-
Safe-Reopening
The individual task:
To have a better management of multiple digital solutions to implement Safe
Management Measures. Your task is to write a Safe Management Measure
Management Java application, using an Integrated Development Environment.
Project Requirement
With what you have learned from the module, you are task to develop the Java
application with the following:
https://www.imda.gov.sg/programme-listing/smes-go-digital/Digital-Solutions-For-Safe-Reopening
https://www.imda.gov.sg/programme-listing/smes-go-digital/Digital-Solutions-For-Safe-Reopening
1. Study the case study and research on the available Digital Solutions for Safe
Management Measure. You are to use the Digital Solutions data/information
provided in the website link
above.
2. You are required to write THREE (3) Java classes.
a. DigitalSolutionsCategory
b. DigitalSolution
c. DigitalSolutionsManagement
For each Java classes, you are to meet the following requirements:
DigitalSolutionsCategory class
Fields:
• solution category: String (holds the type of solution as per stated on the
website)
• digital solution storage: ArrayList of DigitalSolution (This is used to store
each digital solution object)
Constructor:
• Arguments: Solution Category.
• Create the digital solution storage Arraylist.
Methods:
• addDigitalSolution
o Add a DigitalSolution object to the digitalsolutionlist arraylist.
o Return true if success, return false if arraylist is full.
o Return false if duplicated DigitalSolution object is added.
• RemoveDigitalObject
o Remove a DigitalSolution object from the digitalsolutionlist arraylist.
• getDigitalSolution
o Return one of the DigitalSolution in the digitalsolutionlist arraylist.
o Return null if digitalsolutionlist arraylist is empty.
• getHighestSolutionCategory
o Return solution category with the highest number of DigitalSolution
object.
• getLowestSolutionCategory
o Return solution category with the lowest number of DigitalSolution
object.
DigitalSolution class
Fields:
• ID: String (unique)
• Name: String
• Vendor: String
• Solution Category: String
Constructor:
• Arguments: Name, Description, Vendor and Solution Category.
DigitalSolutionsManagement class
Note: This would be the main class among the THREE (3) classes stated
above.
Fields:
• DigitalSolutionsCategory ArrayList (To store the category list in order to
store Digital Solution object)
Constructor:
• Initialize the DigitalSolutionsCategory ArrayList using the solution
categories data stated in the website link.
• Load the DigitalSolution data from a text file into the solution categories
arraylist. (Note: You are to retrieve the list of Digital Solutions from the
website link and add them to a text file)
Methods:
• Insert new DigitalSolution data:
o Select DigitalSolution Name and enter ID. (Note: You are to check if
the ID is unique)
o Search for the Solution Category that stores the same category of
Digital Solution.
o Insert the DigitalSolution object into the DigitalSolutionCategory
array.
• Retrieve DigitalSolution information:
o Select DigitalSolution Name.
o Display the Solution Category with the highest number of Digital
Objects.
o Display the Solution Category with the lowest number of Digital
Objects.
o Display all the Digital Solution information in a Solution Category.
• Remove a DigitalSolution:
o Select DigitalSolution Name.
o Search for the Solution Category that holds the DigitalSolution object.
o Remove the DigitalSolution object from the digitalsolutionlist arraylist.
• Exit and Save
o Save all the updated DigitalSolution objects in the digitalsolutionlist
arrays back to the data files and exit the program.
3. Implement Error Handling methods on relevant
function.
Note: The user can keep selecting the Insert, List and Remove functions until
exiting of the program.
You are required to satisfy all requirements mentioned above.
You are free to add more appropriate fields and methods to the above Java classes.
You need to handle all possible errors that will occur during the program execution.
Documentation
On top of the Java Programming code section, you will also be required to submit a
report with the following documentation:
A short reflection on this assignment.
For each function that you have implemented:
• For each step do a screenshot and state the purpose of that step in that
function.
• The error checking methods you have implemented.
• Do a screenshot of the error check and state the purpose of that error check.
A screenshot and explanation on unresolved/unachievable requirements.
Assessment Topics
Topics 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17
Instructions
Submitting Assignment
All assignment files are to be zipped into a folder with your full name, student
number, institution name, the module name and CA3. Example
“full_name_student_no_sim_pf_ca3”.
Students should keep a copy of assignment submitted.
Penalty Marks for Late Submission of Assignment
By one day: 20% to be deducted from total marks.
More than one day: submission will NOT be graded.
A marking rubric for this assignment can be found in the appendix of this assignment.
Important Dates of CA3 Assignment
CA3 Individual Assignment Deadline: 15 February 2021, 11.59am.
Zip all assignment file. Submit your assignment via eGlobal. All assignment files
must be submitted in order to be graded.
Lecturer Contact
You should contact your lecturer via your SIM email whenever you have any issue
about your project. You may send your email to: kydsim001@mymail.sim.edu.sg
Appendix
S/N Requirement Marks
Java Project (100 marks)
1
Study, research on the digital solutions and
provide relevant and interesting
data/information
5 marks
2
DigitalSolutionsCategory Class
25 marks
3
DigitalSolutions Class
10 marks
4
DigitalSolutionsManagement Class
40 marks
5
Implement Error Handling
Methods
10 marks
6
Reflection
5 marks
7
Overall Report
Presentation
5 marks
We provide professional writing services to help you score straight A’s by submitting custom written assignments that mirror your guidelines.
Get result-oriented writing and never worry about grades anymore. We follow the highest quality standards to make sure that you get perfect assignments.
Our writers have experience in dealing with papers of every educational level. You can surely rely on the expertise of our qualified professionals.
Your deadline is our threshold for success and we take it very seriously. We make sure you receive your papers before your predefined time.
Someone from our customer support team is always here to respond to your questions. So, hit us up if you have got any ambiguity or concern.
Sit back and relax while we help you out with writing your papers. We have an ultimate policy for keeping your personal and order-related details a secret.
We assure you that your document will be thoroughly checked for plagiarism and grammatical errors as we use highly authentic and licit sources.
Still reluctant about placing an order? Our 100% Moneyback Guarantee backs you up on rare occasions where you aren’t satisfied with the writing.
You don’t have to wait for an update for hours; you can track the progress of your order any time you want. We share the status after each step.
Although you can leverage our expertise for any writing task, we have a knack for creating flawless papers for the following document types.
Although you can leverage our expertise for any writing task, we have a knack for creating flawless papers for the following document types.
From brainstorming your paper's outline to perfecting its grammar, we perform every step carefully to make your paper worthy of A grade.
Hire your preferred writer anytime. Simply specify if you want your preferred expert to write your paper and we’ll make that happen.
Get an elaborate and authentic grammar check report with your work to have the grammar goodness sealed in your document.
You can purchase this feature if you want our writers to sum up your paper in the form of a concise and well-articulated summary.
You don’t have to worry about plagiarism anymore. Get a plagiarism report to certify the uniqueness of your work.
Join us for the best experience while seeking writing assistance in your college life. A good grade is all you need to boost up your academic excellence and we are all about it.
We create perfect papers according to the guidelines.
We seamlessly edit out errors from your papers.
We thoroughly read your final draft to identify errors.
Work with ultimate peace of mind because we ensure that your academic work is our responsibility and your grades are a top concern for us!
Dedication. Quality. Commitment. Punctuality
Here is what we have achieved so far. These numbers are evidence that we go the extra mile to make your college journey successful.
We have the most intuitive and minimalistic process so that you can easily place an order. Just follow a few steps to unlock success.
We understand your guidelines first before delivering any writing service. You can discuss your writing needs and we will have them evaluated by our dedicated team.
We write your papers in a standardized way. We complete your work in such a way that it turns out to be a perfect description of your guidelines.
We promise you excellent grades and academic excellence that you always longed for. Our writers stay in touch with you via email.