Midterm Review Flashcards
What is a DBMS?
A database management system, which is a collection of programs that manages the database structure and controls access to data stored in the database.
What is the role of the DBMS?
It is the intermediary between the user and the database. It enables data to be shared among multiple applications or users, presents the end user with an integrated view of data, provides more efficient and effective data management, and improves sharing, security, integration, access, decision-making, productivity, etc.
What are 3 advantages of the DBMS?
Improved data sharing, improved data security, better data integration, minimized data inconsistency, improved data access, improved decision making, and increased end-user productivity.
What are 3 functionalities of the DBMS?
Data dictionary management, data storage management, data transformation and presentation, security management, multiuser access control, backup and recovery management, database access languages and application programming interfaces, and database communication interfaces.
How can you categorize the types of databases?
By number of users (single-user database/desktop, multiuser database/workgroup/enterprise), by location (centralized, distributed, cloud), by data type (general-purpose, discipline-specific), by usage and time sensitivity (operational, analytical (OLAP), and by data structure (unstructured, structured, semi-structured).
Name and explain 3 problems with file system data processing.
Lengthy development times, difficulty of getting quick answers, complex system administration, lack of security and limited data sharing, and extensive programming.
What is data redundancy?
Unnecessarily storing the same data at different places.
What are 3 results of data redundancy?
Poor data security, data inconsistency, data-entry errors, data integrity problems, and data anomalies.
What is a database system?
An organization of components that define and regulate the collection, storage, management, and use of data within a database environment.
What are the components of a database system?
Hardware, software, people, procedures, and data.
What are 3 disadvantages of database systems?
Increased costs, management complexity, maintaining currency, vendor dependence, and frequent upgrade/replacement cycles.
What is a data model?
A representation of data structures and their characteristics, relations, constraints, transformations, and other constructs with the purpose of supporting a specific problem domain.
What is the importance of a data model?
It facilitates communication/interaction among the designer, the applications programmer, and the end user, it gives various views of the database, organizes data for various users, and provides an abstraction for the creation of a good database.
What are the building blocks of data models?
Entity, attribute, relationship and constraint.
What is an entity?
A person, place, thing, or event about which data will be collected and stored.
What is an attribute?
A characteristic of an entity.
What is a relationships?
An association among entities.
What is a constraint?
A restriction placed on data.
What is a business rule?
A brief, precise, and unambiguous description of a policy, procedure, or principle.
How do we use business rules to identify building blocks of data models?
Nouns translate into entities, and verbs translate into relationships among entities.
What added capabilities does the Object-Oriented Data Model (OODM) provide to compared Entity Relationship (ER) models?
It is capable of the concept of inheritance, which allows objects within the class hierarchy to inherit attributes and methods from their parent classes.
What are the similarities and differences of ER and OODM?
Both the ER and OODM models include the concept of attributes, which describe the properties of objects/entities. They also both represent entities, which are collections of objects sharing similar attributes and behaviors, and finally, both allow for the representation of relationships between entities.
What is big data?
A movement that aims to find new and better ways to manage large amounts of web- and sensor-generated data and derive business insight from it.
What are the 3Vs?
Volume refers to the amounts of data being stored, velocity refers to the speed in data growth as well as the need to process this data quickly to generate information and insight, and variety data is collected in multiple different data formats.
What are the advantages of the hierarchical model?
It is simple and efficient.
What are the advantages of the network model?
It is flexible and has navigational capabilties.
What are the advantages of the relational data model?
It is simple, enforces data integrity, and has query optimization.
What are the advantages of the entity-relationship (ER) model?
It has conceptual clarity, allows for communication, and has better data analysis.
What are the advantages of the object-oriented data model (OODM)?
It allows for data encapsulation, complex relationships, and inheritance.
What are the advantages of the enhanced entity-relationship (EER) model?
It allows for enhanced modeling, complex relationships, and semantic clarity.
Briefly compare the similarities and differences of External Views and Conceptual Model abstraction levels.
They include the same level of details, while the conceptual model represents a global view of the entire database by the entire organization, and the external view is the end users’ view of the data environment.
What are the advantages of external views?
It is easier to identify specific data requirements for each business unit’s operations, it is easier to check the model to ensure that it supports all processes as defined by their external models, it helps to ensure security constraints in the database design by focusing only a subset of data, and it makes application program development much simpler.