Assignment - 3 (CLO-C3) : CSC371: Database Systems - Spring 2019
Assignment - 3 (CLO-C3) : CSC371: Database Systems - Spring 2019
Assignment – 3 [CLO-C3]
Deadline: 11:59:59 pm, April 27, 2019 Max. Marks: 20
1a- R1(A,C,B,D,E)
A → B, C → D
1b- R2(A,B,F)
AB → F, B → F
A → B, C → D, D → EF
1d- R5(A,B,C,D,E)
D → B, CE → A
1e- R6(A,B,C,D,E)
A → E, BC → A, DE → B
Problem-2: Given below is the set of functional dependencies for the relational schema: R = (A, B, C, D,
E, F, G) [2.5]
A, B → C
B, C → D
A, E → F, G
2b- Decompose the relation into a set of relations that are in BCNF.
Problem-3: Given below is the set F of functional dependencies for the relational schema: R = (A, B, C, D,
E, F) [2.5]
A→B
B → C, D
D → F, A
3b- Now decompose these relations into a set of relations that are in BCNF
Entity Relationship Modeling
For each of the following problems, first create an entity relationship (ER) diagram and then convert it into
a relational database schema
▪ We have students; each student has a unique ID, name, address, gender, major, and overall GPA
▪ We have courses, each course has a unique CourseID, title, and number of credits
▪ Students will register in courses in certain semesters. We need to keep track of the grade that a
student has received in a given course. The model should allow a student to take the same course
in different semesters.