Professional Documents
Culture Documents
Uphold Academic Integrity.: Applied Database Systems Prelim Quiz
Uphold Academic Integrity.: Applied Database Systems Prelim Quiz
Prelim Quiz
Uphold academic integrity.
I-Write TRUE if the statement is true; otherwise, FALSE. (Rx2 )
1. A table consists of zero or more columns and zero or more rows.
2. Column and row order is insignificant.
3. A foreign key column cannot contain duplicate values.
4. Every table has a foreign key.
5. A table can have both a primary and a foreign key.
6. Column with the same name can exist in a database.
7. An entity type may have more than one primary key.
8. In a file based system, there is proliferation of application programs.
9. A database system defines and manages its own data.
10. A DBMS is a shared collection of logically related data and a description of this data.
II- Match column A with column B. Write the letter only. (Rx2)
Column A
1. Data Definition Language
2. security system
3. integrity system
4. primary key
5. relationship
6. attribute
7. referential integrity
8. foreign key
9. Data Manipulation Lauguage
10.entity
Column B
a. maintains consistency of stored data
b. abstract or concrete thing in the real
world
c. foreign key must either match the
primary key or be null
d. prevents unauthorized access
e. a column in a table that is a primary key
in another table
f. allows processing of data in the database
g. uniquely identifies each row in a table
h. allows data in the database to be defined
i. another tern for column
j. an association between two entities
k. uniquely identifies each column in a
table
EMP. NAME
NN
AMY TAN
MARIO LIM
JANE CHU
ITEM
ITEM NO.
PK, SA
1
2
3
UPRICE
NN
6500.00
5375.00
25.50
ITEM NAME
NN
PRINTER
MONITOR
DISKETTE
STORE
STORE NO. STORE NAME
PK, SA
NN
SSS NO.
ND
3456789
7890123
6789012
CITY NO.
NN, FK
1
2
3
CITY
CITY NO.
PK, SA
1
2
3
NAME
NN
CEBU
DAVAO
BACOLOD
ITEM-STORE
ITEM NO. STORE NO.
PK, FK1
PK, FK2
1
1
1
2
1
3
2
1
2
3
3
1
3
2
3
3
3
1
3
QTY
NN
10
0
156
2
500
122
50
333