1. Home
  2. Explore
  3. Computer Science
  4. Database Concepts Introduction

Study methods

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

Database Concepts Introduction

  • 28Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Problems with Lists
  • spaceFlip card
  • KI knew it
  • DI didn't know it
  • ←Previous card
  • →Next card

What is a major problem with storing data in a list regarding space?

Tap to flipClick to flipspace

Redundancy: the same information appears multiple times, wasting storage space.

Or swipe the card

28 cards

  1. What is a major problem with storing data in a list regarding space?

    Redundancy: the same information appears multiple times, wasting storage space.

  2. What is meant by 'multiple themes' in a list?

    A list may contain attributes from more than one business concept (e.g., mixing project info and project manager info in the same row).

  3. What is an update anomaly?

    When changing one piece of data (e.g., changing a student's advisor) requires updating multiple rows because the same data is stored redundantly.

  4. What is a deletion anomaly?

    When deleting a row from a list, you unintentionally lose information about other entities (e.g., deleting a student also loses the advisor's info if that advisor only had that one student).

  5. What is an insertion anomaly?

    When adding a new entity (like a department) you must also provide data for unrelated attributes (like student info), leading to missing or empty data.

  6. What are the three types of data anomalies that can occur when using a list?

    Update anomaly, deletion anomaly, and insertion anomaly.

  7. What is the primary purpose of a database?

    To provide a repository for storing data, an organized structure for that data, and a mechanism for interacting with the data.

  8. What does the acronym CRUD stand for?

    Create, Read, Update, Delete.

  9. Give an example of a hierarchical relationship between business concepts.

    A customer can place many orders (one-to-many relationship).

  10. How does a relational database store data?

    In tables (two-dimensional grids) with columns representing attributes and rows representing instances of an entity.

  11. What is a table in a relational database?

    A two-dimensional data structure consisting of rows and columns, where each row is a record and each column is an attribute.

  12. How are tables linked in a relational database?

    Using matched pairs of values, typically a primary key in one table and a foreign key in another.

  13. What is a join operation in SQL?

    A way to reassemble data from multiple tables into a single result set by linking related rows using matched values.

  14. Why is data for each business concept stored in its own table in a relational database?

    To avoid data redundancy and multiple themes, and to model natural relationships between entities.

  15. What is SQL and what is its primary purpose?

    Structured Query Language; the primary tool for performing CRUD operations on relational databases.

  16. What does a SQL SELECT statement do?

    Retrieves data from one or more tables, optionally joining them and filtering results.

  17. Give an example of using matched pairs of values in a SQL JOIN.

    Linking Customer table to Enrollment table using CustomerNumber, and Course table to Enrollment using CourseNumber.

  18. What are the four components of a database system?

    Users, database applications, database management system (DBMS), and the database itself.

  19. What is the role of the DBMS in a database system?

    It acts as a gatekeeper/intermediary between database applications and the database, controlling all data access.

  20. What are metadata in a database?

    Data that describes other data, specifically the structure of the data (e.g., that an EmployeeID is an integer).

  21. What is a referential integrity constraint?

    A rule that ensures values in one table have matching values in another table (e.g., a customer ID in Orders must exist in Customers).

  22. List three functions a DBMS can perform.

    Create databases and tables, enforce constraints (e.g., referential integrity), and provide backup and recovery mechanisms.

  23. What are personal database systems? Give an example.

    Small, simple databases used by a single user, e.g., Microsoft Access.

  24. What are enterprise-level database systems?

    Databases designed for medium to large businesses, supporting many concurrent users, multiple applications, and distributed architecture.

  25. Name three enterprise-level DBMS products mentioned in the lecture.

    SQL Server, Oracle, MySQL (also DB2).

  26. What is the key difference between personal and enterprise DBMS regarding user support?

    Personal DBMS support a single user; enterprise DBMS support many concurrent users (thousands).

  27. Can enterprise-level DBMS manage more than one database?

    Yes, they can manage multiple databases, such as an operational database and a data warehouse.

  28. What is a business concept/theme in the context of databases?

    A set of attributes naturally related to one type of business entity, e.g., employee, department, product, customer.

Card 1 of 28
Card 1 of 28

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent