Experiment 1
Experiment 1
Experiment 1
:01
im:Formulation of a problem definition for specificreal world DMS system and Drawing
A
ER/EER diagram for the same.
Resources needed:MS-office
Theory:
ntity relationship model is a data model which represent the overall logical
E
structureofadatabaseanditisveryusefulinmappingthemeaningsandinteractions
of real world enterprises onto a conceptual schema.
his detailed problem statement gives the clarification about the database design.
T
Thisistooltofindoutmissingfunctionaldependenciestoconverttheschematothe
appropriate normal form.
ormulatetheproblemdefinitiontogetthedetaileddescriptionoftheproblemdomainso
F
that entities can be easily identified from the problem definition.
1 .Problem definition
2.ER/EER diagram
Example:
Problem Definition for COMPANY database system
The company isorganizedintoDEPARTMENTs.Eachdepartmenthasaname,numberand
an employee who manages the department. We keep track of the start date of the department
manager.
Each department controls anumberofPROJECTs.Eachprojecthasaname,numberandis
located at a single location.
It stores each EMPLOYEE’s social security number, address, salary, gender,andbirthdate.
Each employee works for one department but may work on several projects. It keep track of the
numberofhoursperweekthatanemployeecurrentlyworksoneachproject.Wealsokeeptrackof
thedirect supervisorof each employee.
EachemployeemayhaveanumberofDEPENDENTs.Foreachdependent,wekeeptrackof
their name, gender, birthdate, and relationship to employee.
eople who are new to a state, city, or country often struggle to find the ideal type of food they crave.
P
This can lead to several challenges:
● P ersonalized recommendations based on your dietary preferences, such as vegetarian, vegan,
gluten-free, etc.
● Trying local restaurants or food stalls that may lack hygiene and quality standards.
● Spending significant amounts of money at expensive hotels without enjoying the taste and
food quality.
● Resorting to fast food from large franchises, which can lead to unhealthy eating habits and
weakened immunity.
eatures we provide :To address these issues, wepropose developing a modern restaurant locator
F
system with the following advanced features:
● L ocate the Best Restaurants :Discover top-rated restaurantsin your area known for serving
your preferred cuisine and flavors.
● Affordable and Delicious Options : Find delicious, homely meals within your budget,
avoiding hefty expenses.
● Online Ordering and Table Reservations : Enable online ordering and table reservations to
eliminate waiting times upon arrival.
● Enhanced Dining Experience : Ensures a memorable dining experience by matching
preferences for ambiance, music, and seating arrangements.
● Detailed Insights : Provide information on food quality, customer service, recent reviews, and
cooking techniques.
dvantages for both Restaurants and Customers :Sucha modern restaurant locator system offers
A
substantial benefits to both restaurants and customers:
● B oosts Restaurant Visibility and Sales : Enhances the visibility and sales potential of
restaurants.
● Satisfies Cravings : Helps customers find the exact type of food they desire.
● Ensures Convenience : Provides the most convenient dining options.
● Support for Local Businesses: Promotes local restaurants and small businesses, contributing
to the local economy and community.
● Saves Time and Effort: Saves time by providing accurate information on nearby dining
options, reducing the need for extensive research and exploration.
● Cultural Exploration: Facilitates cultural exploration by recommending authentic local
eateries and hidden gems that tourists might overlook.
By integrating these features, the Restaurant Finder aims to revolutionize how people
“
explore and enjoy dining experiences, ensuring satisfaction and culinary enjoyment wherever
they go.”
Questions:
Answers :
Ans 1.
otal Participation-It specifies that each entityin the entity set must compulsorily participate in at
T
least one relationship instance in that relationship set also called mandatory participation. Total
participation is represented using a double line between the entity set and relationship set.
artial Participation-It specifies that each entityin the entity set may or may not participate in the
P
relationship instance in that relationship set also called as optional participation. Partial participation
is represented using a single line between the entity set and relationship set.
Ans 2 .