Description
College of Computing and Informatics
Project
Deadline: Day 15/5/2024 @ 23:59
[Total Mark is 14]
Student Details:
CRN:
Name:
Name:
Name:
Name:
ID:
ID:
ID:
ID:
Instructions:
• You must submit two separate copies (one Word file and one PDF file) using the Assignment Template on
Blackboard via the allocated folder. These files must not be in compressed format.
• It is your responsibility to check and make sure that you have uploaded both the correct files.
• Zero mark will be given if you try to bypass the SafeAssign (e.g. misspell words, remove spaces between
words, hide characters, use different character sets, convert text into image or languages other than English
or any kind of manipulation).
• Email submission will not be accepted.
• You are advised to make your work clear and well-presented. This includes filling your information on the cover
page.
• You must use this template, failing which will result in zero mark.
• You MUST show all your work, and text must not be converted into an image, unless specified otherwise by
the question.
• Late submission will result in ZERO mark.
• The work should be your own, copying from students or other resources will result in ZERO mark.
• Use Times New Roman font for all your answers.
Restricted – مقيد
Instructions
Pg. 01
Learning
Outcome(s): 4
Instructors:
Develop a
standard
database using
DBMS
Instructions
Suppose you are a database administrator, and you have been asked to create a new
database. Create your database scenario and abide with the following instructions:
•
Each group can have a minimum of 3 and a maximum of 4 students.
•
You must use MySQL for database creation and manipulation.
•
Create ONE database scenario. All your answers should be according to the
selected scenario.
•
Restricted – مقيد
Support your answer with a detailed explanation and screenshots.
Description
Pg. 02
Description
Part 1: Database Description and Design
1. Describe your database scenario with at least 4 Entities (Do not choose any
database, which we studied in lab or lecture). (1 Mark)
2. Design an Entity Relationship (ER) diagram to capture the scenario
requirements. Make sure cardinalities, relationships, and primary keys are clear.
State any assumptions that may affect the ER diagram. Your ER should include
at least 3 entities and 1 “Many-to-many” relationship. (2 Marks)
3. Convert the ER diagram to Class diagram. (1 Mark)
Part 2: Create and Populate Relations
1. Map the ER diagram to a relational model and create the relations in MySQL.
(1 Mark)
2. Enter at least 10 tuples for each relation. Your solution should include the
screenshots of your relations with data. (1 Mark)
Restricted – مقيد
Description
Pg. 03
Part 3: Indexes and Queries
1. Write any retrieval query that includes a SELECTION condition and show how
MySQL internally performed this query. (1 Mark)
2. Create an index for the same column used in the previous SELECTION
condition. (1 Mark)
3. Repeat the same retrieval query in the 1st step in this part and show how
MySQL internally performed the query this time. Discuss how the created
index improves the performance of your database. (1 Mark)
4. Write any retrieval query that includes at least one JOIN condition and one
SELECTION condition and show the result of this query. (1 Mark)
5. Show the Query Statistics and Execution Plan for the above query. (1 Mark)
Part 4: Roles and Privileges
1. Create two roles and assign the following privileges to the roles: (1 Mark)
o
Give all privileges to the first role.
o
Give only INSERT and SELECT privileges to the second role who can
further assign the same privileges to others.
2. Create two accounts and assign the above roles to the created accounts (each
account with a different role). (1 Mark)
3. Verify the privileges assigned to each account. (1 Mark)
Restricted – مقيد
Purchase answer to see full
attachment
Project
Deadline: Day 15/5/2024 @ 23:59
[Total Mark is 14]
Student Details:
CRN:
Name:
Name:
Name:
Name:
ID:
ID:
ID:
ID:
Instructions:
• You must submit two separate copies (one Word file and one PDF file) using the Assignment Template on
Blackboard via the allocated folder. These files must not be in compressed format.
• It is your responsibility to check and make sure that you have uploaded both the correct files.
• Zero mark will be given if you try to bypass the SafeAssign (e.g. misspell words, remove spaces between
words, hide characters, use different character sets, convert text into image or languages other than English
or any kind of manipulation).
• Email submission will not be accepted.
• You are advised to make your work clear and well-presented. This includes filling your information on the cover
page.
• You must use this template, failing which will result in zero mark.
• You MUST show all your work, and text must not be converted into an image, unless specified otherwise by
the question.
• Late submission will result in ZERO mark.
• The work should be your own, copying from students or other resources will result in ZERO mark.
• Use Times New Roman font for all your answers.
Restricted – مقيد
Instructions
Pg. 01
Learning
Outcome(s): 4
Instructors:
Develop a
standard
database using
DBMS
Instructions
Suppose you are a database administrator, and you have been asked to create a new
database. Create your database scenario and abide with the following instructions:
•
Each group can have a minimum of 3 and a maximum of 4 students.
•
You must use MySQL for database creation and manipulation.
•
Create ONE database scenario. All your answers should be according to the
selected scenario.
•
Restricted – مقيد
Support your answer with a detailed explanation and screenshots.
Description
Pg. 02
Description
Part 1: Database Description and Design
1. Describe your database scenario with at least 4 Entities (Do not choose any
database, which we studied in lab or lecture). (1 Mark)
2. Design an Entity Relationship (ER) diagram to capture the scenario
requirements. Make sure cardinalities, relationships, and primary keys are clear.
State any assumptions that may affect the ER diagram. Your ER should include
at least 3 entities and 1 “Many-to-many” relationship. (2 Marks)
3. Convert the ER diagram to Class diagram. (1 Mark)
Part 2: Create and Populate Relations
1. Map the ER diagram to a relational model and create the relations in MySQL.
(1 Mark)
2. Enter at least 10 tuples for each relation. Your solution should include the
screenshots of your relations with data. (1 Mark)
Restricted – مقيد
Description
Pg. 03
Part 3: Indexes and Queries
1. Write any retrieval query that includes a SELECTION condition and show how
MySQL internally performed this query. (1 Mark)
2. Create an index for the same column used in the previous SELECTION
condition. (1 Mark)
3. Repeat the same retrieval query in the 1st step in this part and show how
MySQL internally performed the query this time. Discuss how the created
index improves the performance of your database. (1 Mark)
4. Write any retrieval query that includes at least one JOIN condition and one
SELECTION condition and show the result of this query. (1 Mark)
5. Show the Query Statistics and Execution Plan for the above query. (1 Mark)
Part 4: Roles and Privileges
1. Create two roles and assign the following privileges to the roles: (1 Mark)
o
Give all privileges to the first role.
o
Give only INSERT and SELECT privileges to the second role who can
further assign the same privileges to others.
2. Create two accounts and assign the above roles to the created accounts (each
account with a different role). (1 Mark)
3. Verify the privileges assigned to each account. (1 Mark)
Restricted – مقيد
Purchase answer to see full
attachment