Question 4: A bus company is responsible for offering public transportation in the suburbs of a larg metropolitan area.
Posted: Fri Apr 29, 2022 6:38 am
Also, solve this
Question 4: A bus company is responsible for offering public transportation in the suburbs of a larg metropolitan area. The company has significant data management requirements: It needs to keep of its 150 vehicles, 400 drivers, 60 bus routes, and hundreds of scheduled departures every day. In addition, it is essential for the company to know which drivers are certified to drive which buses. The data that the company has available includes the following attributes: RouteID, Route StartPoint, RouteEndPoint, RouteStandardDrivingTime, ScheduleDate,ScheduledDepTime, ScheduledArrTime, DriverlD, DriverFName, DriverLName, DateDriverjoined Company, DriverDOB, VehicleID, VehicleMake, VehicleModel, VehiclePassangerCapacity, DriverCertStartDate, DriverCertEndDate. Sample data for this set of attributes are as follows: 28, Grand Avenue, Madison Street, 38, {9/12/2015, 8.30, 9.18, 8273, Mary, Smith, 5/2/2007,3/23/ 1123, GreatTrucks, CityCoach, 58, 6/10/2015, 6/9/2016 | 9/12/2015, 9.30, 10.12, 7234, John, Jones 10/12/2011, 12/15/1991, 5673, GreatTrucks, CityCoach 2, 62, 4/12/2015, 4/11/2016 [9/12/2015, 10.30, 11.08 2343, Pat, Moore, 2/24/1982, 1/19/1958, 4323, PowerTransport, MidiBus, 32, 8/20/2015, 8/19/201 Note that the information for specific bus schedules (starting with the attribute ScheduleDate) is repeated three times in the sample data set and is separated by the “I” symbol. Also, take into acca that, in this case, the certification is specific to a particular vehicle driver pair. Based on the facts stated above. a) Identify the functional dependencies between the attributes. b) Identify the reasons why this set of data is not in 3NF and indicate the normal form (if any) in. c) Including all intermediate stages, organize the attributes into a set of 3NF relations.
uestion 3 : Consider the two relations given below 1) ii) R(A, B, C,D) with FD's AB → C, C 7D, and D → A R(A, B, C, D, E) with FD's AB → C, DE → C, and B →D For each of the above relations do the following a) Specify all the keys. b) Specify 5 Superkeys that are not keys. c) Check if the relation is in BCNF. If not, then indicate all the BCNF violations, d) Decompose the relation into collections of relations that are in BCNF. e) Indicate all the 3NF violations. f) Decompose the relations, as necessary, into collections of relations that are in 3NF.
Question 4: A bus company is responsible for offering public transportation in the suburbs of a larg metropolitan area. The company has significant data management requirements: It needs to keep of its 150 vehicles, 400 drivers, 60 bus routes, and hundreds of scheduled departures every day. In addition, it is essential for the company to know which drivers are certified to drive which buses. The data that the company has available includes the following attributes: RouteID, Route StartPoint, RouteEndPoint, RouteStandardDrivingTime, ScheduleDate,ScheduledDepTime, ScheduledArrTime, DriverlD, DriverFName, DriverLName, DateDriverjoined Company, DriverDOB, VehicleID, VehicleMake, VehicleModel, VehiclePassangerCapacity, DriverCertStartDate, DriverCertEndDate. Sample data for this set of attributes are as follows: 28, Grand Avenue, Madison Street, 38, {9/12/2015, 8.30, 9.18, 8273, Mary, Smith, 5/2/2007,3/23/ 1123, GreatTrucks, CityCoach, 58, 6/10/2015, 6/9/2016 | 9/12/2015, 9.30, 10.12, 7234, John, Jones 10/12/2011, 12/15/1991, 5673, GreatTrucks, CityCoach 2, 62, 4/12/2015, 4/11/2016 [9/12/2015, 10.30, 11.08 2343, Pat, Moore, 2/24/1982, 1/19/1958, 4323, PowerTransport, MidiBus, 32, 8/20/2015, 8/19/201 Note that the information for specific bus schedules (starting with the attribute ScheduleDate) is repeated three times in the sample data set and is separated by the “I” symbol. Also, take into acca that, in this case, the certification is specific to a particular vehicle driver pair. Based on the facts stated above. a) Identify the functional dependencies between the attributes. b) Identify the reasons why this set of data is not in 3NF and indicate the normal form (if any) in. c) Including all intermediate stages, organize the attributes into a set of 3NF relations.
uestion 3 : Consider the two relations given below 1) ii) R(A, B, C,D) with FD's AB → C, C 7D, and D → A R(A, B, C, D, E) with FD's AB → C, DE → C, and B →D For each of the above relations do the following a) Specify all the keys. b) Specify 5 Superkeys that are not keys. c) Check if the relation is in BCNF. If not, then indicate all the BCNF violations, d) Decompose the relation into collections of relations that are in BCNF. e) Indicate all the 3NF violations. f) Decompose the relations, as necessary, into collections of relations that are in 3NF.