You are on page 1of 2

Applied Database Systems

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

III- Given the following relational model:


EMPLOYEE
EMP. NO.
STORE NO.
PK, SA
FK, NN
1
1
2
1
3
2

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

XYZ STORE BACOLOD


XYZ TRADING
ABC ENTERPRISES

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

Determine whether each of the following is True or False:


1. Employee numbers may be duplicated.
2. An item number is assigned by the system.
3. An employee can be assigned to only one store.
4. A city can have only one store.
5. In the ITEM-STORE table, store numbers must not be null.
6. A store can sell more than one item.
7. City names must be unique.
8. An SSS number may be null.
9. A relationship exists between item and store.
10. A relationship exists between employee and city.
/jep

You might also like