Professional Documents
Culture Documents
MG-651-Managing Web and Database Technology Assignment - 1 Soham Brahmbhatt
MG-651-Managing Web and Database Technology Assignment - 1 Soham Brahmbhatt
Database
Technology
Assignment -1
Soham Brahmbhatt
Assignment 1
Ans (Q.)1
a) There is many to many relations between student and course which mean one student
can register for multiple courses as well as one course can select by multiple students.
Diagram:
Students
Courses
b) There is one to many relations between book and copy that indicates that one book have
multiple copies and each copy have one book.
Diagram:
Book
Copy
c) There is one to many relations between course and section which means that each course
has multiple sections. Whereas each section is for one course .
Diagram:
Course
Section
d) There is many to many relations between section and room. Which mean many section
schedules in one room as well as one section schedule in more than one room.
Room
Section
e) There is one to many relation between instructor and course means one instructor take
multiple course and more than one course are taken by instructor
Instructor
Course
Full Diagram:
Student
Course
Room
Section
Book
Book copy
Instructor
Ans (Q)3.
The three other meta data characteristics for the listed attributes are where the data stored,
ownership and usage.
Name
Type
Course
Alpha.
Len
gth
30
Des.
Section
Integer
Semeste
r
Name
Alpha.
10
Alpha.
30
Course
Id
Section
no.
Sem. &
year
Name
ID
Integer
SSN
Major
Alpha.
Major
GPA
Decimal
Grade
Min Ma
x
0.0
Source
Owner
DBA
Academi
c
Register
DBA
4.0
Student
IS
Student
IS
Student
IS
Student
IS
Register
Admin
DBA
Admin
Stored
Usage
Ans (Q.) 5
We can consider different entities for student club which are define as below.
1) Student
Attribute: student_id, name, address, description, course, major, semester, score.
2) Assignment :
Attributes: ID, description, due_date,file_id
3) Discussion
Attributes: ID, topic, description
4) News
Attributes: ID, create_date, update_date, title, description
5) Thread
Attributes: ID, create_date, update_date, student_id, discussion_id
6) Thread comment
Attributes: ID, create_date, update_date, student_id, thread_id, description
Diagram:
Thread
Thread
comment
Student
Assignments
Discussion
News
Ans (Q) 6.
a. Drivers name, address and birthday are the data and type of this data is structured data
types.
b. This is metadata and it describes the property of data called length.
c. This is metadata and it describes property called type.
d. This is data and type of data is unstructured data.
e. This is metadata and this represented context of data.
f. This is data and type is unstructured.
g. This is metadata and that represent property of data.
Ans(Q) 8
a. The relationship between pet and store is one to one.
b. The relationship between customer and pet is one to many.
c. I think there is relationship between customer and store is one to one.