0% found this document useful (0 votes)
14 views3 pages

Review 01

The document discusses database concepts including: 1) A database is an organized collection of logically related data. Key concepts include entities, attributes, relationships, and metadata. 2) Program-data dependence is caused by data descriptions being stored separately from programming code. This allows program-data independence and better maintenance. 3) Entity-relationship diagrams are used to model the relationships between entities (objects) and their attributes in a database.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views3 pages

Review 01

The document discusses database concepts including: 1) A database is an organized collection of logically related data. Key concepts include entities, attributes, relationships, and metadata. 2) Program-data dependence is caused by data descriptions being stored separately from programming code. This allows program-data independence and better maintenance. 3) Entity-relationship diagrams are used to model the relationships between entities (objects) and their attributes in a database.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

PART I

1) A database is an organized collection of ________ related data.


A) logically C) loosely
B) physically D) badly
2) Program-data dependence is caused by:
A) file descriptions being stored in each C) data descriptions being written into
database application. programming code.
B) data descriptions being stored on a server. D) data cohabiting with programs.
3) A graphical system used to capture the nature and relationships among data is called a(n):
A) XML data model. C) relational database
B) hypertext graphic. D) data model.
4) Data that describe the properties of other data are:
A) relationships.
B) logical.
C) physical.
D) metadata.
5) A person, place, object, event, or concept about which the organization wishes to maintain
data is called a(n):
A) relationship. C) attribute.
B) object. D) entity.
6) With the database approach, data descriptions are stored in a central location known as a:
A) server. C) PC.
B) mainframe. D) repository.
7) Which of the following is NOT an advantage of database systems?
A) Redundant data
B) Program-data independence
C) Better data quality
D) Reduced program maintenance
8) Languages, menus, and other facilities by which users interact with the database are
collectively called a(n):
A) client. C) icon.
B) user interface. D) development environment
10) The most common types of entities are:
A) strong entities. C) associative entities.
B) weak entities. D) smush entities.
11) A relationship where the minimum and maximum cardinality are both one is a(n)
________ relationship.
A) optional C) mandatory link
B) unidirectional D) mandatory one
12) The following figure shows an example of:
A) a one-to-many relationship.
B) a strong entity and its associated weak
entity.
C) a co-dependent relationship.
D) a double-walled relationship.
13) A relationship between the instances of a single entity type is called a ________
relationship.
A) ternary C) binary
B) primary D) unary
14) In the following diagram, which of the answers below is true?

A) Each patient has one or more patient histories.


B) Each patient has one and only one visit.
C) Each patient history belongs to zero and one patient.
D) Each patient history belongs to many patients.
15) In the figure shown below, which of the following business rules would apply?

A) Each vendor can supply many parts to any number of warehouses, but need not supply any parts.
B) Each part must be supplied by exactly one vendor to any number of warehouses.
C) Each warehouse can be supplied with any number of parts from more than one vendor, and each
warehouse could be supplied with no parts.
D) VENDOR is not allowed.
16) In the following diagram, which answer is true?

A) Each employee can supervise one employee, no employees or many employees.


B) Each employee can manage many departments.
C) Each employee works in more than one department.
D) Each employee was fired.
PART II
1. The Library of the University of Economics needs to build a database
to manage library transactions like registering library cards, borrowing, and
returning books. (3pts)
 Library has books
 Library often has multiple copies of the same book
 Library loan out books to its members
 Members has to be registered before books are issued
 Each member need to pay a fixed monthly subscription fee
 Members are allowed keep maximum 2 books at any given time
 Library has administrative staff to assist the process
 Library has Books of various categories: Poetry, Religion, Philosophy, Politics,
Technology, Fiction, Thrillers, Travel writing.
 Books may be searched by its ‘title’, ‘author’, ‘category’ or ‘publisher’
Based on the above assertions and rules, develop an ER (or EER) model that capture
entities, identifiers, attributes and relationships.
2. Assume we got a functional dependencies diagram as follow: (3pts)
a) Assume all the attributes is atomic, in what normal form is this relation?
b) Define functional dependencies in the diagram
c) Decompose the diagram into a set of 3NF relations.

You might also like