0% found this document useful (0 votes)
17 views7 pages

Final Exam ITDB101 AY 2021-22 Sem2

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views7 pages

Final Exam ITDB101 AY 2021-22 Sem2

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Total Mark: 12 Duration: 40 minutes

THEORY PART

PART: A

MULTIPLE CHOICE (9 x 0.5 = 3.50 marks)

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

2. _________ attribute is also called as a single-valued attribute.


A. Derived
B. Simple
C. Composite
D. Multivalued

3. To ensure_______________________, it is required that every table has a primary key.


A. entity integrity
B. domain integrity
C. referential integrity
D. check

4. Functional dependency is a relationship that exist between two or more______________.


A. entities
B. rows
C. attributes
D. tables

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

SHORT ANSWER (8.5 marks)

Answer all the questions briefly and clearly.

8. What is Data Redundancy? Mention problems that it causes? (1.5 marks)

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)

11. Explain any one of NoSQL databases. (2 marks)

12. Draw any example of one-to-many binary relationship. (1.5 marks)

Page 3 of 7
PART C: LONG ANSWER

Total Mark: 38 Duration: 80 minutes

PRACTICAL PART

Name: _______________________________________ ID Number: ___________________


Section: ___________________ Computer No: _________________
General Instructions:

 Create a folder in DESKTOP and name it as FE_ID_YOURNAME. Example: FE_66S1234_AHMED


 Save your files in the folder.
 Please DON’T LOG-OFF or SHUTDOWN your computer after the examination to avoid losing your
file/s.

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:

CUSTOMER: CustID (identifier), Cname, Email, and Address.

PRODUCT: ProdID (identifier), PName, and Color.

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)

Table Name Primary Key Foreign Key (if any)

c) Draw the ERD after third normal form. (5 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

a. Key-Value database schema (2.1 marks)

b. Document-Oriented database schema (2.9 marks)

Page 7 of 7

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy