حلول واجبات الجامعه العربيه المفتوحه
هل تريد التفاعل مع هذه المساهمة؟ كل ما عليك هو إنشاء حساب جديد ببضع خطوات أو تسجيل الدخول للمتابعة.

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 sho Empty 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

مُساهمة من طرف smsm hamdy الجمعة أبريل 08, 2022 4:15 pm


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

smsm hamdy
Admin

المساهمات : 417
تاريخ التسجيل : 19/10/2019

https://http-learning-aou.yoo7.com

الرجوع الى أعلى الصفحة اذهب الى الأسفل

الرجوع الى أعلى الصفحة


 
صلاحيات هذا المنتدى:
لاتستطيع الرد على المواضيع في هذا المنتدى