Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Explain the concept of generalization and aggregation in E_R diagrams. Give one example for each one of them?
Generalization: Consider extending the entity set account through classifying accounts as being either savings-account or chequing-account. Each of these is described through the attributes of account plus additional attributes. (Savings has interest-rate and cheque has overdraft-amount.) We can express the similarities among the entity sets through generalization. This is the procedure of forming containment relationships among a higher-level entity set and one or more lower-level entity sets.
Aggregation: The E-R model cannot express relationships between relationships. When would we require such a thing?
Consider a DB along with information about employees who work on a particular project and use a number of machines doing in which work. We get the E-R diagram shown in Figure.
Figure: E-R diagram with redundant relationships
Relationship sets work and uses could be combined into a single set. Therefore, they shouldn't be, as this would obscure the logical structure of this scheme. The solution is to use aggregation.• An abstraction by those relationships is treated as higher-level entities.• For our instance, we treat the relationship set work and the entity sets employee and project as a higher-level entity set called work.• Another figure shows the E-R diagram with aggregation.
Given the following relations Vehicle (Reg_no, make, colour) Person(eno, name, address) Owner(eno, reg_no) Write expressions in the relational algebra to answer the following
Increases efficiency : Data is stored close to most often used site, therefore retrieval would be faster. Also, data that is not required by local applications is not stored, there
Define Deadlock detection If a system does not employ a few protocols that make sure deadlock freedom, after that a detection and recovery scheme should be used. An algorithm
Determine the language that needs a user to specify the data to be retrieved with no specifying exactly how to get it is Ans: Non-Procedural DML
Explain the term - Control as Concurrent Tasks As we know, any object can be implemented as a task in programming language or operating system. This is the most general approa
What is first normal form? The domain of attribute must contain only atomic (simple, indivisible) values.
What are the advantages of relational data model? Normal 0 false false false EN-IN X-NONE X-NONE MicrosoftInternetExplorer
Define Sequence A sequence is a set of integers 1, 2, 3 that are generated in order on demand. Sequences are regularly used in databases because lots of applications require ev
What are the physical characteristics of magnetic disks? Ans: A magnetic disk is a circular plate or platter of plastic or metal that is coated with magnetizable material lik
a set of possible data value of an attribute is called??
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd