
























































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
A comprehensive review of the key concepts covered in the first five chapters and chapter 19 of a database management systems course. It covers topics such as the overview of database management systems, database design, the relational model, relational algebra and calculus, sql, and normal forms. Exercises and solutions that allow students to test their understanding of the material. It could be a valuable resource for students preparing for a midterm exam in a database management systems course at the university level.
Typology: Exams
Uploaded on 11/06/2022
1 document
1 / 64
This page cannot be seen from the preview
Don't miss anything!
Solution Data independence and efficient access. Physical, logical independence (^) Efficient storage and data retrieval Reduced application development time. Data storage aspect of application already written and debugged; only need to write application code Data integrity and security. Database prevents changes that violate integrity constraints. Views and authorization mechanism.
Solution
Data administration. Maintenance and data administration made easier.
Concurrent access and crash recovery Transactions prevent two conflicting operations from being carried out concurrently. Keeps a log of changes to data, so that the system can recover from a crash.
Solution External schemas: (^) Allow data access to be customized at the level of individual users or groups of users using different VIEWS of the same conceptual schema. (^) Views are not stored in DBMS but they generated on-demand. Conceptual (logical) schemas: (^) Describes all the data in terms of the data model. In a relational DBMS, it describes all relations stored. (^) While there are several views for a given database, there is exactly one conceptual schema to all users.
Solution
Internal (physical) schemas: Describes how the relations described in the conceptual schema are actually stored on disk (or other physical media).
Solution
The logical schema protects outside programs and users from changes to the database relational schema.
The physical schema protects programs and users from changes to the way database files are stored.
Concepts:
Problem
A university database contains information about professors (identified by social security number, or SSN) and courses (identified by courseid). Professors teach courses; each of the following situations concerns the Teaches relationship set. For each situation, draw an ER diagram that describes it (assuming no further constraints hold). Draw an ER diagram that captures this information.
Problem
Problem
Problem
Problem
Solution Professor memberof ssn Group courseid teaches Course semester gid