• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/146

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

146 Cards in this Set

  • Front
  • Back

The term that means groups of information that represent the qualitative or quantitative attributes of a variable or set of variables.

Data

defined as a refined or processed data that has been transformed into meaningful and useful form of data for specific users.

Information

a collection of information that is organized so that it can easily be accessed, managed and updated.

Database

a collection of interrelated data and a set of programs to access the data.

DBMS

facilitates the process of defining, constructing, manipulating, and sharing databases among various users and applications.

DBMS

Database consist of:

Database


DBMS


Application Program

Data System Components

Data


Hardware


Software


User

a collective system of components that comprise and regulates the group of data, management, and use of data, which consist of software, hardware, people, techniques of handling database, and the data also

Database Environment

It is the job of updating, sorting, or validating a datafile.

File System Data Processing

A chunk of data

File

Ranges of database


PC’s, PDAs, cellphones used in special situations where there is a need to share data among users.

Personal Database

Ranges of Database



Designed to support collaboration in a small team (less than 25people)

Workgroup Database

Ranges of Database



typically larger than aworkgroup (25-100 people) and more diverse range offunctions.

Department Database

Ranges of Database



Scope of the whole organization

Enterprise Database

Types to Database



The most intuitive way to visualize this type of relationship is by visualizing an upside down tree of data.

Hierarchical Database

Type of Database



This model solves the problem of data redundancy by representing relationships interms of sets rather than hierarchy.

Network Database

Types of Database



Uses relations or two-dimensionaltables to store information

Relational Database

Types of Database



is a database management system(DBMS) similar to a relational database, but with an object-oriented database model

Object Relational Database

is the process of creating a simplified diagram of a software system and the data elements it contains, using text and symbols to represent the data and how it flows

Data Modelling

a core data management discipline

Data Modelling

It is the typical starting point for data modeling, identifying the various data sets and data flow through the organization.

Conceptual Model

Types of Database



Uses relations or two-dimensional tables to store information

Relational Database

represents a set of things,persons, or concepts relevant to a business

Entities

represents an association between two of the above entities

Relationships

a core data management discipline

Data Modelling

It describes the specifics of how the logical model will be realized. It is specific to a designated database software system

Physical Model

It visually map entities,their attributes and therelationships betweendifferent entities.

Entity-Relationship Data Modelling

They consist of fact tables thatcontain data about transactionsor other events and dimensiontables that list attributes of theentities in the fact tables

Dimensional Modelling

Typically paired withgraph databases, it'soften used to describedata sets that containcomplex relationships.

Graph Modelling

is a set of approved guidelines or framework within an organization.




is a statement that imposes some form of constraint on a specific aspect of the database.

Business Rule

Types of Business Rules

Database-oriented & Application-oriented

Impose constraints that you can establish within the logical design of the database.




A constraint dictated by the business based on their unique data integrity needs.

Database-oriented

Impose constraints that you cannot establish within the logical design of the database.




Are ones that are automatically applied based on the design of a databasae

Application-oriented

Refers to the process of hiding irrelevant details from the user

Data Abstraction

Three levels of data abstraction

Logical


Physical


Conceptual

User and data should not directly interact with each other.

Data Independence

This level tells the application about how the data should be shown to the user.

View Level

This level tells how the data is actually stored and structured.

Conceptual or Logical Level

Tells us that where the data is actually stored; it tells the actual location of the data that is being stored by the user.

Physical Level or Internal Schema

Represents the database as a collection of relations. A relation is nothing but a table of values.

Relational Model

Each column in a table

Attribute

The relations are saved in the table format.

Tables

It is nothing but a single row of a table, which contains a single record.

Tuple

Represents the name of the relation with its attributes.

Relation Schema

The total number of attributes which in the relation is called the degree of the relations

Degree

Total number of rows present in the table.

Cardinality

Represents the set of values for a specific attribute.

Column

A finite set of tuples in the RDBMS system.

Relation Instance

Every row has one, two or multiple attributes

Relation key

Every attribute has some pre-defined value and scope

Attribute domain

Referred to conditions which must be present for a valid relation.

Relational Integrity Constraints

Types of Integrity Constraints

Domain


Key


Referential Integrity

Can be violated if an attribute value is not appearing in the corresponding domain or it is not of the appropriate data type.

Domain Constraints



An attribute that can uniquely identify a tuple in a relation is called the key of the table. the value of the attribute for different tuples in the relation has to be unique.

Key Constraints

based on the concept of the foreign keys

Referential Integrity Constraints

An important attribute of a relation which should be referred to in other relationships.

Foreign Key

Operations in Relational Model

Insert


Delete


Modify


Select

More than one such minimal subsets

Candidate Keys

True or False


no two tuples can have identical values for key attributes

true

True or False


a key attribute can not have NULL values

True

Having mutiple copies of same data in the database.

Redundancy

If a student detail has to be inserted whose course is not being decided yet then insertion will not be possible till the time course is decided for student.

Insertion Anomaly

If the details of student in this table are deleted then the details of college will also get deleted which not occur by common sense.

Deletion Anomaly

If the rank of the college changes then changes will have to be all over the database which will be time-consuming and computationally costly.

Update Anomaly



the record in table A relates to one, and only one, record in table B and each record in table B relates to one, and only one, record in table A.

One-to-one Relationship

a record in table A can relate to zero, one, or many records in table B.

One-to-many Relationship

The given tables hold data about employees and the projects to which they are assigned.

Many-to-Many Relationship

12 rules of Relational Database by?

Dr. Edgar F. Codd

The data stored in a database, may it be user data or metadata, must be a value of some table cell.

Rule 1: Information Rule

Every single data element is guaranteed to be accessible logically with a combination of table name, primary-key and attribute name.

Rule 2: Guaranteed Access Rule

The null values in a database must be given a systematic and uniform treatment.

Rule 3: Systematic Treatment of NULL values

The structure description of the entire database must be stored in an online catalog, known as data dictionary, which can be accessed by authorized users.

Rule 4: Active Online Catalog

Collection of metadata is stored in

Data dictionary or system catalog

accessed by the DBMS to perform various transactions and data dictionary has the user accessible views that are accessed by the developers, designers or users.

System Catalogs

A database can only be accessed using a language having linear syntax that supports data definition, data manipulation, and transaction management operations.

Rule 5: Comprehensive Data Sub-Language Rule

All the views of a database, which can theoretically be updated, must also be updatable by the system.

Rule 6: View Updating Rule

Types of Views

User, ALL and DBA

those table and views which are created by the current user/schema.

User View

lists all the tables and views that are owned by the current user as well as those tables and views which it has access.

ALL View



will have access to all the tables and views of all the user/schema.

DBA View

A database must support high-level insertion, update, and deletion.

Rule 7: High-Level Insert, Update and Delete Rule

True or False


DBMS supports relational set operators

True

Combines two different results obtained by a query into a single result in the form of a table.

Union

Gives the common data values between the two data sets that are intersected.

Intersection

takes the two sets and returns the values that are in the first set but not the second set

Set Difference

The data stored in database must be independent of the applications that access the database.

Rule 8: Physical Data Independence

Must be independent of its user's view.

Rule 9: Logical Data Independence



must be independent of the application that uses it.

Rule 10: Integrity Independence

The end-user must not be able to see that the data is distributed over various locations.

Rule 11: Distribution Independence

If a system has an interface that provides access to low-level records, then the interface must not be able to subvert the system and bypass security and integrity constraints.

Rule 12: Non-Subversion Rule

A graphical representation that depicts relationships among people, objects, places, concepts or events within an IT system




it uses in terms of logic and business rules.

Entity Relationship model or diagram

lacks of specific details but provides an overview of the scope of the project

Conceptual Data Model

Which is more detailed than a conceptual, illustrating specific attributes and relationships among data points.

Logical Data Model

which provides the blueprint for a physical manifestation.

Physical Data Model

Components of ERD




which are the objects or concepts that can have data stored about them

Entities

Components of ERD




does not have a primary key and are dependent on the parent entity.

Weak Entity

Components of ERD




has a primary key.

Strong Entity

Components of ERD




which are properties or characteristics of entities.

Attributes

Components of ERD




An attribute that has multiple values for a single entity at a time.

Multivalued Attribute

Components of ERD




If an attribute has two or more other attributes

Composite Attribute

Components of ERD




An attribute whose value can be calculated from another attribute.

Derived Attribute

Components of ERD




Represented by diamond-shaped box.

Relationship

Participation Constraints




each entity is involved in the relationship.

Total Participation

Participation Constraints




not all the entities are involved in the relationship.

Partial Participation

a high-level data mode that incorporates the extensions to the original ER model.

Extended Entity Relationship Mode (EER)

an entity that can be divided into further subtype.

Super Class

a process of generalizing an entity which contains generalized attributes or properties of generalized entities.

Generalization

Relationship of one super or sub class with more than one super class

Category or Union

Represents relationship between a wholeobject and its component

Aggregation

It is formed by combining multiple interrelated entities into a single entity object. It is useful way to represent a data model for a large and complex organization.

Entity Clustering

For entity integrity rule, each table has a primary key. Primary key cannot have NULL value.

True

process of organizing the data in a database.

Database Normalization

An attribute is dependent on another attribute if another attribute uniquely identifies it.

Functional Dependency

is an unexpected side effect of trying to insert, update, or delete a row.

Data Anomalies

used to eliminate or reduce redundancy in database tables.

Normal Forms



Divide the base into logical units called tables.

1NF

To take data that is only partly dependent on the primary key and enter that data into another table.

2NF

An attribute, which is part of the candidate-key, is known as a prime attribute.

Prime Attribute

An attribute, which is not a part of the prime-key.

Non-prime attribute

Remove the data in the table that is not dependent on the primary key.

3NF

Based on functional dependencies that take into account all candidate keys in a relation.

Boyce-Codd Normal Form (BCNF)



If no database table instance contains two or more, independent and multivalued data describing the relevant entity.

4NF

also known as project join normal form.

5NF

a constraint that is similar to FD (functional dependency) or MVD (multivalued dependency).

Join Dependency

a language for storing and processing information in a relational database.

Structured Query Language (SQL)



SQL was invented in the 1970s based on the relational data model. SEQUEL means?

Structured English Query Language

The first vendor to offer a commercial SQL relational database management system.

Oracle

consist of rows and columns

SQL Table

composed such as identifiers, variables, and search conditions that form a correct SQL statement.

SQL Statement

starts by tokenizing, or replacing, some of the words in the SQL statement with special symbols.

Parser

The parser verifies that the SQL statement conforms to SQL semantics, or rules, that ensure the correctness of the query statement.

Correctness

The parser also validates that the user running the query has the necessary authorization to manipulate the respective data.

Authorization

Creates a plan for retrieving, writing, or updating the corresponding data in the most effective manner.

Relational Engine

the software component that processes the byte code and runs the intended SQL statement.

Storage Engine

are specific keywords or SQL statement that developers use to manipulate the data stored in a relational database.

SQL Commands

refers to SQL commands that design the database structure.

Data Definition Language (DDL)

consists of instructions for retrieving data stored in relational database.

Data query language (DQL)

statements write new information or modify existing records in a relational database.

Data Manipulation Language (DML)

to manage or authorize database access for other users.

Data Control Language (DCL)

The relational engine use _____ to automatically make database database changes.

Transaction Control Language (TCL)

a set of formally defined guidelines of the structured query language.

SQL Standards

a cyberattack that involves tricking the database with SQL queries.

SQL Injection

an open-source relational database management system offered by oracle.

MySQL

SQL vs MySQL

SQL is a standard language for database creation and manipulation.




MySQL is a relational database program that uses SQL queries.

refersto non-relational database that don't use tables to store data.

NoSQL

is the official name of Microsoft's relational database management system that manipulates data with SQL.

SQL Server