--- title: Computer Programming II Project 01 --- <h1 style='border: none'><center>Computer Programming II Project 01</center></h1> <h1 style='border: none'><center>Students Attendance</center></h1> <h5><center>The Islamic University of Gaza<br>Engineering Faculty<br>Department of Computer Engineering</center></h5> <h6>Authors: Usama R. Al Zayan<span style="float:right">2023/04/11</span></h6> --- <h2 style='border: none'><center>Deadline: 11:59 PM, 26th May, 2023</center></h2> <h4 style='border: none'><center>Discussion Date: 29th May, 2023</center></h4> # Goal <p style='text-align:justify;font-family:Times New Roman;font-size:20px'> The goal of this project is to provide a realistic experience in OOP, implementation, and operation of a JavaFX applications. </p> # Introduction <p style='text-align:justify;font-family:Times New Roman;font-size:18px'> In this document, a description of the application, its general requirements, and requested features shall be provided, then specify how you should provide your deliverables. In this project, it is intended to provide you with an experience that is <span style='text-decoration: underline;'>as close to a real project as a second-year student</span>. Moreover, this document will be describing the requirements in Arabic, hoping to copy the experience of you speaking to a client in a real project. </p> <p style='text-align:justify;font-family:Times New Roman;font-size:18px'> The project can go well beyond the minimal requirements outlined in this document. Any student who wishes to add his extensions to the project can do that freely. In fact, it is highly encouraged to have such extensions and will for sure reward outstanding projects generously. </p> <p style='text-align:justify;font-family:Times New Roman;font-size:18px'> The description given here of the project you are implementing is necessarily sometimes vague or incomplete. This is by design; in real life, your “customers” are managers or businessmen, who usually lack a comperhensive knowledge in software to give you the perfect description. You will need to fill the gaps in the description by asking your lecturer or tutors the right questions in order to create a precise design, and concrete implementation as well. You are motivated to discuss the requirements on our group. I will jump in the discussion when necessary. Of course, we will be happy, if one can clarify the vague points to each other or agree on the right questions to ask. </p> <p style='text-align:justify;font-family:Times New Roman;font-size:18px'> <B>Read this document carefully</B>: It will give you all information you need to know; regarding the organization of the project. It shall also have the answers to most of your questions, so be sure you know all what is mentioned here before asking around. </p> # Requirement description <p style='text-align:justify;font-family:Times New Roman;font-size:20px'> As promised, I will provide the description in Arabic to mimic a real client. </p> <p style='text-align:justify;direction:rtl;font-family:Traditional Arabic;font-size:24px'> المطلوب منك مهندسنا العزيز هو عمل برنامج لمتابعة حضور الطلاب في المحاضرات التي يقوم المدرسون بتدريسها للطلاب. </p> <p style='text-align:justify;font-family:Times New Roman;font-size:20px'> It is required from you our dear engineer to make a program that tracks the attendence of the students in the lectures given by the instructors. </p> <p style='text-align:justify;direction:rtl;font-family:Traditional Arabic;font-size:24px'> تهتم الجامعة بحضور الطلاب في كافة المحضرات، لذى سيتم سحب الطلاب غير الملتزمين بالحضور ما يزيد عن 25% من عدد محاضرات المساق في الفصل. وقد كان المعيدون مشكورين يقومون بمتابعة الحضور والغياب باستخدام ملفات اكسيل ولكن مع زيادة أعداد الحضور وكمية المحاضرات، وتفرق الملفات وبطء الإدخال أصبحت متابعة الحضور صعبة جدا، حتى ان بعض المتابعات تنتهي بالفشل للأسف. ونود منك أن توفر لنا حل سهل الاستخدام يمّكّننا من المتابعة ويغنينا عن الاكسيل. </p> <p style='text-align:justify;font-family:Times New Roman;font-size:20px'> The university system cares about the attendence of the students in all lectures. Therefore, any student will be deregistered from any course, if this student did not attend more than 25% of the lectures in the semester. Thanks to our tutors who are tracking the attendence and persence of students by using excel based files. However, due to high demand and large number of students and lectures, it was mandatory to have better system to track the attendence. Thus, this project shall provide a solution which is user-friendly and easy to use rather using excel files. </p> </br> <p style='text-align:justify;direction:rtl;font-family:Traditional Arabic;font-size:32px'> <B>الحل المقدم يجب أن يحتوي الميزات التالية:</B> </p> <ul style='text-align:justify;direction:rtl;font-family:Traditional Arabic;font-size:24px'> <li>إمكانية إنشاء وتحرير مساق واضافة تفاصيله كالموضوع والكتاب والمدرس لهذا المساق، ومكان الانعقاد الافتراضي(القاعة).</li> <li>إمكانية انشاء حسابات مستخدمين ليتكمن المعيدون من استخدام النظام. </li> <li>إمكانية إضافة وتحرير محاضرات ضمن مساق معين واضافة تفاصيل المحاضرة كالعنوان والمكان الذي بالعادة يكون قاعة المحاضرة الافتراضية الا في حالات نادرة. </li> <li>إمكانية تسجيل وتحرير طلاب من كل الجنسين، وتسجيل انتماء طالب معين إلى مساق معين، وتسجيل وتحرير حضورهم للمحاضرات. </li> <ul> <li>يجب تسجيل الاسم رباعي، الرقم الجامعي، ورقم الجوال (أو الجوالات)، ومنطقة السكن لكل طالب. </li> <li>يحب تسجيل معلومة حضور الطالب الفلني للمحاضرة الفلنية أو تغيبه عنها. </li> <li>يجب أن تتم عملية تسجيل الحضور باستخدام الرقم الجامعي أو رقم الجوال أو الاسم ويجب أن تتم بسرعة لكيلا نؤخّر المدرس عن بداية المحاضرة لذلك نود أن يدعم البرنامج خاصية الإكمال التلقائي عند الإدخال. </li> <li>في حالة تغيب المعيد المسؤول عن البرنامج سيقوم معيد آخر مشكورا بإدخال الأرقام الجامعية لجميع الحضور في ملف اكسيل، ونود من البرنامج أن يوفر إمكانية استيراد هذا الملف كحضور لمحاضرة معينة. </li> </ul> <li>ملاحظة: كلمة تحرير أعله دائما تشمل التعديل والحذف. </li> <li>إمكانية عرض كشوف الحضور والغياب لكل محاضرة من المحاضرات مع نسبة الحضور وعدد الحضور في كل محاضرة. </li> <li>إمكانية عرض جميع المحاضرات المنتمية الى مساق معين. </li> <li>إمكانية عرض تقرير الحضور لكل طالب في مساق معين بسرعة عند طلب الطالب ذلك أثناء تسجيل حضوره في أحد المحاضرات. مع توفير وسيلة لتعديل الخطأ في التقرير بسرعة. </li> <li>إمكانية استخراج كشف بجميع الطلبة غير الملتزمين بحضور أكثر من 25% من المحاضرات في مساق معين وكذلك إمكانية تصدير هذا الكشف الى اكسيل لطباعة تقرير لسحب الطلاب من المساق. </li> <li>إمكانية البحث عن كشف محاضرة معينة باستخدام عنوان المحاضرة. </li> </ul> </br> <p style='text-align:justify;direction:rtl;font-family:Traditional Arabic;font-size:32px'> <B>أنواع مستخدمي النظام:</B> </p> <ul style='text-align:justify;direction:rtl;font-family:Traditional Arabic;font-size:24px'> <li>مدير النظام الذي يمكنه (إنشاء وتحرير مساق + إنشاء وتحرير حسابات مستخدمين + ربط المعيد بالمساق التي يعمل عليها). </li> <li>المعيد الذي يمكنه (تسجيل وتحرير طلاب + إضافة وتحرير محاضرات + تسجيل الحضور + استخراج التقارير والكشوفات).</li> </ul> <p style='text-align:justify;font-family:Times New Roman;font-size:20px'> <B>Remember that</B> the manager who defined the specifications is <B>not</B> a software architect so the specifications should not be viewed as necessarily being precise and complete. </p> <p style='text-align:justify;font-family:Times New Roman;font-size:20px'> Also, to keep the project within bounds, we'll <B>ignore</B> issues of ‘auto correction’, ‘full text search’, and application level authorization. </p> # Client Requests <ul style='text-align:justify;font-family:Times New Roman;font-size:18px'> <li><B>Unified modeling language (UML) diagram</B></li> <ul> <li>Construct an UML diagram representing the UML Diagram design of Classes. Be sure to identify all (private, public) parameters and methods, etc.</li> </ul> <li><B>Model-View-Controller (MVC) Design Pattern</B></li> <ul> <li>You should use the MVC Design Pattern to organize the project.</li> </ul> <li><B>Saving data</B></li> <ul> <li>The program must store the entered data in an appropriate manner so that when the program is closed and restarted, it retains the entered data. </li> <li>The process of saving and reading data takes place in the model part.</li> </ul> <li><B>Interfaces</B></li> <ul> <li>Customers need an elegant interface to use your system. However, for this project, very simple functioning interface will suffice if your GUI skills are not up to the challenge. These interfaces must be built as a standalone <B>Java</B> application using JavaFX (FXML) only. </li> </ul> <li><B>Clean Code</B></li> <ul> <li>You should organize your code correctly, create functions, handle all exceptions, and write useful comments to make your code easier to read. </li> </ul> # Deliverables <p style='text-align:justify;font-family:Times New Roman;font-size:20px'> Only one submission per one (or two) student(s) is graded. Usually, we wait for the deadline and then start grading your projects. </p> <ul style='text-align:justify;font-family:Times New Roman;font-size:18px'> <li>The final version of the project can be turned in one of two ways:</li> <ol> <li>As a single .zip file on our Moodle.</li> <li>As private GitHub repository you share with us (ozayan@iugaza.edu.ps).</li> </ol> </ul> <p style='text-align:justify;font-family:Times New Roman;font-size:18px'> Wither it was a .zip file or a repo, your submission must include: </p> <ol style='text-align:justify;font-family:Times New Roman;font-size:18px'> <li><B>UML Diagram</B>, plus any explanatory notes. At minimu, you must include all classes and relationship sets implied by the description. You may go beyond the minimum. Use any tool (e.g. Paint, Microsoft Visio, PlantUML) to make this drawing readable and nice.</li> <li><B>Your Java code</B> to implement the various interfaces. As mentioned above, quite basic interfaces are acceptable, but it is encouraged to have more elegant interfaces.</li> <ul> <li>If you can submit your java code as .java files that we can compile and run on our side will be the best approach. If your code is dependent on an IDE, please only use IntelliJ IDEA. Also, make sure your configuration does not require us to change my local settings (thank you).</li> <li>You should also tell me how to run your code, continue reading below.</li> </ul> <li><B>A README file</B> in the top-level folder that explains what is in the project files, and where to find the documents, ... etc. including the usage instructions for the interfaces, and how to import your project and run your code. Your final grade will take a big hit if we cannot run your code due to insufficient instructions (Lackness of necessary information in the user manaul is a pitfall you shall avert in this project).</li> </ol> <p style='text-align:justify;font-family:Times New Roman;font-size:18px'> Everything should be in a single zip file/repo so that when we unzip/clone it, we can read the README file, follow the directions, and run your project. </p> # Grading <p style='text-align:justify;font-family:Times New Roman;font-size:18px'> You will get a grade out of 100, the individual components of your project have the following weights: </p> | Requirement | Points | | ----------- | ------ | | UML Diagram.|20%| | MVC Design Pattern & Clean Code.|15%| | Saving data. |10%| | Functionality includes proper features, proper updating of the data, etc.|25%| | User interfaces.|30%| <p style='text-align:justify;font-family:Times New Roman;font-size:18px;font-style: italic;font-weight: bold;'> I reserve the right to give extra points for outstanding solutions and presentation to parts of/or the whole project. </p> # Collaboration rules <ul style='text-align:justify;font-family:Times New Roman;font-size:18px'> <li>Your project design and interface implementation must be your own work.</li> <li>You may not share your UML Diagram with others, otherwise you may miss the frontier.</li> <li>Students from different groups are not allowed to share the same code, or the same code skeleton, any group must start the project, and code the project by themselves.</li> </ul> ###### tags: `Computer Programming II` `Projects` `IUG` `Computer Engineering` <center>End Of Project 01</center>