ITE 302 SemiFinal Exam

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

SOUTHERN PHILIPPINES COLLEGE

Julio Pacana Street Cagayan de Oro City

COLLEGE OF COMPUTER STUDIES


Subject: ITE302 –DBMS
Instructor: Belderol, Arthur Jorge
SemiFinal Exam

Name: JIRO LOBATON


Date: November 26, 2022
Permit Number: NO PERMIT

Instructions: True or False. Write T if the statement True and F if the statement is False.(20 points)

T 1. Normalization is the process of organizing the data in the database.


T 2. In Transitive Rule, if X determines Y and YZ determines W, then XZ determines W.
T 3. Decomposition rule is also known as project rule.
F 4. Union rule says, if X determines Y and X determines Z, then X must also determine Y and Z.
F 5. In the Pseudo transitive rule, if X determines Y and Y determine Z, then X must also determine Z.
T 6. The augmentation is also called as a partial dependency.
T 7. Armstrong's axioms are used to include functional dependencies on a relational database.
T 8. The functional dependency is a relationship that exists between two attributes. It typically exists between the
primary key and non-key attribute within a table.
T 9. If the information is not lost from the relation that is decomposed, then the decomposition will be lossless.
T 10. Decomposition is used to eliminate some of the problems of bad design like anomalies, inconsistencies, and
redundancy.

STUD_ID Name AGE INS_ID SUBJECT INS_NAME


10001 Arnel 21 1 English Ruby
10002 Jade 23 2 Science Faith
10003 Cris 20 3 Math Grace
10004 Bogart 26 3 Math Grace
10005 Anton 21 4 History Karen
10006 Jason 22 1 English Ruby
10007 Dick 24 3 Math Grace
Table 1.1

Instructions: Normalize the table 1.1 using 2nf principle.(20)

STUD_ID Name AGE


10001 Arnel 21
10002 Jade 23
10003 Cris 20
10004 Bogart 26
10005 Anton 21
10006 Jason 22
10007 Dick 24
INS_ID INS_NAME SUBJECT
1 Ruby English
2 Faith Science
3 Grace Math
3 Grace Math
4 Karen History
1 Ruby English
3 Grace Math

SCHOOL_ID STUD_ID INS_ID


1 10001 1
2 10002 2
3 10003 3
3 10004 3
4 10005 4
1 10006 1
3 10007 3

Instructions: Normalize the table 1.1 using 3nf principle.(20)

INS_ID
1
2
3
3
4
1
3

STUD_ID
10001
10002
10003
10004
10005
10006
10007
Table 1.2
STUD_ID STUD_Name INS_ID INS_NAME SUB_ID Subject Grade_lvl
10001 Arnel 103 Ruby 1 English 1
10002 Jade 102 Faith 2 Science 2
10003 Cris 101 Grace 3 Math 3
10004 Bogart 101 Grace 3 Math 4
10005 Anton 104 Karen 4 History 5
10006 Jason 103 Ruby 1 English 6
10007 Dick 101 Grace 3 Math 2

Instructions: Decompose and show the relation of the table 1.2 and explain your answer.(20)

STUD_ID STUD_Name Grade_lvl


10001 Arnel 1
10002 Jade 2
10003 Cris 3
10004 Bogart 4
10005 Anton 5
10006 Jason 6
10007 Dick 2

INS_ID INS_NAME Subject


103 Ruby English
102 Faith Science
101 Grace Math
101 Grace Math
104 Karen History
103 Ruby English
101 Grace Math

STUD_ID STUD_Name Grade_lvl INS_ID INS_NAME Subject


10001 Arnel 1 103 Ruby English
10002 Jade 2 102 Faith Science
10003 Cris 3 101 Grace Math
10004 Bogart 4 101 Grace Math
10005 Anton 5 104 Karen History
10006 Jason 6 103 Ruby English
10007 Dick 2 101 Grace Math

You might also like