cgs2545 - assignment 2

Upload: alex-henry

Post on 01-Jun-2018

223 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/9/2019 CGS2545 - Assignment 2

    1/6

    WebCT Assignment #2

    1. Data modeling may be the most important part of the systems development processbecause:a) It is the easiest

    b) Data are less stable than processes.c) Data characteristics are important in the design of programs and othersystems components

    d) The data in a system are generally less complex than processes, and play acentral role in development

    2. A business rule:a) Defines or constrains some aspect of the businessb) Asserts business structurec) Controls or influence the behavior of the businessd) All of the above

    3. Business rules should be determined primarily by interviewing executives in the

    business.a) Trueb) FalseREASON: Business rules should be determined from many sources, including

    policies, manuals, contracts, and brochures.4. The common types of entities are:

    a) Strong entitiesb) Weak entitiesc) Associative entitiesd) All of the above

    5. A property or characteristic of an entity type that is of interest to the organization iscalled a(n):a) Relationshipb) Cross-functionc) Coexisting entityd) attribute

    6. A relationship is an association between attributes.a) Trueb) FalseREASON: A relationship is an association between entity types.

    7. A good data name should be:

    a) Readable, repeatable and technicalb) Meaningful, technical, and uniquec) Repeatable, short, and meaningfuld) readable, unique, and repeatableREASON: These are just a few of the characteristics of a good data name.

    8. A multivalued attribute is an attribute that is common to many entities.a) Trueb) FalseREASON: A multivalued attribute is an attribute that may take on more than one

  • 8/9/2019 CGS2545 - Assignment 2

    2/6

    value for a given entity instance.9. The following figure shows an example of:

    a) A strong entity and its associated weak entity

    b) A one-to-many relationshipc) A co-dependant relationshipd) A double-walled relationship

    10. A person's name, birthday, and social security number are all examples of:a) Entitiesb) Descriptorsc) Relationships

    d) Attributes11. A(n) _____ is the relationship between a weak entity type and its owner.

    a) associative entityb) jump pathc) chain linkd) identifying relationship

    12. The _____ specifies the number of instances of one entity that can (or must) beassociated with each instance of another entity.a) multivalued attributeb) entity instance

    c) cardinality constraintd) associative entityREASON: A minimum or maximum cardinality may be defined for relationships.

    13. The degree of a relationship is the number of entity types that participate in arelationship.a) True

    b) FalseREASON: The three most common relationship degrees are unary, binary, and

    ternary.14. A ternary relationship is a simultaneous relationship between more than three entity

    types.

    a) Trueb) FalseREASON: A ternary relationship is a simultaneous relationship among only three

    entity types.15. Which is NOT a basic construct of an E-R model?

    a) Attributesb) Entity typesc) Identifiersd) Relationships

  • 8/9/2019 CGS2545 - Assignment 2

    3/6

    REASON: The basic constructs are relationships, entity types, and attributes.16. In the following figure "address" is an example of:

    a) A relational attributeb) A multivalued attributec) A derived attributed) A composite attribute

    17. An example of a multivalued attribute might be:a) Student_GPAb) ID_Number

    c) Student_Addressd) College_DegreeREASON: College_Degree might have multiple values for an individual.

    18. An attribute that can be calculated from related attribute values is called a _____attribute.a) multivaluedb) compositec) simpled) derived

    19. An attribute that uniquely identifies an entity, and consists of a composite attribute is

    called a(n):a) Composite attributeb) Composite identifier

    c) Identifying attributed) Relationship identifier

    20. An entity that associates the instances of one or more entity types and containsattributes specific to the relationships is called a(n):a) Associative entity

    b) Connecting entityc) Intersectional entityd) All of the above

    21. The number of entity types that participate in a relationship is called the:a) Identifying characteristicb) Degree

    c) Counterd) Number

    22. A relationship between the instances of a single entity type is called a _____relationship.a) Ternaryb) Binary

  • 8/9/2019 CGS2545 - Assignment 2

    4/6

    c) Primaryd) Unary

    23. An entity type name should always be a singular noun.a) True

    b) False24. A simultaneous relationship among the instances of three entity types is called a _____

    relationship.a) binaryb) primaryc) ternary

    d) tertiary25. In the figure shown below, which of the following is true?

    a) A person can marry only one person

    b) A person can marry more than one person, but that person can only be marriedto one personc) A person can marry more than one persond) A person has to be married

    26. A _____ specifies the number of instances of one entity that can be associated witheach instance of another entity.a) Cardinality constraint

    b) Degreec) Limitd) Counter constraint

    27. A relationship where the minimum and maximum cardinality are both one is a(n) _____

    relationship.a) Optionalb) Mandatory one

    c) Mandatory linkd) Unidirectional

    28. For the relationship represented in the figure below, which of the following is true?

  • 8/9/2019 CGS2545 - Assignment 2

    5/6

    a) An employee can work for more than one department but does not have to workfor any departmentsb) A department can have more than one employee

    c) An employee has to work for more than one department

    d) A department must have at least one employee29. 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, butneed not supply any parts

    b) Each part must be supplied by exactly one vendor to any number ofwarehouses.c) Each warehouse can be supplied with any number of parts from more than one

    vendor, and each warehouse could be supplied with no partsd) None of the above

    30. A mutually exclusive relationship is one in which:a) An entity instance can participate in many different relationships

    b) An entity instance can participate in only one of several alternativerelationshipsc) An entity instance can not participate in a relationship with another entity

    instanced) None of the above

    31. A student can attend five classes, each with a different professor. Each professor has30 students. The relationship of students to professors is a _____ relationship.a) One-to-oneb) Strongc) One-to-manyd) Many-to-many

    32. The total quiz points for a student for an entire semester is a(n) _____ attribute.a) Storedb) Derived

    c) Mixedd) Addressed

    33. In the figure below,which attribute is multi-valued?

  • 8/9/2019 CGS2545 - Assignment 2

    6/6

    a) Years_Employedb) Employee_IDc) Addressd) Skill