Template - Midterm Assessment - It-Im 01 (Advanced Database)
Template - Midterm Assessment - It-Im 01 (Advanced Database)
MIDTERM ASSESSMENT
1st Semester, AY 2020-2021
IT-IM 01 (ADVANCED DATABASE SYSTEMS)
NAME: Diether F. Ocampo YR. & SEC.: BSIT-III DATE:10-24-2020 SCORE: ________
DATABASE NORMALIZATION
For the example below we have one big table. Put the table in normalized form.
OID = Order ID, O_Date= Order Date, CID = Customer ID, C_Name = Customer Name,
C_State = Customer’s State, PID = project id, P_Desc =Project Name, P_Price = Product Price,
Qty = Quantity Purchased
4. Final set of Tables with meaningful names and PKs and FKs
In this step, you must name the tables that were created and finalized in 3NF. Table names must have a
meaningful name such that some third party looking at your design will know immediately what that table is
used for. Please be sure to underline the primary keys and put an asterisk (*) at the end of a foreign key. Do not
forget the other attributes and do not do anything special to them. Finally, for a concatenated key, be sure to
underline all attributes of the key and put an asterisk after each one.
2 CLSU NC
2 CLSU NC
6 WUP GA
6 WUP GA
4. Final set of Tables with meaningful names and PKs and FKs
In this step, you must name the tables that were created and finalized in 3NF. Table names must have a
meaningful name such that some third party looking at your design will know immediately what that table is
used for. Please be sure to underline the primary keys and put an asterisk (*) at the end of a foreign key. Do not
forget the other attributes and do not do anything special to them. Finally, for a concatenated key, be sure to
underline all attributes of the key and put an asterisk after each one.
ORDER TABLE
OID O_Date *C_Name P_Desc
1006 10/24/20 CLSU TABLE
1006 10/24/20 CLSU DESK
1006 10/24/20 CLSU CHAIR
1007 10/25/20 WUP COMPUTER
1007 10/25/20 WUP CHAIR
PRODUCT TABLE
PID *P_Desc P_Price Qty
7 TABLE 800 1
5 DESK 325 1
4 CHAIR 200 5
11 COMPUTE 15000 4
R
4 CHAIR 200 6
CUSTOMER TABLE
CID *C_Name C_State
2 CLSU NC
2 CLSU NC
2 CLSU NC
6 WUP GA
6 WUP GA
PRICE TABLE
P_Desc *P_Price Qty
TABLE 800 1
DESK 325 1
CHAIR 200 5
COMPUTE 15000 4
R
CHAIR 200 6