Made with ScholarlyMake flashcards like these from your own notes
Question:What is data inconsistency?
Answer:Different versions of the same data appear in different places.
Question:What is data quality?
Answer:Promoting accuracy, validity, and timeliness of data.
Question:What are types of databases?
Answer:Classifies according to number of users, database locations, expected type and extent of use.
Question:What is a single-user database?
Answer:Supports one user at a time.
Question:What is a desktop database?
Answer:Runs on a PC.
Question:What is a multi-user database?
Answer:Supports multiple users at the same time.
Question:What is a workgroup database?
Answer:Supports a small number of users or a specific department.
Question:What is an enterprise database?
Answer:Supports many users across many departments.
Question:What is a centralized database?
Answer:Data is located at a single site.
Question:What is a distributed database?
Answer:Data is distributed across different sites.
Question:What is a cloud database?
Answer:Created and maintained using cloud data services.
Question:What is a general-purpose database?
Answer:Contains a wide variety of data used in multiple disciplines.
Question:What is a discipline-specific database?
Answer:Contains data focused on specific subject areas.
Question:What is an operational database?
Answer:Designed to support a company's day-to-day operations.
Question:What is an analytical database?
Answer:Stores historical data and business metrics.
Question:What is a data warehouse?
Answer:Stores data in a format optimized for decision support.
Question:What is Online analytical processing (OLAP)?
Answer:Enables retrieving, processing, and modeling data from the data warehouse.
Question:What is Business intelligence?
Answer:Captures and processes business data to generate info that support decision making.
Question:What is unstructured data?
Answer:Exists in their original state.
Question:What is structured data?
Answer:Results from formatting.
Question:What is structure in data?
Answer:Applied based on type of processing to be performed.
Question:What is semi-structured data?
Answer:Processed to some extent.
Question:What is Extensible Markup Language (XML)?
Answer:XML represents data elements in textual format.
Question:Why is a well-designed database important?
Answer:Facilitates data management and generates accurate and valuable information.
Question:What does a poorly designed database cause?
Answer:Causes difficult-to-trace errors.
Question:What is database design?
Answer:Focuses on the design of the database structure that will be used to store and manage end-user data.
Question:What are manual file systems?
Answer:Accomplished through a system of file folders and filing cabinets.
Question:Who is a Data processing (DP) specialist?
Answer:Created a computer-based system that would track data and produce required reports.
Question:What are modern end-user productivity tools?
Answer:Includes spreadsheet programs such as Microsoft Excel.
Question:What are the reasons for studying file systems?
Answer:Complexity of database design is easier to understand. Understanding file system problems helps to avoid problems with DBMS. Knowledge of file system is useful for converting file system to database system.
Question:What are file systems?
Answer:Composed of collection of file folders, each tagged and kept in cabinet.
Question:What are manual file systems?
Answer:Served as a data repository for small data collections cumbersome for large collections.
Question:What are computer file systems?
Answer:Resemble manual file systems as number of files increased, file systems evolved.
Question:What did the Data processing DP specialist do?
Answer:Converted computer file structure from manual system - wrote software that managed the data - designed the application programs.
Question:Why are organized facts important?
Answer:Raw facts have little meaning unless organized logically.
Question:What is a field in the context of data?
Answer:A field has a specific meaning and is used to define and store data.
Question:What is a record?
Answer:A record is a logically connected set of one or more fields that describes a person, place, or thing.
Question:What is a file?
Answer:A file is a collection of related records.
Question:What are the limitations of file system data processing?
Answer:Requires extensive programming, lengthy development times, inability to perform ad hoc queries, difficulty in getting quick answers, complex system administration, lack of security, and limited data sharing.
Question:What is structural dependence?
Answer:Structural dependence means access to a file is dependent on its own structure.
Question:What is structural independence?
Answer:Structural independence means the file structure can be changed without affecting the applications ability to access the data.
Question:What is data dependence?
Answer:Data dependence means data access changes when data storage characteristics change.
Question:What is data independence?
Answer:Data independence means data storage characteristics can be changed without affecting the programs ability to access the data.
Question:What is the difference between logical and physical data formats?
Answer:Logical data format is how a human views the data, while physical data format is how a computer must work with the data.
Question:What is data redundancy?
Answer:Data redundancy is the same data stored unnecessarily in different places.
Question:What are the implications of data redundancy?
Answer:Poor data security, data inconsistency, increased likelihood of data-entry errors, and data anomalies.
Question:What are the types of data anomalies?
Answer:Update anomalies, insertion anomalies, and deletion anomalies.
Question:Why is data-modeling important?
Answer:Good data modeling facilitates communication between the designer, user, and the developer.
Question:What does a database system consist of?
Answer:Logically related data stored in a single logical data repository, potentially distributed among multiple storage facilities.
Question:What is a Database System Environment?
Answer:Defines, stores, and manages all access paths and components. Includes hardware, software, people, procedures, and data.
Question:What is Data dictionary management?
Answer:Stores definitions of data elements and relationships (metadata) in a data dictionary.
Question:What is Data storage management?
Answer:Creates and manages complex structures required for data storage.
Question:What is Performance tuning?
Answer:Ensures efficient performance of the database in terms of storage and access speed.
Question:What is Data transformation and presentation?
Answer:Transforms entered data to conform to required data structures.
Question:What is Security management?
Answer:Enforces user security and data privacy.
Question:What is Multi-user access control?
Answer:Sophisticated algorithms ensure that multiple users can access the database concurrently without compromising its integrity.
Question:What is Backup and recovery management?
Answer:Enables recovery of the database after a failure.
Question:What is Data integrity management?
Answer:Minimizes redundancy and maximizes consistency.
Question:What is Database communication interfaces?
Answer:Accept end-user requests via multiple, different network environments.
Question:What is Query language?
Answer:Lets the user specify what must be done without having to specify how.
Question:What is Structured Query Language (SQL)?
Answer:De facto query language and data access standard supported by the majority of DBMS vendors.
Question:What are Disadvantages of Database Systems?
Answer:Increased costs, management complexity, maintaining currency, vendor dependence, frequent upgrade/replacement cycles.
Question:What is Data modeling?
Answer:Iterative and progressive process of creating a specific data model for a determined problem domain.
Question:What are Data models?
Answer:Simple representations of complex real-world data structures.
Question:What is the Importance of Data Models?
Answer:Communication tool, gives overall view, organizes data, abstraction for good database creation.
Question:What is an Entity?
Answer:Unique and distinct object used to collect and store data.
Question:What is an Attribute?
Answer:Characteristic of an entity.
Question:What is a Constraint?
Answer:Set of rules to ensure data integrity.
Question:What does a 'Relationship' describe in the context of data modeling?
Answer:An association among entities (One-to-many 1M, Many-to-many MN or MM, One-to-one 11)
Question:Define 'Business Rules'.
Answer:Brief, precise, and unambiguous description of a policy, procedure, or principle. They enable defining the basic building blocks and describe main and distinguishing characteristics of the data.
Question:List some sources of 'Business Rules'.
Answer:Company managers, Policy makers, Department managers, Written documentation, Direct interviews with end users
Question:What are some reasons for identifying and documenting 'Business Rules'?
Answer:Help standardize company's view of data, Communications tool between users and designers, Allow designer to understand the nature, role, scope of data and business processes, Develop appropriate relationship participation rules and constraints, Create an accurate data model
Question:How are nouns and verbs translated into data model components?
Answer:Nouns translate to entities, Verbs translate into relationships among entities
Question:What question helps identify the relationship type between two entities A and B?
Answer:How many instances of B are related to one instance of A? How many instances of A are related to one instance of B?
Question:Why are naming conventions important for entities and attributes?
Answer:Entity names should be descriptive of the objects in the business environment and use terminology familiar to users. Attribute names should be descriptive of the data. Proper naming facilitates communication and promotes self-documentation.
Question:What are the key characteristics of 'Hierarchical Models'?
Answer:Manages large amounts of data for complex manufacturing projects. Represented by an upside-down tree which contains segments equivalent of a file record type. Depicts one-to-many (1M) relationships.
Question:What are the key characteristics of 'Network Models'?
Answer:Improve database performance and impose a database standard. Depicts many-to-many (MN) relationships. One-to-many (1M)
Question:Define 'Schema'.
Answer:Conceptual organization of the entire database as viewed by the database administrator.
Question:Define 'Subschema'.
Answer:Portion of the database seen by the application programs that produce the desired information from the data within the database.
Question:What is 'Data Manipulation Language' (DML)?
Answer:Environment in which data can be managed.
Question:What is 'Schema Data Definition Language' (DDL)?
Answer:Enables the database administrator to define the schema components.
Question:What is the 'Relational Model'?
Answer:Describes a precise set of data manipulation constructs. Relation table: matrix composed of intersecting tuple and attribute.
Question:Define 'Tuple' in the context of the Relational Model.
Answer:Rows
Question:Define 'Attribute' in the context of the Relational Model.
Answer:Columns
Question:What is a 'Relational Data Management System' (RDBMS)?
Answer:Performs basic functions provided by the hierarchical and network models.
Question:What are network DBMS systems?
Answer:Systems that structure data as entities, attributes, and relationships.
Question:What is a relational diagram?
Answer:A graphical representation of entities, attributes, and relationships within a database.
Question:What is a relational table?
Answer:A structure that stores a collection of related entities, organized into rows and columns.
Question:What is the purpose of an end-user interface in a SQL-Based Relational Database Application?
Answer:Allows end-users to interact with data, often providing a simplified view and data manipulation capabilities.
Question:What is the role of the SQL engine?
Answer:Executes SQL queries to retrieve, insert, update, or delete data within the database.
Question:What is the Entity Relationship Model?
Answer:A graphical model that represents entities and their relationships in a database structure.
Question:What is an ERD (Entity Relationship Diagram)?
Answer:A diagram using graphic representations to model database components.
Question:What is an entity instance (or entity occurrence)?
Answer:Individual instances or occurrences of an entity, represented as rows in a relational table.
Question:What is connectivity in database modeling?
Answer:Describes the types of relationships between entities (e.g., one-to-many).
Question:What is Chen notation?
Answer:Uses diamonds to represent relationships and explicitly labels cardinality (1, M, N).
Question:What is Crows Foot notation?
Answer:Uses lines with crows feet at the 'many' side to visually represent cardinality.
Question:What is UML Class Diagram Notation?
Answer:Uses multiplicity constraints (e.g., '1..*' ) to define relationship rules.
Question:What is OODM (Object-Oriented Data Model)?
Answer:A data model where data and their relationships are encapsulated within objects, along with operations that can be performed on them.
Question:What are attributes in OODM?
Answer:Properties that describe an object.
Question:What is a class?
Answer:A collection of similar objects with shared structure and behavior, organized in a hierarchy.
Question:What is a class hierarchy?
Answer:A hierarchical arrangement where each class inherits properties from its parent class.
Question:What is inheritance?
Answer:An object inherits methods and attributes from its parent class.
Question:What is UML (Unified Modeling Language)?
Answer:A set of diagrams and symbols for graphically modeling a system.
Question:What is ERDM (Extended Relational Data Model)?
Answer:An extended relational data model that supports object-oriented features and complex data representation.
Question:What is ORDBMS (Object-Relational Database Management System)?
Answer:A DBMS based on ERDM that focuses on better data management by incorporating object-oriented concepts.
Question:What is XML (Extensible Markup Language)?
Answer:A markup language used to manage unstructured data for efficient exchange of all data types.
Question:What are the goals of Big Data?
Answer:To find new and better ways to manage large amounts of web and sensor-generated data and provide high performance and scalability at a reasonable cost.
Question:What are the characteristics of Big Data (the 3 V's)?
Answer:Volume, Velocity, Variety
Question:What are the challenges associated with Big Data?
Answer:Volume does not allow conventional structures, and expensive OLAP tools are inconsistent with unstructured data.
Question:What is Hadoop?
Answer:An open-source framework developed by Apache for processing and storing massive datasets across distributed computing clusters.
Question:What is HDFS (Hadoop Distributed File System)?
Answer:A storage system designed to handle large datasets across multiple machines within a Hadoop environment.
Question:What is MapReduce?
Answer:A programming model used within Hadoop to process large datasets in parallel.
Question:What is NoSQL?
Answer:A type of database designed for scalability and flexibility, differing from traditional relational databases.
Question:What are the key characteristics of NoSQL databases?
Answer:Not based on the relational model, supports distributed architectures, provides high scalability and fault tolerance, and is geared toward web applications.
Question:What is the main goal when prioritizing performance over transaction consistency?
Answer:To store data in key-value stores.
Question:What framework for data modeling was defined by the ANSI Standards Planning and Requirements Committee (SPARC)?
Answer:A framework based on degrees of data abstraction: external, conceptual, and internal.
Question:What is the External model?
Answer:End users view of the data environment, represented by ER diagrams.
Question:What is the Conceptual model?
Answer:A global view of the entire database by the entire organization.
Question:What is the Internal model?
Answer:Representation of the database as seen by the DBMS, mapping the conceptual model to the DBMS.
Question:What is Logical independence?
Answer:The ability to change the internal model without affecting the conceptual model.
Question:What is Physical independence?
Answer:The ability to make changes in the physical model without affecting the internal model.
Question:What is a Relational database model?
Answer:A model that enables logical representation of the data and its relationships, aiming for logical simplicity.
Question:What is a Table in the context of a relational model?
Answer:A structure that resembles a file conceptually and provides structural and data independence.
Question:What are the key characteristics of a Relational Table?
Answer:Two-dimensional structure, each row (tuple) represents a single entity occurrence, each column represents an attribute with a distinct name, each intersection of row and column is a single data value, all values in a column have the same data format, columns have specific range of values (attribute domain), order of rows and columns is immaterial, and each table must have attributes that uniquely identifies each row.
Question:What is Determination in the context of database attributes?
Answer:A state in which knowing the value of one attribute makes it possible to determine the value of another.
Question:What is Functional dependence?
Answer:When the value of one or more attributes determines the value of another attribute.
Question:What is a Determinant?
Answer:An attribute whose value determines the value of another attribute.
Question:What is a Dependent?
Answer:An attribute whose value is determined by the other attribute.
Question:What is Full functional dependence?
Answer:When the entire collection of attributes in the determinant is required to determine the dependent.
Question:What are Keys in the context of relational databases?
Answer:Consist of one or more attributes that determine other attributes.
Question:What is a Primary key (PK)?
Answer:An attribute or set of attributes that uniquely identifies any given row in a table.
Question:What is a Composite key?
Answer:A key that is composed of more than one attribute.
Question:What is a Super key?
Answer:Any key that uniquely identifies each row in a table.
Question:What is a Candidate key?
Answer:A superkey without any unnecessary attributes.
Question:What is a Foreign key?
Answer:An attribute in one table whose values match the primary key values in the related table.
Question:What is a Secondary key?
Answer:A key used strictly for data retrieval purposes.
Question:What is a Key attribute?
Answer:An attribute that is a part of a key.
Question:What is Entity integrity?
Answer:A condition in which the primary key of a table cannot contain null values.
Question:What is a primary key's role in a table?
Answer:Each row in the table has its own unique identity.
Question:What are the key properties of a primary key?
Answer:All of the values in the primary key must be unique. No key attribute in the primary key can contain a null.
Question:What does 'Null' mean in the context of databases?
Answer:No data entry is permitted in the primary key.
Question:What are ways to handle Nulls?
Answer:Flags - special codes used to indicate the absence of some value use to avoid nulls
Question:What does the NOT NULL constraint do?
Answer:Placed on a column to ensure every row in the table has a value for column
Question:What does the UNIQUE constraint do?
Answer:Restriction placed on a column to ensure no duplicate values exist for column
Question:What is relational algebra?
Answer:Theoretical way of manipulating table contents using relational operators
Question:What is a Relvar?
Answer:Variable that holds a relation heading names of attributes body relation
Question:What is Closure in relational algebra?
Answer:Use of relational algebra operators on existing relations produces new relations
Question:What does the Select operator do?
Answer:unary operator that yields a horizontal subset of a table
Question:What does the Project operator do?
Answer:unary operator that yields a vertical subset of a table
Question:What does the Union operator do?
Answer:Combines all rows from two tables, excluding duplicate rows
Question:What does Union-compatible mean?
Answer:Tables share the same number of columns, and their corresponding columns share compatible domains
Question:What does the Intersect operator do?
Answer:Yields only the rows that appear in both tables
Question:What does the Difference operator do?
Answer:Yields all rows in one table that are not found in the other table
Question:What does the Product operator do?
Answer:Yields all possible pairs of rows from two tables
Question:What does the Divide operator do?
Answer:Uses one 2-column table as the dividend and one single-column table as the divisor
Question:What does the Join operator do?
Answer:Allows information to be intelligently combined from two or more tables
Question:What does a Natural join do?
Answer:links by selecting only the rows with common values in their common attributes
Question:What are join columns?
Answer:common columns
Question:What is an Equijoin?
Answer:Links on the basis of an equality condition that compares specified columns of each table
Question:What is a Theta join?
Answer:Extension of natural join, denoted by adding a subscript after the JOIN symbol
Question:What does an Inner join do?
Answer:Only returns matched records from the tables that are being joined
Question:What does an Outer join do?
Answer:Matched pairs are retained and unmatched values in the other table are left null
Question:What does a Left outer join do?
Answer:Yields all of the rows in the first table
Question:What does a Right outer join do?
Answer:Yields all of the rows in the second table
Question:Relational Algebra - Select
Answer:σ condition tableName
Question:Relational Algebra - Project
Answer:π rowNameList tableName
Question:Relational Algebra - Union
Answer:project1 ∪ project2
Question:Relational Algebra - Intersect
Answer:project1 ∩ project2
Question:Relational Algebra - Difference
Answer:tableName1 - tableName2
Question:Relational Algebra - Product
Answer:tableName1 x tableName2
Question:Relational Algebra - Natural Join
Answer:project1 |x| project2
Question:Relational Algebra - Left Outer Join
Answer:project1 |x-| project2
Question:Relational Algebra - Right Outer Join
Answer:project1 |-x| project2
Question:What is a data dictionary?
Answer:Description of all tables in the database created by the user and designer
Question:What is a system catalog?
Answer:System data dictionary that describes all objects within the database
Question:What is a Homonym?
Answer:Same name is used to label different attributes
Question:What is a Synonym?
Answer:Different names are used to describe the same attribute
Question:What is a 1M relationship?
Answer:norm for relational databases
Question:What is a 11 relationship?
Answer:One entity can be related to only one other entity and vice versa.
Question:How is an MN relationship implemented?
Answer:Implemented by creating a new entity in 1M relationships with the original entities.
Question:What is a Composite entity?
Answer:Helps avoid problems inherent to MN relationships, includes the primary keys of tables to be linked.
Question:What is an Index?
Answer:Orderly arrangement to logically access rows in a table; each index is associated with only one table.
Question:What is an Index key?
Answer:Index's reference point that leads to data location identified by the key.
Question:What is a Unique index?
Answer:Index key can have only one pointer value associated with it.
Question:Who is Codd and what did he do?
Answer:Published a list of 12 rules to define a relational database system in 1985.
Question:What is an Entity Relationship Model (ERM)?
Answer:Basis of an entity relationship diagram (ERD).
Question:What is an ERD?
Answer:Depicts the conceptual database as viewed by end-user; databases' main concepts: entities, attributes, relationships.
Question:What are Entities?
Answer:Refers to entity set and not to single entity occurrence; noun is written in capital letters.
Question:What are Attributes?
Answer:Characteristics of entities.
Question:How are attributes represented in Chen notation?
Answer:Attributes represented by ovals connected to entity rectangle with a line.
Question:How are attributes represented in Crows foot notation?
Answer:Attributes written in attribute box below entity rectangle.
Question:What is a Required attribute?
Answer:Must have a value; cannot be left empty.
Question:What is an Optional attribute?
Answer:Does not require a value; can be left empty.
Question:What is a Domain?
Answer:Set of possible values for a given attribute.
Question:What are Identifiers?
Answer:One or more attributes that uniquely identify each entity instance.
Question:What is a Composite identifier?
Answer:Primary key composed of more than one attribute.
Question:What is a Composite attribute?
Answer:Attribute that can be subdivided to yield additional attributes.
Question:What is a Simple attribute?
Answer:Attribute that cannot be subdivided.
Question:What is a Single-valued attribute?
Answer:Attribute that has only a single value.
Question:What are Multivalued attributes?
Answer:Attributes that have many values.
Showing the first 200 of 413 cards. Open All cards to see the rest.