3 If the user tries to do an operation that could violate the state of objects, the operation should be ignored and the application should display an error message (e.g. adding a citizen twice to the list, etc.) Checking equality of any 2 objects sho
حلول واجبات الجامعه العربيه المفتوحه :: حل واجبات الجامعه العربيه المفتوحه الفصل الاول 2019/2020 :: حل واجبات الجامعه 2021/2022 :: حل , واجبات , الجامعة , العربية , المفتوحة حل واجبات الجامعة العربية المفتوحة لدينا حلول مضمونة 100% بإذن الله وغير مكررة لكافة مواد الجامعة المفتوحة
صفحة 1 من اصل 1
3 If the user tries to do an operation that could violate the state of objects, the operation should be ignored and the application should display an error message (e.g. adding a citizen twice to the list, etc.) Checking equality of any 2 objects sho
3
If the user tries to do an operation that could violate the state of objects, the operation
should be ignored and the application should display an error message (e.g. adding a citizen
twice to the list, etc.)
Checking equality of any 2 objects should be done via the equals() method
There is a class that will do the main job of the application as follows:
o It has one collection to store the whole data (all citizens)
o It has static methods, one for each operation happens frequently
o When you add a citizen to the list, a message should be displayed to the user to explain
the status of the operation (i.e. if it was successful or not)
Testing:
After implementing the required classes, design and implement a testing class to test them as
follows:
Add at least 7 citizens to the collection that stores the whole data
Add 1, 2 and 3 doses to different citizens and keep some citizens unvaccinated
Try to violate the state of the objects and show that your code prevents all violations.
Show that the other operations that happen frequently are working fine
At the end, the whole data should be saved into a text file and this file should be saved
automatically inside the folder contains your Java project
Marks distribution:
19 marks for the essential classes
22 marks for the class represents Citizen
20 marks for the class that stores the whole data
8 marks for the testing class
5 marks for following the given instructions
6 marks for answering the two questions
Important notes on penalties:
Penalty on late submission: 10% per day
Penalty for not including the Java project: 50% of the achieved mark.
Penalty for not including the Word file: 50% of the achieved mark (after deducting any mark
related to the Word file).
Penalty for not putting copy (not a snapshot) of the Java code into the Word file: 50% of the
achieved mark.
Penalty on similarity percentage: according to AOU rules.
End of Assessment
حلول واجبات الجامعه العربيه المفتوحه :: حل واجبات الجامعه العربيه المفتوحه الفصل الاول 2019/2020 :: حل واجبات الجامعه 2021/2022 :: حل , واجبات , الجامعة , العربية , المفتوحة حل واجبات الجامعة العربية المفتوحة لدينا حلول مضمونة 100% بإذن الله وغير مكررة لكافة مواد الجامعة المفتوحة
صفحة 1 من اصل 1
صلاحيات هذا المنتدى:
لاتستطيع الرد على المواضيع في هذا المنتدى