Author Question: What are the rules for naming and defining attributes? What will be an ideal ... (Read 36 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?

The first-known contraceptive was crocodile dung, used in Egypt in 2000 BC. Condoms were also reportedly used, made of animal bladders or intestines.

Did you know?

When Gabriel Fahrenheit invented the first mercury thermometer, he called "zero degrees" the lowest temperature he was able to attain with a mixture of ice and salt. For the upper point of his scale, he used 96°, which he measured as normal human body temperature (we know it to be 98.6° today because of more accurate thermometers).

Did you know?

Warfarin was developed as a consequence of the study of a strange bleeding disorder that suddenly occurred in cattle on the northern prairies of the United States in the early 1900s.

Did you know?

Many people have small pouches in their colons that bulge outward through weak spots. Each pouch is called a diverticulum. About 10% of Americans older than age 40 years have diverticulosis, which, when the pouches become infected or inflamed, is called diverticulitis. The main cause of diverticular disease is a low-fiber diet.

Did you know?

Hip fractures are the most serious consequences of osteoporosis. The incidence of hip fractures increases with each decade among patients in their 60s to patients in their 90s for both women and men of all populations. Men and women older than 80 years of age show the highest incidence of hip fractures.

For a complete list of videos, visit our video library