Author Question: What are the rules for naming and defining attributes? What will be an ideal ... (Read 37 times)

daltonest1984

  • Hero Member
  • *****
  • Posts: 536
What are the rules for naming and defining attributes?
 
  What will be an ideal response?

Question 2

A ________ is an attribute that appears as a non-primary key attribute in one relation and as a primary key attribute (or part of a primary key) in another relation.
 
  A) Referential integrity
  B) Primary key
  C) Foreign key
  D) Unique key



Sassygurl126

  • Sr. Member
  • ****
  • Posts: 320
Answer to Question 1

Name attributes using the following guidelines:
 An attribute name is a noun.
 An attribute name should be unique.
 To make an attribute name unique and for clarity, each attribute name should follow a standard format.
 Similar attributes of different entity types should use similar but distinguishing names.
 An attribute definition states what the attribute is and possibly why it is important.
 An attribute definition should make it clear what is included and what is not included in the attribute's value.
 Any aliases, or alternative names, for the attribute can be specified in the definition.
 It may also be desirable to state in the definition the source of values for the attribute.
 An attribute definition should indicate if a value for the attribute is required or optional.
 An attribute definition may indicate if a value for the attribute may change once a value is provided and before the entity instance is deleted.
 An attribute definition may also indicate any relationships that attribute has with other attributes.

Answer to Question 2

C



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
 

Did you know?

In the United States, there is a birth every 8 seconds, according to the U.S. Census Bureau's Population Clock.

Did you know?

Russia has the highest death rate from cardiovascular disease followed by the Ukraine, Romania, Hungary, and Poland.

Did you know?

People with alcoholism are at a much greater risk of malnutrition than are other people and usually exhibit low levels of most vitamins (especially folic acid). This is because alcohol often takes the place of 50% of their daily intake of calories, with little nutritional value contained in it.

Did you know?

According to research, pregnant women tend to eat more if carrying a baby boy. Male fetuses may secrete a chemical that stimulates their mothers to step up her energy intake.

Did you know?

Alzheimer's disease affects only about 10% of people older than 65 years of age. Most forms of decreased mental function and dementia are caused by disuse (letting the mind get lazy).

For a complete list of videos, visit our video library