Docsity

7 Questions for Assignment 1 - Database System | CIT 381, Assignments of Deductive Database Systems

Toggle sidebar
bg1
Jhomer (Domingo) Recometa
10/10/2004
Database Systems
CIT 381 Fall 2004
Homework 1
Due: October 11, 4:30pm
1.) (5 pts) what is the difference between a logical data model and a conceptual
data model? When might you use each of them?
~ Conceptual data models. These models, sometimes called domain models, are typically
used to explore domain concepts with project stakeholders. Conceptual data models are
often created as the precursor to LDMs or as alternatives to LDMs.
~ Logical data models (LDMs). LDMs are used to explore the domain concepts, and their
relationships, of your problem domain. This could be done for the scope of a single project
or for your entire enterprise. LDMs depict the logical entity types, typically referred to
simply as entity types, the data attributes describing those entities, and the relationships
between the entities.
2.) (5 pts) what is a RDBMS? Give one example of a high-end RDBMS, a PC-
based RDBMS, and an Open Source RDBMS.
A relational database management system (RDBMS) is a program that lets you create,
update, and administer a relational database. Relational databases are powerful because
they require few assumptions about how data is related or how it will be extracted from the
database. As a result, the same database can be viewed in many different ways.
High-end RDBMS ~ Oracle, Infomix and DB2 – IBM, and SQL server.
PC-based RDBMS ~ MS ACCESS, Corel Paradox, and FileMaker Pro.
Open Source RDBMS ~ Mysql, Pervasive.SQL, and PostgressSQL..
3.) (10 pts) With respect to generic ER modeling, define the terms entity (classically
referred to as an instance), entity class (classically referred to as an entity), attribute,
attribute value. Give examples of each.
•Entity (classically referred to as an instance) - A thing (object) that is of interest to an
information system. An abstraction of the object that contains those characteristics that
is important to the information system.
•Entity class (classically referred to as an entity) - The common characteristics that
represent a set of entities. The common characteristics of a particular set of entities that
make them distinct from other entities.
•Attribute - A characteristic that helps to describe an object.
•Attribute value - A characteristic of an entity. The value of a particular characteristic.
pf2

Partial preview of the text

Download 7 Questions for Assignment 1 - Database System | CIT 381 and more Assignments Deductive Database Systems in PDF only on Docsity!

Jhomer (Domingo) Recometa

Database Systems

CIT 381 Fall 2004

Homework 1

Due: October 11, 4:30pm

1.) (5 pts) what is the difference between a logical data model and a conceptual

data model? When might you use each of them?

~ Conceptual data models. These models, sometimes called domain models, are typically used to explore domain concepts with project stakeholders. Conceptual data models are often created as the precursor to LDMs or as alternatives to LDMs. ~ Logical data models (LDMs). LDMs are used to explore the domain concepts, and their relationships, of your problem domain. This could be done for the scope of a single project or for your entire enterprise. LDMs depict the logical entity types, typically referred to simply as entity types, the data attributes describing those entities, and the relationships between the entities.

2.) (5 pts) what is a RDBMS? Give one example of a high-end RDBMS, a PC-

based RDBMS, and an Open Source RDBMS.

A relational database management system (RDBMS) is a program that lets you create, update, and administer a relational database. Relational databases are powerful because they require few assumptions about how data is related or how it will be extracted from the database. As a result, the same database can be viewed in many different ways. High-end RDBMS ~ Oracle, Infomix and DB2 – IBM, and SQL server.

PC-based RDBMS ~ MS ACCESS, Corel Paradox, and FileMaker Pro.

Open Source RDBMS ~ Mysql, Pervasive.SQL, and PostgressSQL.. 3.) (10 pts) With respect to generic ER modeling, define the terms entity (classically referred to as an instance), entity class (classically referred to as an entity), attribute, attribute value. Give examples of each.

  • Entity (classically referred to as an instance) - A thing (object) that is of interest to an information system. An abstraction of the object that contains those characteristics that is important to the information system.
  • Entity class (classically referred to as an entity) - The common characteristics that represent a set of entities. The common characteristics of a particular set of entities that make them distinct from other entities.
  • Attribute - A characteristic that helps to describe an object.
  • Attribute value - A characteristic of an entity. The value of a particular characteristic.

4.) (10 pts) With respect to ER modeling, define and give examples of one-to-one, one- to-many, and many-to-many relationships between entities. One-to-one ~ this type of relationship takes place when a single occurrence of an entity is related to just one occurrence of a second entity. For example, a ROOF covers one BUILDING; a BUILDING is covered by one ROOF. One-to-many ~ this type of relationship takes place when many occurrences of an entity are related to many occurrences of a second entity. For example, equipment is allocated to many projects; a project is allocated many times of equipment. Many-to-many ~ many-to-many tend to conceal areas of poor understanding. For example, EQUIOMENT is allocated to many projects; A PROJECT is allocated many items of EQUIPMENT. 5.) (15 pts) Draw an ER diagram for problem 10, chapter 4. Are any of your entities weak? What are the identifying relationships for the weak entity? ON THE OTHER SHEET! 6.) (15 pts) A researcher at the UO wants to collect journals, papers, and the authors of those papers before embarking on her own research. She doesn't need the actual journals or papers, just the names, dates, etc. for reference. Each journal has a name, a publisher, number of times per year it is published. Each article can appear in only one journal and she will keep track of the date it was published. Each article can have one or more authors and each author can contribute to any number of articles. For each author she wants to track the first and last name and affiliation (UO, Microsoft, etc). Draw an ER diagram to model the journals, articles, and authors, including the attributes described above, and the relationships between them. If we are going to develop a relational database what will we have to change with our model and how will we change it? (hint: many-to-many relationship) ON THE OTHER SHEET! 7.) (10 pts) With respect to the relational model, define the terms relation, primary key, foreign key, entity integrity, and referential integrity. RELATION ~ a set of rows that come from the domain of a relation schema. PRIMARY KEY ~ is an attribute or collection of attributes which uniquely identifies each row. FOREIGN KEY ~ a set of attributes of a relation schema that reference the key of another schema. ENTITY INTEGRITY ~ the primary key column of a table cannot contain any null values and each value must be unique. REFERENTIAL INTEGRITY ~ the foreign key column of a relation must contain either nulls or if a value is not null the value must exist as a primary key in the related table.