113CSS-Lab Project

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

Kingdom of Saudi Arabia ‫المملكة العربية السعودية‬

Ministry of Education ‫وزارة التعليم‬


Najran University
Faculty of Computer Science and
‫جامعة نجران‬
Information Systems ‫كلية علوم الحاسب ونظم المعلومات‬
Department of computer Science ‫قسم علوم الحاسب‬

Academic Year 1444H/1445H (2022/2023)


First Semester
Lab Project
113CSS-4 Object Oriented Programming

Due Date: 27/10/2022 Duration: Two Weeks


Total Marks: 10

General Instructions:
• This project is a team work project.
• Divide the tasks between you and write clearly student name and academic ID and task in the space
provided on this page.
• By the end of this project; you are required to make a group presentation in order to evaluate your
work by the examiner.
• There are total 10 marks for this project for each student (group work 2 marks, her presentation 2
marks, her understanding 4 marks, project delivery on time 2 marks).
• Submission roles: zip your code with your presentation and this document, and submit it via
blackboard (blackboard only, no work will be accepted if it is submitted other than blackboard)

[This project related to CLO # 2, CLO # 3, CLO # 4, CLO # 5, and CLO # 6:]
CLO-2: “Design programs utilizing the principles of object oriented to solve simple
computational problems”
CLO-3: “Implement object-oriented principles to effectively and efficiently solve computational
problems involving multiple objects”
CLO#4: Apply object-oriented programming styles which impact on developing and maintaining
GUI applications.
CLO-5: “Demonstrate the ability in explaining, testing, correcting and debugging processing
object-oriented programs”
CLO#6: Write object-oriented programs with collaboration and team work in mind.

This table is for official use; do not write anything on it.

CLOs CLO_2 CLO_3 CLO_4 CLO_5 CLO_6 Total


Team work:
The student understands 2
whole code even her friends
task.

Page 1 of 6
Object Oriented Programming (113CSS-4), Lab Project.
All group members complete
their tasks and thus the
project is completed.

UML class diagram


are the data field, methods
and classes in the UML
related to the code in terms
of:
• Abstract class (person
class). 2
• Abstract Method
(toString in person class)
• Static class, methods and
variables.
• Visibility modifiers
(public, private, default,
and final).
The project is running
without errors.
All system functionalities are 2 2
done.

GUIs are connected together


and applying JAVAfx as 2
shown in project description.

Student’s Score
Student 1
Student 2
Student 3
Student 4
Student 5
Maximum Score 2 2 2 2 2 10

Student Name Student ID Task

Page 2 of 6
Object Oriented Programming (113CSS-4), Lab Project.
The objective of this project is to design and implement " Delivery System". The system is acting as an
intermediary between the customer and the driver.
System Functionality:
• The system shall allow the user to Sign up to the system by entering his information.
• The system shall allow the user to sign in to the system.
• The system shall allow the user to create a new delivery request.
• The system shall allow the user to print the request in .txt file which contains (his name, his
location, the location want to be reached, delivery name and price.)
Description
• Each user and driver are person (has full name, full address).
• Both the customer and the driver register in the system by entering the following:
Name, password, mobile number, and is the user a driver or a customer.
• After sign in the system; print to the screen the user name (welcome username) in all the screens
visited by user. (hint: you must override toString() method and make it abstract method in person
class, the implementation of this method should be in the sub classes customer and driver)
• Each driver should have a specific region to deliver from and to it, and the delivery price.
• When the customer enters the system, he must create a delivery request, containing the mobile
number, the region in which he is located, and the region to be reached. (hint: add the request to
ArrayList)
• When the customer entering the region; the system will suggest all drivers in the area and the
prices.
• The customer selects the appropriate driver and confirms the order. (hint: the driver should be
appearing as dropdown menu and saved as an ArrayList in the system).
• Use date class when each request is created to save the date (hint: The Request class must have
data field with type Date)
• Use printWriter object to print the request to the .txt file.

The program contains the following interfaces (Not exclusively, but for example):
• welcome interface: which contains small description of the system, and allow the user to
either enter his username/password or sign up to the system.

Page 3 of 6
Object Oriented Programming (113CSS-4), Lab Project.
‫أهال بكم في النظام‬

‫اسم المستخدم‬

‫كلمة المرور‬

‫تسجيل الدخول‬

‫مستخدم جديد| التسجيل في النظام‬

• Sign up interface: allow the user to enter his information and sign up to the system. If
the user is delivery the system allows him to enter his delivery location and the price.

‫صفحة تسجيل مستخدم جديد‬


* ‫اسم المستخدم‬

* ‫رقم الجوال‬

* ‫كلمة المرور‬

* ‫ سائق‬/‫عميل‬

‫التسجيل‬

‫ البريد االليكتروني موجود مسبقا الرجاء ادخال اسم مستخدم اخر أو تسجيل الدخول‬/‫اسم المستخدم‬

• Main interface: which allow the user to create new delivery request and show the
previous requests.

Page 4 of 6
Object Oriented Programming (113CSS-4), Lab Project.
‫أهال أفنان‬

‫إنشاء طلب جديد‬

‫الطلبات السابقة‪:‬‬
‫السعر اسم‬ ‫التاريخ واليوم‬ ‫الموقع المراد‬ ‫الموقع‬
‫السائق‬ ‫الوصول اليه‬
‫فالح‬ ‫‪40‬‬ ‫األحد‪ 9:30 :‬مساءا ‪5/ 14‬‬ ‫العريسة‬ ‫حي الجامعة‬ ‫‪1‬‬
‫‪1444/‬‬
‫مسعود‬ ‫‪50‬‬ ‫االثنين‪ 9:30 :‬مساءا ‪5/ 15‬‬ ‫الجامعة‬ ‫حي الفهد‬ ‫‪2‬‬
‫‪1444/‬‬

‫•‬ ‫‪Delivery Request:‬‬

‫أهال أفنان‪ :‬إلنشاء طلب توصيل الرجاء اكمال المطلوب‬

‫رقم الجوال *‬

‫الموقع الحالي *‬

‫الموقع المراد الوصول إليه *‬

‫السائق‬

‫طباعة‬ ‫انشاء طلب‬

‫الرجاء ادخال رقم جوال صحيح‬

‫‪Required:‬‬
‫‪• Draw UML class diagram.‬‬
‫‪• Design and implementation of the system using and Javax, and using the concepts that have been‬‬
‫‪studied in object-oriented programming.‬‬

‫‪Helping materials:‬‬
‫‪• Javafx tutorials: https://youtu.be/b-jqUSVoid4‬‬
‫‪Page 5 of 6‬‬
‫‪Object Oriented Programming (113CSS-4), Lab Project.‬‬
• UML tool : https://creately.com/diagram-type/class-diagram/

Page 6 of 6
Object Oriented Programming (113CSS-4), Lab Project.

You might also like