0% found this document useful (0 votes)
121 views5 pages

CS304 Assignment Solution Spring 2024

The document describes a freelancing platform and outlines key features and entities. It asks to identify objects, attributes, relationships and develop a class diagram. The answer provides a class diagram with Freelancer, Project, Bid, Review and Payment classes and their relationships.

Uploaded by

osamanaseer34
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
121 views5 pages

CS304 Assignment Solution Spring 2024

The document describes a freelancing platform and outlines key features and entities. It asks to identify objects, attributes, relationships and develop a class diagram. The answer provides a class diagram with Freelancer, Project, Bid, Review and Payment classes and their relationships.

Uploaded by

osamanaseer34
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Virtual University

CS304— Object Oriented Total marks = 20


Programming Assignment No.1 Deadline
th
Solution 29 of April 2024

Please carefully read the following instructions before attempting the assignment Solution.

NOTE
Don't copy-paste the same answer.
Make sure you can make some changes to your solution file before submitting
copy paste solution will be marked

If you found any mistake then correct yourself and inform


Before submitting an Assignment GDB checks your assignment requirement
For any query, feel free to Contact at
WhatsApp: +923074960034

Provide by M.JUNAID QAZI

Scenario:

A freelance marketplace is an online platform that connects freelancers with clients who need specific
-
Jell H7,11
projects/jobs completed. These platforms serve as intermediaries that help both parties find each other, anc

.
ensure the secure exchange of services and payments.

On the freelance marketplace, there can be two types of users: one is a client who posts the jobs or projects, anc
the other is a freelancer who bids to complete those projects. i m r I M " " l k

After winning the project, freelancers complete the project and submit it. After evaluating the project, the client
approves the project, and then payment is released to the freelancer.

Based on the above scenario there are the following key features of a freelancing platform:

CONTACT ON WHATSAPP
+923074960034
1. Freelancers create profiles that include their skills, experience, and portfolio of work.
2. Clients post projects or job descriptions, mentioning the skills required, project timelines and
budge. etc. Freelancers can then decide if they wish to apply or bid for the project.

3. A freelancer can bid on the project. Clients then review these bids and select a freelancer based
or factors such as price, experience, and previous reviews etc.

4. Payment may be released to the freelancer only after the client approves the completed
work/project.
5. Once a freelancer has completed the project, the client must give feedback in the form of a review.
This review helps other clients while selecting this freelancer.

The tasks you have to do are:

1. Extract the main objects (entities) of the above system.


2. Find the necessary attributes and functions that need to be associated with each object.
3. Identify the relationships among identified objects.
4. Develop a final comprehensive Class diagram using the above three steps showing all objects
(along with their attributes and functions) and the relationships between objects.

Note: Please note that you have to provide only the final class diagram as a solution of the assignment.
There is no need to provide the solution of the first three steps.

M.junaid Qazi
WhatsApp: +923074960034

CONTACT ON WHATSAPP
+923074960034
Answer:

Freelancer
-id : int
Bids -name : string
-Skills : string
-freelancerlD : int
-experience :
-ProjectiD : int 1 long -portfolio :
-bidAmount : int
-bidStatus : char string(idl)

+submitBid( +createProfile(
)
+UpdateBid

1..*
1..*
Revi
Project
-freelancerlD :
-id : int int -
-name : projectlD : int
string -skills -rating :
: char - string -
timline : 1
+AssignFrelancer
()

Payment
-id : int
1 -amount :
int -status :
char -date :
Clints Date
-id : int +processPayment
- +PostProject()
+UpdateProjectO
+ViewProjectDetailsO
e

n
ame : string -
project : string

J
u
n
ai
d
Q
a
zi
What
sAD
D:
+923
0749
6003
4
Every
Assignme
nt/GDB
is change
due to
unique
Student
ID so
don't
copy
That is
truly
perfect
step by
step idea
solution
get help
easily.
Wish
you the
very
best of
Luck!
CON
TAC
T ON
WHA
TSAP
P
+
9
2
3
0
7
4
9
6
0
0
3
4

You might also like