CSC 602 - Assignment 2
CSC 602 - Assignment 2
CSC 602 - Assignment 2
Chris Grenard
Review Questions
Page 29 - #1
Define each of the following key terms:
a. Data – data are the stored objects and events that have a meaningful context and
importance within an organization
b. Information – information is data that is processed so as to increase its users
knowledge
c. Metadata – metadata describes the data types (char, int, date) we expect to receive
in the tuples of a database
d. database application – a program that is used to perform CRUD operations on a
database.
e. Constraint – constraints are added to database so users cannot violate the integrity
of the data. For example, an order cannot be entered for an item if the quantity on-
hand is 0.
f. Database – a file that contains logically related data
g. Entity – Any noun in an organization can possibly be an entity. Customer, Order,
Item, Vendor are all examples of entities.
Page 29 - #3
Contrast the following terms:
a. data dependence; data independence – the separation of data from its descriptions
is the difference between these 2 terms. Data independence separates the data
from its description (metadata) and the applications that use the data.
b. structured data; unstructured data – structured data consists of typed data (char,
int, date), whereas unstructured data can be multimedia, scanned images, etc.
c. data; information – data is the information that is logically stored in a database.
Information is data that is transformed so as to increase the knowledge of the user.
d. repository; database – a database is a file of logically related tuples whereas a
Page 29 - #5
Describe two ways to convert data into information
We can either convert data into information in the correct context, or summarize data in
a graph, report or chart.
Page 29 - #6
List and briefly describe five categories of databases and give an example of each type
1. Personal Databases: PDAs, Microsoft Access on a PC
2. Workgroup Databases: Networked databases used by small groups
3. Departmental/Divisional Databases: Networked databases that support information
needs for medium sized groups (25-100 people)
4. Enterprise Databases: A database whose scope and entities encompass the entire
organization’s business environment.
5. Web Enabled Databases: Databases that support online transaction processing such as
item searches, item orders, shipping information, etc., which allow customers to serve
themselves more efficiently and reduces marketing and customer support costs internally.
Page 30 - #11
Page 30 - #5
Page 31 - #10
Page 31 - #16
Figure 1-10 shows a data model for a pet store.
a. What is the relationship between pet and store? 1:1, 1:M, M:N
b. What is the relationship between customer and pet? 1:1, 1:M, M:N
c. Should there be a relationship between store and customer?
Yes. It should be: 1:1, 1:M, M:N