الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

ارجو المساعدة في مشروع الجافا هذا

مغلق
بدأه senno85 في 2 يناير 2006 · 3 رد · 639 مشاهدة · في JavaSE
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

السلام عليكم,

عندي مشروع جافا عن شركة IT و انا ضعيف ببرمجة البرامج الكبيرة, ويجب ان اسلم الكود لانه متطلب من متطلبات النجاح في كورس الجافا هذا الفصل,اعلم انه طويل لكني لا اعرف الا القليل عن الجافا,و احتاج الى مساعدتكم,و المشروع مرفق مع الموضوع ملف word ....

و اقبلوا فائق احترامي :rolleyes:

javaproject.doc

#2

خيرا ان شاء الله :) :)

Theory is when you know something, but it doesn't work. Practice is when something works, but you don't know why. Programmers combine theory and practice: Nothing works and they don't know why

#3

ياريت تعطينا فكرة senno85 عن طبيعة عمل البرنامج و ماهيته حتى تتضح الفكرة

أستاذ رامي العيساوي ؟! :rolleyes:

#4
senno85 كتب:
السلام عليكم,

عندي مشروع جافا  عن شركة IT و انا ضعيف ببرمجة البرامج الكبيرة, ويجب ان اسلم الكود لانه متطلب من متطلبات النجاح في كورس الجافا هذا الفصل,اعلم انه طويل لكني لا اعرف الا القليل عن الجافا,و احتاج الى مساعدتكم,و المشروع مرفق مع الموضوع ملف word ....

و اقبلوا فائق احترامي :rolleyes:

Java project

Your project is to implement an activity management project in an IT company. The development team consists of System analysts (to analyze and design the project and estimate its cost), Team Leader (assign tasks to team members and allocate all required resources to it). Team members: mixed of senior developers (more than 5 years experience), junior developers (less than five years of experience) and quality assurance (QA) to test if the specified task is done correctly.

When the company wants to start a new project, The System Analysts will analyze the user requirements, system specification and estimate the time and cost of the project. If the system analysts found the project is feasible to do and they approve it, the team leader will start assigning tasks to his team and for each team member he/she defines the priority of the task, its estimation time and the deadline of the task. The team leader will be updated once the assigned task is completed and then assign a testing task for it to the QA. When any member receives his task he/she can start working on it and define the activities required for him/her to perform the task.

Implement the system using Java programming language and test your System's capabilities using an application that uses all of the features in your system.

At least you will need the following classes with corresponding information and methods:

Class Date:

Information: day, month, year;

Operations: set day, set month, set year, get date.

Add days: This method should add specific number of days passed as parameter by the user to the current date (take in consideration if number of days > maximum days per month then the month will be modified accordingly). The new date will be returned to the user.

Class Time:

Information: hour, minute, second;

Operations: set hour, set minute, set second, get time.

Add minutes: This method should add specific number of minutes passed as parameter by the user to the current time (take in consideration if number of minutes > 60 then the hours will be modified accordingly). Add another similar operation for adding hours. The new time will be returned to the user.

Class Employee:

Information: Employee name, Employee id, Salary. Hire-date, birth-date

Operations: General Set and Get methods to manipulate data.

Class Project:

Information: Project Name, Estimated time, estimated cost, starting date, deadline date, project Status (under study, accepted, declined, postponed, behind schedule), customer id.

Validations and constraints: The deadline date must equal the starting date + the estimated time.

When the project is first created the project status is set to under study.

Operations: General Set and Get methods to manipulate data.

Class Task:

Information: Task Name, Task Estimated time, task starting date, task deadline date, status (done, in progress, postponed). Assigned by (the team leader who created the task), assigned to (the team member who will do the task). Project (object of class Project). Current working hours (how much work is done for this task = summation of all activities (belongs to this task) duration time). Task priority (high, middle, low).

Validations and constraints: The deadline date must equal the starting date + the estimated time. The starting and deadline date of the task should be within the starting and ending date of the project, if not, a warning message should appear for the user and the project status should be changed to behind schedule.

Operations: General Set and Get methods to manipulate data. a method finishing task that compares the task estimation time with the current working hours and if the total working hours is <= estimation time then the delayed period = 0 and the task status is modified to done. Otherwise, a warning message appears to the user indicating that the assigned to team member (his name should appear in the message) is delayed by (the delayed period). The delayed period is calculated.

Class Activity:

Information: Activity id, Activity name, Activity description, Activity starting date, activity ending date, activity starting time. Activity ending time, activity type (testing, documentation, coding …etc), activity duration (how much time did take to finish the activity in hours and minutes), the task (for which the activity is part of), the assigned by and assigned to (team leader and team member doing the activity, respectively). Last activity (Boolean) if set to true then this activity is the last activity for the task.

Validations and constraints: The activity duration time should equal the ending time of the activity – the starting time of the activity.

The duration time for each activity should be added to the current working hours of the task. If the activity is the last activity, a call is made to the finishing task method

Operations: General Set and Get methods to manipulate data.

Class Employee:

Information: Employee name, Employee id, Salary. Hire-date, birth-date

Operations: General Set and Get methods to manipulate data.

Class SystemAnalyst:

Information: Employee name, Employee id, Salary, hire-date and birth-date

Operations: General Set and Get methods to manipulate data.

TestProject (method that has as a parameter an object of class Project): this method would update the project info and using it the System Analyst will specify the status of the project as under study, if it needs further investigation; postponed if the project will be delayed (example: if the project needs approval from the general manager…etc). The starting date and the estimation time and cost …etc.

Class Team Leader:

Information: Employee name, Employee id, Salary, A List of tasks and a list of team members, the project currently working on, current number of team members.

Validation and constraints

When the team leader is first created you should also ask for the creation of team members.

Operations: General Set and Get methods to manipulate data. Method create task: the team leader will use it to create a task and assign it to one of the team members only if the team member is not busy with another task, after assigning the task the team will be set to busy. Method add team member (take as a parameter an object of type team member) would work as follows ( list of team members is actually defined as array of type team members. if the number of team members currently is 3 then method add team member will let array[4] = passed team member. The team member id = 4 and the number of team members = 4.

Method get team member (return object of type team member according to the id: parameter passed by the method).

Class Team Member:

Information: Employee name, Employee id (initially empty), Salary, is busy (return either true or false), employee type (senior, junior, QA).

Validation and constraints

is busy is set to true only if the team member is currently working on a task.

Operations: General Set and Get methods to manipulate data. Method create activity a method used to create object of type activity and take as parameter an object of type task.

The Application (With main  ) would be as follows ( of course you can modify it and add as much as you want but this is to give you an idea to what I need at least from you to be able to do ):

When the program is started it first asks the user to

Step1: create a project (the information available would be the project name and the customer).

Step2: Then create a system analyst.

Step3: Ask the user if he/she wants the system analyst to study the project if yes call method System analyst test project . Otherwise, exit program.

Step4: After testing the project you have to check the status of the project if it is declined or postponed show the user a message (" sorry no further operations can be done this project is declined not feasible to us") or a message (" sorry no further operations can be done the project is postponed because of so and so.." )and then asks if the user wants to create another if no exit the program and if yes repeat steps 1, 3 and 4. If project status is accepted go to step 5

Step5: Create a team leader and let the project currently working on is this project.

Step6: Asks the user to create team members (as much as the user wants with different types and set all of them free (not busy) and for each team member created call the method add member to the previously defined team leader (created in step5) and so a suitable id will be assigned to him by the team leader.

Step7: Allow the user to do any of the following operations ( when the user finishes he return to this menu).

What would u like to do?

1- Create a task (team leader will be able to create a task and assign it to a free team member).

2- Create activity

3- Quit program (as u see this menu can be extended easily by you like view members of a project ...etc)

Creation of activity is done as follows:

1- Ask for the id of the team member who is creating the activity.

2- Use method get team member (in class team leader) to return the team member object and use this object to create the activity using create activity method in the class team member.

3- If the activity indicates it is the last activity of the task, check time duration and update the task information accordingly. Note after finishing the task the team member is set to free again so he can be allocated to another task.

4- If the task is behind schedule update the project to be behind schedule too and keep record of the task name and the team member id and name responsible for this.

The user must be able to create more than one task for the project and more than one activity for each task and yet be able to decide which task is the reason for the project to be behind schedule.

هذا الموضوع مغلق.

مواضيع مشابهة

عدد الزوار حالياً

المتواجدون خلال آخر دقيقتين · يتحدّث كل ٣٠ ثانية

—الإجمالي—أعضاء مسجّلون—زوار بدون تسجيل

جارٍ التحقق من المتواجدين…