Final Exam ITDB101 AY 2021-22 Sem2
Final Exam ITDB101 AY 2021-22 Sem2
THEORY PART
PART: A
Encircle the letter of the correct answer that corresponds to the given statement.
1. ________________ is an advantage of the database approach where many users can access
data at the same time and ensure updates are correct.
A. Program-Data Independence
B. Reduced Data Redundancy
C. Enforcing Integrity Constraints
D. Concurrent Access
5. A table is said to be in 2nd normal form, if it is in 1st normal form and there is no_________.
A. partial functional dependencies
B. full functional dependencies
C. transitive dependencies
D. multivalued dependencies
6. If the table/relation has only one non-key attribute, then the table/relation is in ________
normal form.
A. first
B. second
C. third
D. fourth
Page 1 of 7
7. Data stored in NoSQL databases can be ________________.
A. structured
B. semi-structured
C. unstructured
D. All of the above
PART: B
9. Draw the notation (Symbol) of the following in the given space below. (2 marks)
In ERD Symbol
Simple Attribute
Derived Attribute
Multivalued Attribute
Relationship
Page 2 of 7
10. Define normalization. (1.5 marks)
Page 3 of 7
PART C: LONG ANSWER
PRACTICAL PART
13. Draw an Enhanced Entity Relationship diagram (EERD) for the below scenario. Identify entities,
attributes of each entity (including superclass and subclasses), relationships, relationship attribute
(if any), keys, and the minimum and maximum relationship cardinalities. Use the online tool
https://erdplus.com/standalone and export your file as an image file. Then, save the file with the name
your ID_Q13 in the created folder. (6 marks)
Nike Store Oman wants to record details about the following important entities and their attributes:
A CUSTOMER must order one or more PRODUCTS. And, a PRODUCT may be ordered by many
CUSTOMERS or may not be ordered at all. The OrderDate attribute is recorded everytime a PRODUCT
is ordered by a CUSTOMER.A PRODUCT has different types. Some of them are: SHOES with a Size
attribute, and BAGS with a Dimension attribute. Shoes as a product is not the same as the bags.
Page 4 of 7
14. Transform the below EER Model to Relational Schema. (9 marks)
Page 5 of 7
15. Normalization (18 marks)
a) Normalize the given table into first, second and third normal form. Identify the primary key for
each table and set the foreign key to link the table. Use the excel file in the folder FE_ITDB101 on the
desktop. Save your file as Your ID_Name in the created folder. (9 marks)
UNIT_CLIENT
Unit Building Std Unit Contract Client Client Unit Owner Owner
No Price Area Date ID Name Location ID Name
AH-11 Gold Souq 100 50 28/12/2018 C1 Jafar Sohar 1 Al Omeri
sqm 2/1/2019 C2 Golda
SH-13 Diamond 500 80 5/1/2017 C3 Ali Shinas 2 AE Build
sqm 2/1/2020 C4 Sultan
AH-15 Mars Bldg 300 60 6/1/2019 C5 Toys R Us Bharka 3 OM Corp
sqm 28/12/2020 C1 Jafar
29/12/2015 C3 Ali
SH-22 Oasis 200 30 2/1/2018 C1 Jafar Muscat 1 Al Omeri
sqm 4/1/2020 C6 Baskin
b) In the below given table, identify the correct table names & Keys after 3NF. (4 marks)
Use the online tool https://erdplus.com/standalone and export your file as an image file. Then, save the
file with the name your ID_Q15(C) in the created folder.
Page 6 of 7
16. Convert the below BOOK relation into: (5 marks)
BookID BookTitle Author Edition
10 Programming 1 Deitel 9
20 Writing in Arabic Ali Sultan 4
Page 7 of 7