Question

In: Computer Science

I have "schedule" (guest, volunteer etc) and "Inventory" (food,bedding,cleaning stuff etc inventory)as an entity so what...

I have "schedule" (guest, volunteer etc) and "Inventory" (food,bedding,cleaning stuff etc inventory)as an entity so what could be attributes to these two entities? And also give partial and transitive dependencies between the attributes in normalization process? please hurry

Solutions

Expert Solution

DEFINITION:

  1. Functional Dependency : Functional dependency is a relationship that exists when our attribute uniquely determines another attribute.
  2. Non Prime Attributes : A non prime attribute is an attribute that does not belong to any Candidate Key.
  3. Candidate Key : A Candidate key is a column or a set of columns in a table that can uniquely identify any database record without refering to any other data. Each table have one or more Candidate key.

PARTIAL DEPENDENCY:

Partial Dependency is one kind of functional dependency when non prime attributes is functionally dependent on a part of the Candidate key.

TRANSITIVE DEPENDENCY:

It always relate to the attribute outside the Candidate key. When an indirect relationship causes functional dependency it is called Transitive Dependency.

schedule attributes:

for each schedule we would be having a N no of guest and M no of volunteer. A schedule would be having a date, time and location as a attribute.

inventory attributes;

for each event we would require some basic amenity like living space for each guest and volunteers, that include food for each, cleaning stuff, no of bathroom allotted to a group of people,

Partial dependency:(scheduler)

when attributes inside entity are functionally dependent, hence we can say that no of volunteers would be functionally dependent upon the no of guest, hence partial dependency.

(inventory)

No of guest and volunteers would determine the bedding, cleaning stuff and a group of people would determine the no of bathrooms hence partial dependency.

Transitive dependencies:

We can say that a date and time employs guests(as every schedule would be having guest list) and guests would employ volunteer(volunteers required is proportional to guest) hence date and time is a transitive dependency on volunteers.

(inventory):

guest and volunteers employs we need bathroom and bathroom employs we need cleaning stuff. hence guest and volunteers is a transitive dependency upon cleaning stuff.

remember that :

if we allote 5 people to one bathroom we need one cleaning kit but if we have 8 people we need 2 cleaning kit.

HOPE THAT IT HELPS


Related Solutions

Here is what I have so far. I have created a code where a user can...
Here is what I have so far. I have created a code where a user can enter in their information and when they click submit all of the information is shown. How can I add a required field for the phone number without using an alert? <!Doctype html> <html> <head> <meta charset="UTF-8"> <title>Login and Registeration Form Design</title> <link rel="stylesheet" type="text/css" href="signin.css"> <script> function myFunction(){ document.getElementById('demo').innerHTML = document.getElementById('fname').value + " " + document.getElementById('lname').value + " " + document.getElementById('street').value + " "...
This is what I have so far. The out print I am looking for is Date...
This is what I have so far. The out print I am looking for is Date is 7/22/2020 New month: 9 New day: 5 New Year: 2020 Date is 9/5/2020 #include    class Date {    public:        Date::Date(int dateMonth, int dateDay, int dateYear)        month{dateMonth}, day{dateDay}, int dateYear}{}               //void displayDate();         //set month        void Date::setMonth(std::int dateMonth){            month = dateMonth;        }        //retrieve month   ...
So I need to parse tweets with the String class and I have no idea what...
So I need to parse tweets with the String class and I have no idea what should I do for this lab and how to start my coding. It will be nice if anyone guide me what should I do exactly and how I start this lab. Use the Scanner class (as discussed in lecture) to read in a tweet entered by the user and store it in a String variable named tweet. You will be splitting up (parsing) the...
I have to clean up a data spreadsheet to make a histogram, bar chart etc. What...
I have to clean up a data spreadsheet to make a histogram, bar chart etc. What my question is, is if a number on my spreadsheet said 10-15 or 20+ shouldn't I just change those to 15 and 20. Most numbers in my column are whole numbers.   
How to schematize a diagnostic argument? This is what i have so far not sure if...
How to schematize a diagnostic argument? This is what i have so far not sure if its right, need help with this one in order to figure out rest of homework. ----------- IQ: Is drinking milk healthy? (5 items of Support TD or NTD) S1: S2: S3: S4: S5: C1: More than half of the population in north America are lactose intolerant meaning they cannot digest milk properly. C2: Article: https://milk.procon.org/
I just have a random question so what is the relationship between concentration, Economies of scale...
I just have a random question so what is the relationship between concentration, Economies of scale If an industry has high concentration then would EOS be high or low, so would DisEOS would be high or low?
What is ram (in computer desktop)? why do we need ram? so, If I have to...
What is ram (in computer desktop)? why do we need ram? so, If I have to analysis Ram 36 GB (8GB x4) DDR4/ 3000 MHZ. what is 36 GB of ram? what is DDR4? and what is 3000 MHZ?
The code following is what I have so far. It does not meet my requirements. My...
The code following is what I have so far. It does not meet my requirements. My problem is that while this program runs, it doesn't let the user execute the functions of addBook, isInList or compareLists to add, check, or compare. Please assist in correcting this issue. Thank you! Write a C++ program to implement a singly linked list of books. The book details should include the following: title, author, and ISBN. The program should include the following functions: addBook:...
What I have so far is bold. Question: The Mars company claims that 13 percent of...
What I have so far is bold. Question: The Mars company claims that 13 percent of M&M’s plain candies distributed into bags are brown. Investigate this claim with an appropriate hypothesis test. Use a significance level of α = 0.05. 1. What is the parameter of interest in this situation? Brown M&Ms = .13 2. Null hypothesis: Ho: p= .13 3. Alternative hypothesis: Ha: p does not = .13 4. Color Count Brown 7 Non-Brown 49 Total 56 5. What...
This all what I have. Summarizing the three reasons why the food industry needs immigrants. please...
This all what I have. Summarizing the three reasons why the food industry needs immigrants. please do it because the due date in November 1st. Summary Paragraph Assignment Date Due: Sunday, November 1st The purpose of this assignment is to test your summarizing skills and your ability to use sources appropriately in your writing. This assignment is worth 25 points. Requirements of the Assignment: Write a one-paragraph summary of the article, “3 Big Reasons the Food Industry Needs Immigrants”. The...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT