Object and Relational Models

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/19

flashcard set

Earn XP

Description and Tags

Twenty question-and-answer flashcards summarizing key points on object-oriented models, extended relational models, and modern big-data challenges.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

20 Terms

1
New cards

In an Object-Oriented Data Model (OODM), what two components are stored together inside a single object structure?

Both the data itself and the relationships associated with that data.

2
New cards

Which three object-oriented programming principles are natively supported by an Object-Oriented Database Management System (OODBMS)?

Inheritance, encapsulation, and polymorphism.

3
New cards

How does encapsulation in an OODM help maintain data integrity?

By hiding an object's internal state and allowing access only through defined interfaces, preventing unauthorized or inconsistent modifications.

4
New cards

What advantage does polymorphism provide in object-oriented databases?

It allows objects of different types to be accessed through a common interface, enhancing code reusability, modularity, and flexibility.

5
New cards

In OODM terminology, what do we call a collection of objects that share the same attributes and behaviors?

A class.

6
New cards

What is a "method" with respect to an object in an object-oriented database?

An action or operation that can be performed on the object to which it is attached.

7
New cards

What term refers to descriptive or structural information that gives context to data, including format, source, quality, and relationships?

Metadata.

8
New cards

Give an example of a real-world application that naturally fits an object-oriented database model.

An e-commerce system that stores products, customers, and orders as interconnected objects.

9
New cards

What is the Extended Relational Data Model (ERDM) designed to do?

Add object-oriented features to the traditional relational model, enabling richer and more flexible data representations.

10
New cards

Name two advanced features commonly provided by ERDMs beyond the basic relational model.

Support for arrays or multimedia data, plus encapsulation, inheritance, assertions, or triggers.

11
New cards

How do Object/Relational (O/R) database models bridge the gap between object-oriented and relational approaches?

They allow objects to be stored and retrieved directly within a relational structure, combining benefits of both paradigms.

12
New cards

Which markup language was first used for data exchange in O/R databases, and which lightweight format has largely replaced it?

XML was used initially; JSON is now preferred.

13
New cards

List four major categories of NoSQL data stores discussed in the lesson.

Key-value stores, wide-column stores, document-oriented stores, and graph stores.

14
New cards

Why is JSON popular for storing data in modern databases?

It provides a readable, schema-less way to represent nested and hierarchical data structures.

15
New cards

What must designers manage carefully when using JSON to ensure efficient querying and data integrity?

The quality, consistency, and indexing of the JSON data.

16
New cards

What key benefit does hosting a database in the cloud provide?

Automatic scaling to handle increased load or data ingestion speed.

17
New cards

Why is organization-wide data governance crucial for modern databases?

To ensure data is stored, shared, and protected in compliance with federal, state, and industry regulations.

18
New cards

What shift in software development during the mid-1980s drove the adoption of object-oriented and object/relational databases?

The rise of object-oriented programming languages.

19
New cards

Which characteristic makes OODM resemble document-based NoSQL systems?

Relationships are defined inside the object's (or document's) metadata.

20
New cards

In the context of OODM, how is an "object" defined?

An organizing unit that contains a fact, the information about that fact, and its relationships to other facts.