Logo/

Untitled Flashcards

Log in

Made with ScholarlyMake flashcards like these from your own notes

Untitled Flashcards

Questions and answers

44 cards
  1. Question:ER Diagram Notations

    Answer:ER diagrams have different notations including the one discussed, Chen's notation, Crow's Feet notation, and 12 Crows Feet Notation.

  2. Question:One-to-One Relationship in ER Diagrams

    Answer:In the Crows Feet Notation, a one-to-one relationship is obligatory on both sides.

  3. Question:One-to-Many Relationship in ER Diagrams

    Answer:In the Crows Feet Notation, a one-to-many relationship is obligatory on the many side.

  4. Question:Many-to-Many Relationship in ER Diagrams

    Answer:The Crows Feet Notation handles many-to-many relationships by indicating if one or both sides of the relationship are obligatory with '1' or '0' respectively.

  5. Question:Drawing ER Diagrams

    Answer:Using tools like https://app.diagrams.net/ can simplify the process, but drawing diagrams by hand is also acceptable.

  6. Question:Resolving Many-to-Many Relationships

    Answer:To resolve a many-to-many relationship, decompose it into one-to-many and many-to-one relationships for better representation.

  7. Question:Logical Design Goals

    Answer:The goals of logical design include minimizing separate tables and avoiding the use of null values to represent irrelevant data.

  8. Question:Derive Skeleton Tables

    Answer:In logical design, each entity from the ER diagram becomes a table.

  9. Question:Representing Relationships in Tables

    Answer:One approach is to create a relation for each relationship with two domains containing the identifiers of the entities related.

  10. Question:One-to-One Relationships in Tables

    Answer:In tables, a one-to-one relationship can be represented by combining the entities into a single table with the related attributes.

  11. Question:Combine into one table

    Answer:Every car in the pool is assigned to an employee. Each employee is provided with a car. EMPLOYEE NO, NAME, CAR NO, REG, MAKE. 0035, BILL, E123, VWB, FORD. 0103, JIM, D998, NLM, GM. 0124, FRED, E213, WMO, ROVER.

  12. Question:Non-obligatory one-to-one

    Answer:Every car in the pool is assigned to a specific employee. Most employees are not provided with cars. CAR, REG, MAKE. E123, VWB, FORD. D998, NLM, GM. EMPLOYEE NO, NAME. 0035, BILL. 0124, FRED. 0103, JIM. 0125, TOM. 0106, MIKE.

  13. Question:Combination yields many nulls

    Answer:Every car in the pool is assigned to a specific employee. Most employees are not provided with cars. EMP, CAR, NO, NAME, REG, MAKE. 0035, BILL, E123, VWB, FORD. 0103, JIM, D998, NLM, GM. 0124, FRED, Null, Null. 0125, TOM, Null, Null. 0106, MIKE, Null, Null.

  14. Question:A better solution

    Answer:Post the identifier of the non-obligatory entity to the obligatory entity and maintain two tables. CAR, REG, MAKE, NO. E123, VWB, FORD, 0035. D998, NLM, GM, 0103. EMPLOYEE NO, NAME. 0035, BILL. 0124, FRED. 0103, JIM. 0125, TOM. 0106, MIKE.

  15. Question:How to deal with relationships

    Answer:11, 1N, NM. Obligatory on neither. New table to represent relationship. Post identifiers as a candidate key. Obligatory on one. Post identifier of non-obligatory to obligatory table. New table to represent relationship. Post identifiers as a candidate key. Obligatory on many. Post identifier of one table to many table. New table to represent relationship. Post identifiers as a candidate key. Obligatory on both. Post all attributes into one table. Post identifier of one table to many table. New table to represent relationship. Post identifiers as a candidate key.

  16. Question:Obligatory on one Post identifier of non-obligatory to obligatory table

    Answer:This represents a 1:N relationship where the Post identifier is obligatory and non-obligatory in the two tables.

  17. Question:New table to represent relationship Post identifiers as candidate key

    Answer:This represents the creation of a new table to represent the relationship between Post identifiers as the candidate key.

  18. Question:Obligatory on many Post identifier of one table to many table

    Answer:This represents a N:M relationship where the Post identifier is obligatory on many and one table to many table.

  19. Question:New table to represent relationship Post identifiers as candidate key

    Answer:This represents the creation of a new table to represent the relationship between Post identifiers as the candidate key.

  20. Question:Obligatory on both Post all attributes into one table

    Answer:This represents a table with all attributes from both tables where the Post identifier is obligatory on both tables.

  21. Question:How to deal with relationships 11 1N NM Obligatory on neither

    Answer:This indicates the handling of relationships including 1:N, N:M, and obligatory on neither.

  22. Question:New table to represent relationship Post identifiers as candidate key

    Answer:This represents the creation of a new table to represent the relationship between Post identifiers as the candidate key.

  23. Question:New table to represent relationship Post identifiers as candidate key

    Answer:This represents the creation of a new table to represent the relationship between Post identifiers as the candidate key.

  24. Question:Obligatory on one Post identifier of non-obligatory to obligatory table

    Answer:This represents a 1:N relationship where the Post identifier is obligatory and non-obligatory in the two tables.

  25. Question:New table to represent relationship Post identifiers as candidate key

    Answer:This represents the creation of a new table to represent the relationship between Post identifiers as the candidate key.

  26. Question:Obligatory on many Post identifier of one table to many table

    Answer:This represents a N:M relationship where the Post identifier is obligatory on many and one table to many table.

  27. Question:New table to represent relationship Post identifiers as candidate key

    Answer:This represents the creation of a new table to represent the relationship between Post identifiers as the candidate key.

  28. Question:Obligatory on both Post all attributes into one table

    Answer:This represents a table with all attributes from both tables where the Post identifier is obligatory on both tables.

  29. Question:How to deal with relationships 11 1N NM Obligatory on neither

    Answer:This indicates the handling of relationships including 1:N, N:M, and obligatory on neither.

  30. Question:New table to represent relationship Post identifiers as candidate key

    Answer:This represents the creation of a new table to represent the relationship between Post identifiers as the candidate key.

  31. Question:New table to represent relationship Post identifiers as candidate key

    Answer:This represents the creation of a new table to represent the relationship between Post identifiers as the candidate key.

  32. Question:Obligatory on one Post identifier of non-obligatory to obligatory table

    Answer:This represents a 1:N relationship where the Post identifier is obligatory and non-obligatory in the two tables.

  33. Question:Obligatory on many Post identifier of one table to many table

    Answer:This represents a N:M relationship where the Post identifier is obligatory on many and one table to many table.

  34. Question:Obligatory on both Post all attributes into one table

    Answer:This represents a table with all attributes from both tables where the Post identifier is obligatory on both tables.

  35. Question:Example Entities Borrower Borrower Book ISBN Copy Accession Publisher PubCode AuthorAuthor

    Answer:List of example entities including Borrower, Book, ISBN, Copy, Accession, Publisher, PubCode, Author.

  36. Question:Relationships Name Entities

    Answer:This refers to giving names to the relationships between the entities in the database.

  37. Question:Degree Optionality

    Answer:Refers to the degree of participation and optionality of entities in the database relationships.

  38. Question:Loan Copy Borrower 1M Optional on both

    Answer:This represents a 1:M relationship between Loan, Copy, and Borrower, where it's optional on both entities.

  39. Question:Reservation Book Borrower NM Optional on both

    Answer:This represents an N:M relationship between Reservation, Book, and Borrower, where it's optional on both entities.

  40. Question:Stock Book Copy 1N Obligatory on both

    Answer:This represents a 1:N relationship between Stock, Book, and Copy, where it's obligatory on both entities.

  41. Question:Publishes Publisher Book 1N Obligatory on both

    Answer:This represents a 1:N relationship between Publishes, Publisher, and Book, where it's obligatory on both entities.

  42. Question:Written By Author Book NM Obligatory on both

    Answer:This represents an N:M relationship between Written By, Author, and Book, where it's obligatory on both entities.

  43. Question:Author

    Answer:NM Obligatory

  44. Question:Book

    Answer:NM Obligatory