1. Home
  2. Explore
  3. Computer Science
  4. DBMS Concepts and Architecture

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

DBMS Concepts and Architecture

  • 36Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Database Models

What does GIGO mean in database design, and why does it make data quality important for a DSS?

36 questions

  1. 1

    What does GIGO mean in database design, and why does it make data quality important for a DSS?

    Model answer

    GIGO means “Garbage In, Garbage Out”: poor-quality stored data leads to poor-quality results, so correct data is essential.

    Explanation

    The quality of a DSS's results depends on the quality of the data it stores and uses.

  2. 2

    Define a data model and identify its two main components.

    Model answer

    A data model is a set of concepts describing a database's structure and the constraints it must obey.

    Explanation

    The model captures both the database's structure and the rules that govern valid data.

  3. 3

    Give examples of the structural and constraint information represented in a data model.

    Model answer

    A data model can describe tables and their contents, as well as constraints such as unique identifiers and relational keys.

    Explanation

    Tables describe how data is organized, while identifiers and keys are examples of constraints.

  4. 4

    What are data model operations? Include examples of retrieval and updates.

    Model answer

    Data model operations are operations that use data-model concepts to retrieve or update database data, including adding, modifying, or removing data.

    Explanation

    Retrieval extracts information; updates change the stored data by adding, modifying, or removing it.

  5. 5

    What is the conceptual data model, and what perspectives does it represent?

    Model answer

    The conceptual data model is a high-level, semantic, or entity-based model that captures how users perceive and conceptualize the data; it is a primary focus for database designers.

    Explanation

    The conceptual model reflects how people understand the data, rather than how it is physically stored.

  6. 6

    What does the physical data model describe, and what are its alternate names?

    Model answer

    The physical data model, also called the low-level or internal model, describes how data is stored in a computer or server.

    Explanation

    The physical model concerns implementation in computer storage, whereas the conceptual model describes the data from a human perspective.

  7. 7

    Explain the role of the implementation data model and name its other term.

    Model answer

    The implementation data model, also called the representational data model, provides an intermediate translation between conceptual and physical models.

    Explanation

    It bridges the gap between a human-oriented description of data and its computer-oriented storage.

  8. 8

    Why must database operations follow the data model's constraints?

    Model answer

    Database retrievals and updates should use the data model's concepts and obey its constraints so that data is handled consistently.

    Explanation

    A sound data model guides data retrieval and changes while ensuring that the database's constraints are respected.

  9. 9

    What is a database schema, and what two aspects does it describe?

    Model answer

    A database schema describes the database's structure and constraints.

    Explanation

    A schema is the database's description, while the instance is the data currently held by the database.

  10. 10

    What is a schema diagram?

    Model answer

    A schema diagram is a diagrammatic display of a database schema.

    Explanation

    The diagram presents the schema description visually rather than introducing a separate kind of database content.

  11. 11

    What is a schema construct? Give an example.

    Model answer

    A schema construct is a component or object within a schema, such as a row or column.

    Explanation

    A schema construct refers to one part of a schema, not the complete set of data stored at a particular time.

  12. 12

    Define a database instance.

    Model answer

    A database instance is the actual data stored in the database at a particular point in time.

    Explanation

    The instance is the database's actual contents at a given moment, and it can change as data changes.

  13. 13

    Why can a database have different instances at different times?

    Model answer

    A database instance can vary over time because the stored data may be updated.

    Explanation

    Adding, modifying, or removing data can change the database's contents between two observations.

  14. 14

    What are two other names for a database instance?

    Model answer

    A database instance is also called the state or occurrence of the database.

    Explanation

    These terms refer to the actual database contents at a particular time, not to a single schema component.

  15. 15

    Distinguish a schema construct from a database instance.

    Model answer

    A schema construct is an individual component of a schema, such as a row or column, whereas a database instance is the full set of actual data stored at a given time.

    Explanation

    A construct is one schema component; an instance is the complete collection of stored data at a particular moment.

  16. 16

    Name the three levels of the three-schema architecture.

    Model answer

    The three-schema architecture has external, conceptual, and internal levels.

    Explanation

    The architecture provides multiple external perspectives while connecting them to a conceptual description and underlying storage.

  17. 17

    What is an external view, and how can the views of multiple users relate to one another?

    Model answer

    Each end user can have an external view, and external views may be the same or different.

    Explanation

    Different users may have different views, and even different users' views may be identical.

  18. 18

    How does the conceptual schema relate to external views?

    Model answer

    The conceptual schema facilitates the creation of external views and represents the database at the conceptual level.

    Explanation

    The external view reflects what an end user sees; the conceptual schema provides the database-wide conceptual description used to create that view.

  19. 19

    What does the internal schema describe, and what aspects of the computing environment affect it?

    Model answer

    The internal schema describes the database at the internal level, including how it is stored using the chosen computer, operating system, and DBMS.

    Explanation

    The internal schema describes the storage implementation, which depends on the computer environment and DBMS.

  20. 20

    What does each of the two mappings in the three-schema architecture connect?

    Model answer

    The external/conceptual mapping connects external views to the conceptual schema, while the conceptual/internal mapping connects the conceptual schema to the internal schema.

    Explanation

    The mappings connect levels so a user's view can correspond to the conceptual description and then to the stored data.

  21. 21

    Compare the perspectives represented by the external, conceptual, and internal levels.

    Model answer

    Data is represented from the user's perspective at the external level, from the designer's perspective at the conceptual level, and in terms of computer storage at the internal level.

    Explanation

    The external level reflects the user's view; the conceptual level reflects the database designer's conceptual description; and the internal level concerns physical storage.

  22. 22

    Name the four DBMS language types discussed and give the full form of each abbreviation.

    Model answer

    The four language types are Data Definition Language (DDL), Storage Definition Language (SDL), View Definition Language (VDL), and Data Manipulation Language (DML).

    Explanation

    The languages are associated with different schema levels or with operations on the data.

  23. 23

    What is the primary purpose of DDL, and what additional schemas may it specify in some systems?

    Model answer

    DDL specifies the conceptual schema and provides constructs for capturing users' concepts; some database systems also use it to specify external and internal schemas.

    Explanation

    DDL captures conceptual descriptions, though some database systems also use it for the external or internal schemas.

  24. 24

    What is the purpose of Storage Definition Language?

    Model answer

    Storage Definition Language specifies the internal schema, including how internal storage is defined.

    Explanation

    SDL is associated with the internal schema and its storage description.

  25. 25

    What schema does View Definition Language specify?

    Model answer

    View Definition Language specifies the external schema.

    Explanation

    VDL specifies the external schema, which corresponds to the views provided to users.

  26. 26

    Match DDL, SDL, VDL, and DML to their primary purposes.

    Model answer

    DDL primarily specifies the conceptual schema, SDL the internal schema, and VDL the external schema; DML specifies database retrievals and updates.

    Explanation

    In this classification, DDL, SDL, and VDL describe schema aspects, whereas DML handles operations on stored data.

  27. 27

    What operations does Data Manipulation Language specify?

    Model answer

    DML specifies database retrievals and updates, such as adding, modifying, or removing data.

    Explanation

    Retrieval extracts information, and updates include adding, modifying, or removing data.

  28. 28

    Compare an embedded data sublanguage with a standalone data manipulation language.

    Model answer

    A data sublanguage is embedded in a general programming language, while a standalone DML operates independently of a programming language and is also called a query language.

    Explanation

    An embedded data sublanguage is associated with a general-purpose programming language; a standalone language can be used independently.

  29. 29

    What is SQL, and how is it classified among DBMS languages?

    Model answer

    SQL, or Structured Query Language, is a standalone data manipulation language used to retrieve and update database data.

    Explanation

    SQL is identified as a standalone query language and as a DML.

  30. 30

    What alternate names are used for high-level DBMS languages, and how are low-level languages classified?

    Model answer

    High-level DBMS languages are also called non-procedural or declarative languages, whereas low-level DBMS languages are procedural.

    Explanation

    High-level languages are declarative and set-oriented; low-level languages are procedural and process one record at a time.

  31. 31

    What does it mean for a high-level DBMS language to be set-oriented?

    Model answer

    A high-level DBMS language is set-oriented: it specifies what data to retrieve and how to retrieve it as a set.

    Explanation

    A set-oriented language works with a collection of records rather than requiring instructions for each record individually.

  32. 32

    What retrieval instructions does a high-level DBMS language provide, and what procedural details can it avoid?

    Model answer

    A high-level language specifies what data is needed and how to retrieve it, without requiring the programmer to specify constraints and loops.

    Explanation

    The language describes the requested data and retrieval method without requiring the programmer to specify procedural loops and constraints.

  33. 33

    What details must a low-level procedural DBMS language specify?

    Model answer

    A low-level procedural language specifies one record at a time, how to retrieve it, and the relevant constraints and loops.

    Explanation

    A procedural language requires more explicit control over individual records and the steps used to retrieve them.

  34. 34

    Why are high-level DBMS languages generally easier to use than low-level languages?

    Model answer

    High-level languages are generally easier for people or programmers to use because they do not require as much detail about individual records, constraints, and loops.

    Explanation

    The set-oriented approach reduces the need for programmers to specify individual processing steps, making it easier to use.

  35. 35

    Why might a database programmer choose a low-level procedural language?

    Model answer

    Low-level procedural languages may be chosen to speed up processing because they can be quicker and have lower computing overhead.

    Explanation

    Low-level languages can reduce computing overhead by specifying operations more directly.

  36. 36

    Compare how high-level and low-level DBMS languages specify data retrieval.

    Model answer

    A high-level language describes the data to retrieve and the retrieval request at a set level, while a low-level language specifies record-by-record steps, including constraints and loops.

    Explanation

    The main contrast is between describing a set-oriented retrieval and explicitly controlling record-by-record processing.

1 of 36
Question 1 of 36

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent