Question

In: Computer Science

1-Draw The ER diagram on the problem of your choice, depicting the 1:1 , 1:M and...

1-Draw The ER diagram on the problem of your choice, depicting the 1:1 , 1:M and M:M relationship.

2-Explain with the pictorial representation the three schema architecture of DBMS.


Solutions

Expert Solution

  • One to one relationship (1:1)

A single entity instance in one entity class is related to a single entity instance in another entity class.

eg: Each student in an examination hall fills one seat and one seat is assigned to only one student.

  • One to many relationship (1:M)

A single entity instance in one emtity class is related to multiple entity instance in another entity class.

eg: A child can only have one father biologically but a father can have multiple child.

  • Many to many relationship (M:M)/(M:N)

   Each entity instance in one entity class is related to multiple entity instance in another entity class and vice versa.

eg: A customer can take many item on rent. An item can be rented by many customers.

2.

Three schema architecture is used to describe the structure of a specific database system. It contains three level namely physical level, logical level, view level.

  • Internal/physical level- Physical storage structure of database is described in this level, here the complex low level data structures are described.This level has the lowest level of abstraction.
  • Conceptual level - Describes the structure of the database as whole. It describes what data are to be stored in database and also describes the relationship among these datas.
  • External/view level - Describes the db from the users view. This level has the most abstraction ie, the internal and conceptual scheme is hidden from the users view.

Related Solutions

Draw an ER diagram with these attributes ( ER diagram for SQL for a library database)...
Draw an ER diagram with these attributes ( ER diagram for SQL for a library database) DRAW ER DIAGRAM AS ONE FULL LIBRARY SYSTEM, NOT DIFFERENT FOR EACH ATTRIBUTE. Attributes :           Customer Cust_ID: key identifier, required, simple, single valued Cust_Name{ first name, last name}: Key Identifier, simple;composite, multivaried   Address{street, city,zip,state}: Customer address, required, composite, single can be derived from zip (placeholder, there should be another attribute here to represent the books taken out by the customer. Not sure.)           Inventory Book_ID:...
Draw a diagram depicting the Slutsky decomposition for x1, assuming that: • x1 is a Giffen...
Draw a diagram depicting the Slutsky decomposition for x1, assuming that: • x1 is a Giffen good. • p1 increases. Is the income effect positive or negative that in both cases are possible?
Draw the diagram (ER / MR / UML) for a database containing the following characteristics: •...
Draw the diagram (ER / MR / UML) for a database containing the following characteristics: • Presence sensor that stores presence information with its timestamp and its location. • Distance sensor that saves distance information with its timestamp and its location. • An actuator of a switch that energizes a bulb, where the record of its been with your timestamp and your location. • An actuator of a motor that opens a door, where the record of its been with...
Instructions: Draw an ER diagram for the following description. Identify the keys and give the cardinality...
Instructions: Draw an ER diagram for the following description. Identify the keys and give the cardinality of all relationships (e.g. 1:1, N:1, N: M). Make sure you note your assumptions. Assume you are creating a database for a library system with the following properties: The library contains one or several copies of the same book. Every copy of a book has a copy number and is located at a specific location on a shelf. A copy is identified by the...
Explain your choice of host country using the Five Forces Model. REQUIRED Draw a diagram of...
Explain your choice of host country using the Five Forces Model. REQUIRED Draw a diagram of the model and attribute it. Write short notes on each part of the model explaining how these impact your host country business. Which two of these are most important to the success of your host country business. Give detailed reasons. Host Country: Seattle USA Home Country: Japan
Design an ER Diagram for the given problem. Link the tables that are related and implement...
Design an ER Diagram for the given problem. Link the tables that are related and implement your design using MySQL. Insert at least a minimum of 5 records. Ensure that the data to be added are related to other tables. Post here the screenshot of the following: Entity Relationship Diagram with attributes, PK, and FK. Use the "describe" command to view the structure of the tables. Use the "select" command to view the contents of the tables. Company ABC has...
Given the business rule below. Draw the Data directories for each entities & ER Diagram. A...
Given the business rule below. Draw the Data directories for each entities & ER Diagram. A DOCTOR can be scheduled for many APPOINTMENTS, but may not have any scheduled at all. Doctor has the attributes such as DoctorID, Firstname, & Lastname. Appointment has attributes such as AppointmentID, Date & Reason. A PATIENT can schedule one or more appointments. Patient entity has attributes such as PatientID, PatientName & Address. One appointment is scheduled with exactly one patient. An appointment must generate...
I need to draw an ER diagram for a future database necessary to hold application data...
I need to draw an ER diagram for a future database necessary to hold application data for students wishing to apply for an internship at a tech company. The students will provide the following information on the application: first name, last name, email, phone number, address, city, state, postal code, major, currently enrolled in school?, expected date of graduation, web framework of choice, list of programming languages in which the student is proficient, SAT score, ACT score, GPA, 4 character...
Assignment #1 Develop a set of Data Flow Diagrams (DFD) and ER-D depicting the business processes...
Assignment #1 Develop a set of Data Flow Diagrams (DFD) and ER-D depicting the business processes or activities of an online banking system. The business processes/activities of your online banking system shall be identical to those of an ATM machine. Bank of America Your DFDs MUST include Context DFD, Level-0 DFD and at least one Level-1 DFD. Your Data Stores must exist to support the business processes.
Drawing a diagram depicting the Slutsky decomposition for a price increase.
Drawing a diagram depicting the Slutsky decomposition for a price increase.Assume that x1 is inferior, ordinary good. Clearly indicate:• The budget lines involved in the decomposition.• The moves due to substitution effect (SE) and income effect (IE).• The indifference curves involved in the decomposition.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT