CSC475 · TU past paper
Advanced Database 2080 question paper
The complete TU 2080 exam paper for Advanced Database (CSC475), all 12 questions with solved model answers written to the mark scheme.
Tap a question to open its answer.
- Q1.10 marksSpecialization and GeneralizationHideAnswer
Explain different features of enhanced ER(EER) model. Compare specialization with generalization.[10]
- Q2.10 marksObject Database Extensions to SQLHideAnswer
Compare object oriented database with object relational database. What are different object database features that have been included in SQL?[10]
- Q3.10 marksDistributed Database Concepts and AdvantagHideAnswer
Why distributed database is important? What is transparency? Explain different types of transparencies in distributed databases.[10]
- Q4.5 marksConcepts of File Structures, Hashing, and HideAnswer
Why hashing is important to store data in databases? What is primary file organization? [5]
- Q5.5 marksAggregationHideAnswer
Explain aggregation with suitable example. [5]
- Q6.5 marksThe ODMG Object Model and the Object DefinHideAnswer
What is ODMG object model? What is object definition language? [5]
ODMG Object Model and Object Definition Language
ODMG Object Model
ODMG stands for Object Data Management Group. It is a standard data model upon which the Object Definition Language (ODL) and Object Query Language (OQL) are based. It is meant to provide a standard data model for object databases.
Main Parts of ODMG
The ODMG standard is made up of the following parts:
Part Description Object Model Core data model for object databases Object Definition Language (ODL) Language to define object schemas Object Query Language (OQL) SQL-like language to query objects Language Bindings Bindings to OOP languages (C++, Java, etc.) Key Concepts in the ODMG Object Model
The ODMG object model differentiates between Objects and Literals:
Objects:
- Have both an Object Identifier (OID) and a state (current data)
- Values can be modified
- May be transient or persistent
Literals:
- Have a value (state) but no Object Identifier
- Have a constant value
- May be atomic, structure, or collection
Advantages of ODMG-based Object Databases
- Speed: Data can be accessed faster because an object can be retrieved directly
- Improved performance: Best suited for object-oriented programming
- Extensibility: Any kind of data structure can be used to hold data
- Avoids impedance mismatch between the database and the programming language
Object Definition Language (ODL)
Object Definition Language (ODL) is a language used in the context of object-oriented databases to define the structure and characteristics of objects within a database. In ODL, data is organized and stored as objects rather than in traditional relational tables.
Common Elements of ODL
Element Description Classes Define the blueprint/template for objects Attributes Properties or data fields of a class Relationships Associations between classes/objects Inheritance Allows a class to derive properties from a parent class Methods Behaviors or operations defined on objects Constraints Rules that enforce data integrity Summary
ODL provides a powerful and expressive language for defining object-oriented database schemas. It enables the modeling and organization of data in a way that closely aligns with object-oriented programming concepts, making it natural to use alongside languages like C++ and Java through their respective ODMG language bindings.
- Q7.5 marksConcept of Query ProcessingHideAnswer
Explain different steps in query processing. [5]
- Q8.5 marksQuery Trees and Heuristics for Query OptimHideAnswer
Why query optimization is essential in databases? What is heuristic optimization? [5]
- Q9.5 marksData Fragmentation, Replication and AllocaHideAnswer
Define fragmentation. Explain horizontal fragmentation with an example. [5]
- Q10.5 marksIntroduction to NOSQL SystemsHideAnswer
What are the characteristics of NOSQL Systems? [5]
- Q11.5 marksActive Database Concepts and TriggersHideAnswer
What is the concept of active database? What are triggers? [5]
- Q12.5 marksBigDataHideAnswer
Write short notes on: a) Big data b) Information retrieval [5]