Database Development Life Cycle Quiz
47 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

Which of the following phases is NOT part of the Systems Development Life Cycle (SDLC)?

  • System analysis
  • Integration and testing
  • Planning
  • System deployment (correct)
  • The Database Development Life Cycle (DBLC) consists of eight phases.

    False

    What is the primary goal of the system development life cycle (SDLC)?

    To produce a high-quality solution that meets client expectations.

    The initial study in database development begins by examining the statement of __________.

    <p>requirements</p> Signup and view all the answers

    Match the following phases of the Database Development Life Cycle (DBLC) with their descriptions:

    <p>Planning = Define problem and objectives Implementation and Loading = Develop and load the database Testing and Evaluation = Verify the database's functionality Operation and Maintenance = Ensure ongoing support and updates</p> Signup and view all the answers

    Which statement best describes the initial study phase of database development?

    <p>It produces a system specification based on the current situation.</p> Signup and view all the answers

    The objective of defining the scope and boundaries of a project is included in the initial study.

    <p>True</p> Signup and view all the answers

    What is the primary focus of the initial study in database development?

    <p>To analyze the company situation and collect requirements.</p> Signup and view all the answers

    What is primarily tested during the evaluation phase of a database?

    <p>Database performance, integrity, and security</p> Signup and view all the answers

    Once a database has passed the evaluation stage, it is considered operational.

    <p>True</p> Signup and view all the answers

    What activities must the database administrator perform for routine maintenance?

    <p>Preventive maintenance, corrective maintenance, adaptive maintenance, and managing access permissions.</p> Signup and view all the answers

    The ___________ data model perceives the real world as consisting of entities described by attributes and relationships.

    <p>entity-relationship</p> Signup and view all the answers

    Which of the following is not a responsibility of the database administrator?

    <p>Creating new user interfaces</p> Signup and view all the answers

    Match the following maintenance activities with their descriptions:

    <p>Preventive maintenance = Backup and disaster recovery planning Corrective maintenance = Restoring data after a loss Adaptive maintenance = Improving database performance and adding new features Access permissions management = Controlling who can access what within the database</p> Signup and view all the answers

    Data encryption is one of the security measures tested during the database evaluation phase.

    <p>True</p> Signup and view all the answers

    What does the conceptual design of a database focus on?

    <p>Discovering and analyzing organizational and user data requirements.</p> Signup and view all the answers

    What is a composite attribute used for in a design schema?

    <p>To refer to an entire attribute or its components</p> Signup and view all the answers

    A single-valued attribute can take multiple values for a specific occurrence of an entity.

    <p>False</p> Signup and view all the answers

    What is an example of a multivalued attribute?

    <p>customer_phone_number</p> Signup and view all the answers

    A _____ attribute is calculated from other related attributes.

    <p>derived</p> Signup and view all the answers

    Which statement accurately describes a super key in database terms?

    <p>A combination of attributes that uniquely identifies an entity occurrence</p> Signup and view all the answers

    Derived attributes are always stored in the database.

    <p>False</p> Signup and view all the answers

    Match the following terms with their definitions:

    <p>Single-valued attribute = An attribute with only one value for an entity occurrence Multivalued attribute = An attribute that can take multiple values for an entity occurrence Derived attribute = An attribute whose value is calculated from other attributes Super key = A set of attributes that can uniquely identify an entity occurrence</p> Signup and view all the answers

    What represents a multivalued attribute in a schema diagram?

    <p>Double oval</p> Signup and view all the answers

    What is total generalization in the context of entity sets?

    <p>Each higher-level entity occurrence must belong to a lower-level entity.</p> Signup and view all the answers

    In partial generalization, every entity occurrence in a higher-level entity set must belong to a lower-level entity set.

    <p>False</p> Signup and view all the answers

    What symbol is used to represent total generalization in an E-R diagram?

    <p>Double line connecting the higher-level entity set to the triangle symbol</p> Signup and view all the answers

    An entity occurring as both a university staff and a university student is an example of _____ generalization.

    <p>overlapping</p> Signup and view all the answers

    Match the following concepts with their definitions:

    <p>Total generalization = Each higher-level entity must belong to a lower-level entity. Partial generalization = Some higher-level entities may not belong to any lower-level entity. Aggregation = Represents relationships as higher-level entity sets. Participation constraints = Specifies entity occurrence requirements in subclasses.</p> Signup and view all the answers

    Which of the following statements about aggregation is true?

    <p>It allows treating a relationship set as an entity set for participation in other relationships.</p> Signup and view all the answers

    Completeness constraints only determine whether membership in lower-level sets is optional.

    <p>False</p> Signup and view all the answers

    What defines a total participation constraint in a database context?

    <p>Every entity in the higher-level set must be included in a lower-level set.</p> Signup and view all the answers

    When should an address be modeled as an entity rather than an attribute?

    <p>When there are multiple addresses per customer</p> Signup and view all the answers

    A product can be offered with multiple prices if price is modeled as an attribute.

    <p>False</p> Signup and view all the answers

    What is a key consideration when deciding whether to model a concept as an entity or a relationship?

    <p>The use and semantics of the data.</p> Signup and view all the answers

    If you need to model multiple relationships between entities, it is often better to use ________ relationships instead of ternary relationships.

    <p>binary</p> Signup and view all the answers

    Match the following entities or concepts with their appropriate consideration:

    <p>Address = Represented as an entity when multiple exist Price = Must be modeled as an entity for multiple prices Strong entity = Can exist independently Weak entity = Depends on another entity for identification</p> Signup and view all the answers

    Which of the following is NOT a question to consider during ER design decision making?

    <p>Should I use team collaboration?</p> Signup and view all the answers

    Using aggregation allows you to treat a set of entities and their relationships as a single unit.

    <p>True</p> Signup and view all the answers

    When is it beneficial to use generalization in ER design?

    <p>When there are common attributes among several entities.</p> Signup and view all the answers

    What does total participation in a relationship indicate?

    <p>All entities in the set must participate in the relationship.</p> Signup and view all the answers

    A weak relationship exists when a child entity's existence is independent of its parent.

    <p>False</p> Signup and view all the answers

    What symbol is used to represent total participation in a relationship?

    <p>Double lines or Bold line</p> Signup and view all the answers

    Partial participation means that the participation of entity set E in relationship R is __________.

    <p>optional</p> Signup and view all the answers

    Which of the following best describes cardinality in relationships?

    <p>Determines how many relationships can occur for an entity.</p> Signup and view all the answers

    Every loan entity must be linked to at least one customer through the borrows relationship.

    <p>True</p> Signup and view all the answers

    What is an associative entity in relational and entity-relationship theory?

    <p>It is a term used to describe a relationship between two or more entities.</p> Signup and view all the answers

    Study Notes

    Database Application Development

    • Database Management Systems (DBMS) are crucial for managing and disseminating information within organizations.
    • The Database Development Life Cycle (DBLC) mirrors the System Development Life Cycle (SDLC) for database projects.
    • The SDLC is a structured approach to developing information systems, guiding from planning to final system implementation.

    Database Development Life Cycle (DDLC)

    • The DBLC consists of six phases aligning with SDLC principles. These phases are: Database Initial Study, Database Design, Implementation and Loading, Testing and Evaluation, Operation, and Maintenance and Evolution.
    • The phases are:
      • Database Initial Study: Analyze the company's situation (structure, mission, operations); define objectives and scope; collect requirements; and define problems. Requirements gathering methods: interviews, surveys, observations, and examining documents.
      • Database Design: Create a model of data, independent of physical considerations. This encompasses conceptual (overall data model), logical (based on a specific data model like relational) and physical (specific implementation details, storage, and indexes) database design.
      • Implementation and Loading: Involves selecting and installing the DBMS, creating the database(s), and loading the data into the database tables.
      • Testing and Evaluation: Testing the database, integrity, security and performance; implementing backup and recovery plans. Testing and evaluation includes data security, physical security, password security, access rights, and data encryption.
      • Operation: The database becomes fully operational. Its management, users, and application programs constitute the complete information system.
      • Maintenance and Evolution: Routine maintenance, including preventive (backups) and corrective (recovery) maintenance; adjusting performance, adding/modifying entities and attributes ,as well as assigning access permissions.

    Conceptual Database Design With E-R Modelling

    • Conceptual Database Design: Focuses on building a model of an enterprise's data, independent of implementation details.
    • Entity-Relationship (E-R) models depict the real world as entities, their attributes, and relationships.
    • Developing an E-R Model:
      • Identify Entities, Attributes, Relationships, and Constraints. These are often nouns, descriptive words/adjectives and verbs respectively.
      • Develop, Validate, Present the Model for Review and Collect Feedback.
    • This iterative process ensures a representation of the organization's activities and functions.

    Entity-Relationship (E-R) Diagram Components

    • Entities: Objects or concepts. (e.g.: Customers, Employees, Products, Departments)
    • Attributes: Properties of entities (e.g.: Customer Name, Employee ID, Product Price)
    • Relationships: Links between entities (e.g.: Orders placed by Customers, Products supplied by Suppliers)
    • Cardinality: The maximum number of relationships between entities (e.g.: One-to-One, One-to-Many, Many-to-Many)
    • Participation: Whether all/some entities must participate in a relationship (e.g., Total or Partial).

    Attributes

    • Simple Attributes: Attributes that cannot be further subdivided. Examples include sex or social security number.
    • Composite Attributes: Attributes that can be divided into smaller sub-attributes, such as an address with street, city, state, and zip code.
    • Multi-valued Attributes: Allow entities to have more than one value for an attribute, such as phone numbers for a given customer (they can have more than one).
    • Derived Attributes: Attributes that can be calculated from other attributes, such as age from date of birth.

    Keys

    • Super Key: A set of attributes that uniquely identifies an entity.
    • Candidate Key: A minimal superkey.
    • Primary Key: A chosen candidate key to uniquely identify an entity occurrence. It is used to identify a unique record in a table.
    • Composite Key: A candidate key composed of more than one attribute.

    Relationships

    • Binary Relationships: A relationship involving two entities (e.g., customer placing an order).
    • Ternary Relationships: Involves three entities (e.g., a supplier supplying parts to projects).
    • Degree: The number of entities participating in a relationship (e.g., 2 in binary, 3 in ternary).

    Generalization/Specialization

    • Specialization: Defining subtypes (e.g., employee subtype of person, student subtype of person).
    • Generalization: Defining a higher-level entity type from subtypes (e.g., person is the generalization of employee and customer).

    Aggregation

    • An abstraction method to represent relationships (entities & relations together) as higher-level entity sets.
    • Helpful when a relationship itself needs to participate in other relationships.

    Design Choices

    • Critical decisions during database design including whether attributes or relationships are presented as entities, and the use of binary or ternary relationships.

    Constraints of Generalization/Specialization

    • Membership Constraint: Determine which entities can be members of a lower-level entity set.
    • Disjoint Constraint: Specifies that an entity can belong to only one lower-level entity, creating subtypes.
    • Overlap Constraint: Allows an entity to belong to multiple lower-level entities.

    Participation Constraint

    • Total Participation: Specifies that every entity in the higher-level entity set is associated with at least one entity in the lower-level entity.
    • Partial Participation: Specifies that some or not all entities are associated with lower-level entities.

    Problems with E-R Models

    • Subjectivity of ER Design: Different ways to model the same reality.
    • Capturing Data Semantics: Difficulty in capturing all data semantics completely in ER diagrams.
    • Connection Traps (Fan/Chasm Trap): Ambiguity in relationships when considering entity occurrences might cause difficulties in representing logical relationships between entities.

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Related Documents

    DBS Chapter Four Part One PDF

    Description

    Test your knowledge of the Database Development Life Cycle (DBLC) and its phases, including the comparison with the Systems Development Life Cycle (SDLC). This quiz covers key concepts such as the initial study phase, evaluation stage, and the roles of a database administrator. Challenge yourself to match phases with their descriptions and understand the primary goals of these life cycles.

    More Like This

    Database Development Process Quiz
    10 questions
    TTTSR103 SFDDD501 Database Development Quiz
    10 questions
    Database Development Process Quiz
    10 questions
    Database Development Quiz DBD171/181
    40 questions
    Use Quizgecko on...
    Browser
    Browser