DBMS Unit Test Prep - Removed
DBMS Unit Test Prep - Removed
3.
https://www2.cs.science.cmu.ac.th/courses/204320/lib/exe/
fetch.php?media
=ch09_erandeertorelationalmapping.pdf
Q.8. Explain components of ER with diagrams.
Q.9. List & explain different types of attributes in ER
diagram with examples.
Q.10. Explain relationship, relationship set and relationship
cardinality.
Q.11. Explain the concept of keys with examples.
Q.12. Explain following with examples
1.Weak Entity Set
2.Total and Partial Participation
3.Generalization/ Specialization
4.Ternary Relationship
5.Roles in ER diagram
Relational Algebra-operators, Relational Algebra Queries
Questions
Q 13. Explain following relational algebra operator with
example
1. select
2.project
3.union
4.set difference and Intersection
5.Cartesian product
6. rename
Q 14. Queries on relation algebra based on operator in Q13
this the question bank for my upcoming dbms unit test of
20 marks i am in second year of computer enginerring
1. Introduction to DBMS (Characteristics, File system vs. DBMS, Architecture, DBA role)
2. ER & EER Models (Entities, Attributes, Keys, Relationships, Mapping to Relational Model)
2/8
Here are the answers to your DBMS unit test questions:
Data Storage Stores data in separate files Stores data in tables within a database
Data Redundancy High (multiple copies of the same Low (data is normalized)
data)
3. External Level (View Level) - Users interact with customized views of the database.
3-Tier: Adds a middle layer (Web Server, API) between client and database.
3/8
3. Explain types of users of the database system. Explain the role of
DBA.
Types of Users:
Role of DBA:
1. Generalization - Combining multiple entities into a higher-level entity (e.g., Car and Bike
→ Vehicle).
4/8
6. List steps required to map ER & EER model to relational model.
1. Convert Entities into Relations.
5. Convert Weak Entities by adding a Foreign Key from the owner entity.
5/8
2. Composite Attribute - Can be divided (e.g., Address → City, State).
3. Derived Attribute - Derived from other attributes (e.g., Age from DOB).
3. Candidate Key - All possible unique keys (e.g., Roll_Number and Aadhar_ID).
6/8
Total Participation: Every entity participates in a relationship (e.g., Every Employee
has a Department).
Partial Participation: Some entities participate (e.g., Not all Employees manage a
project).
3. Generalization/Specialization:
4. Ternary Relationship: Relationship between three entities (e.g., Student borrows Book
from Library).
Cartesian Product × Student × Course → Combines each Student with each Course
π(Name) (Student)
7/8
σ(Age > 20) (Student)
This should cover all your questions for the test! Let me know if you need further
explanations or practice problems. 🚀
8/8