• 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/75

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;

75 Cards in this Set

  • Front
  • Back
  • 3rd side (hint)

distinct information that is formatted in a special way.

Data

Dt

An organized collection of data

Database

Dtbs

A software that controls the storage, organization, and retrieval of data

Database Management System

DMS

Types of Data

Text


Images


Videos


Speech

TIVS

CSV

Comma Separated Values

Column

Field

Row

Record

PURPOSE OF DATABASE

1. To store data



2. To provide an organizational structure for data



3. To provide a mechanism for querying, creating, modifying, and deleting data of C.R.U.D. (Create, Read, Update, Delete)

LIST MODIFICATION ISSUES

1. Data updating problem



2. Insertion problem



3. Deletion problem



4. Redundancy Problem

DBMS consists of

A collection of interrelated and persistent data (usually referred to as the database (DB)).


A set of application programs used to access, update and manage that data (which form the data management system (MS)).

first general purpose database by Charles Bachman from GE. Used the network data model.

Early 1960s


IBM developed Information Management System (IMS). Used the hierarchical data model. Led to SABRE, the airline reservation system developed by AA and IBM. Still in use today

Late 1960s

Edgar Code of IBM developed the relational data model. Led to several DBMS based on relational model, as well as important theoretical results. Code wins Turing award.

1970

relational model dominant. SQL standard.


1980

DBMS vendors extend systems, allowing more complex data types (images, text).


Late 1980s, 1990s

Use of DBMS

1. Data independence and efficient access.


2. Reduced application development time.


3.Data integrity and security.


4. Uniform data administration.


5. Concurrent access, recovery from crashes

D R D U C

PROBLEMS ON USING DBMS

Data redundancy and inconsistency


Difficulty in new program to carry out each new task


Data isolation


Security problems


Integrity problems

DDDSI

DATA MODELS

HIERARCHICAL MODEL



NETWORK MODEL



RELATIONAL MODEL



OBJECT-ORIENTED MODEL



SEMI STRUCTURED MODEL

organizes data in a tree structure.


Hierarchical Model

permitted the modeling of many-to-many relationships in data.

Network Model

Formally defined the network model on 1971.


CODASYL: Conference on Data Systems Languages


a database the data and relations between them are organized in tables. A table is a collection of records and each record in a table contains the same fields. (Developed by E.F. Code.)


Relational Model

PROPERTIES OF RELATIONAL TABLE

Values Are Atomic



Each Row is Unique



Column Values Are of the Same Kind



The Sequence of Columns is Insignificant



The Sequence of Rows is Insignificant



Each Column Has a Unique Name

add database functionality to object programming languages

Object-Oriented Model

the information that is normally associated with a schema is contained within the data, which is sometimes called ``self-describing''.


SEMI STRUCTURED MODEL

ARCHITECTURE OF DBMS (1971)

DBTG: Database task groupANSI: American National Standard Institute

TWO LEVEL APPROACH

SCHEMA



SUBSCHEMA

System view

Schema

User view

Sub-Schema

THREE LEVELS OR LAYERS OF DBMS ARCHITECTURE

External Level



Conceptual Level



Internal Level

described by a schema i.e. it consists of definition of logical records and relationship in the external view

External Level

describes the records and relationship included in the Conceptual view.

Conceptual Level

indicates hoe the data will be stored and described the data structures and access method to be used by the database.


Internal Level

COMPONENTS OF DBMS


Hardware



Software



Data



People



Procedure

ADVANTAGES OF DBMS


Controlling Redundancy



Sharing of Data



Data Consistency



Integration of Data



Integration Constraints



Data Security



Report Writers



Control Over Concurrency



Backup and Recovery Procedures



Data Independence

DISADVANTAGES OF DBMS

Cost of Hardware and Software



Cost of Data Conversion



Cost of Staff Training



Appointing Technical Staff



Database Damage

DBMS LANGUAGES

Data Definition Language (DDL)




Data Manipulation Language (DML)

statements are used to define the database structure or schema.

DDL

statements are used for managing data within schema objects.

DML

DDL

Create




Alter




Drop




Truncate




Comment




Rename

C A D T C R

DML

Select



Insert



Update



Delete



Merge



Call



Explain Plan



Lock Table

It provides all the data definition, data manipulation, and data control features that you need to manage large volumes of data.


MS ACCESS – RDBMS

FILE EXTENSIONS

.mdb



.accdb

is a fully functional RDBMS

Access desktop database

can also act as the data source for data displayed on webpages on your company intranet

Desktop database

allows you to define the kind of data you have and how the data should be stored.

RDBMS

MS ACCESS OBJECTS

Table



Query



Form



Report



Macro



Module

an object that is used to define and store data

Table

An object that provides a custom view of data from one or more tables.

Query

an object in a desktop database designed primarily for data input or display or for control of application execution.

Form

is an object in desktop databases designed for formatting, calculating, printing, and summarizing selected data

Report

This object is a structured definition of one or more actions that you want Access to perform in response to a defined event.


Macro

is an object in desktop databases containing custom procedures that you code using Visual Basic.


Module

MS ACCESS DATA TYPES


MS ACCESS DATA TYPES


TYPES

COMMON DATA TYPES



SPECIALIZED DATA TYPES

Common Data Types

Short text




Long text




Number




Date / Time




Currency




Autonumber




Yes/No

Text or combinations of text and numbers, including numbers that do not require calculating (e.g. phone numbers).


Short Text

Lengthy text or combinations of text and numbers.


Long Text

Numeric data used in mathematical calculations.


Number

Date and time values for the years 100 through 9999

Date / Time

values and numeric data used in mathematical calculations involving data with one to four decimal places.


Currency

A unique sequential (incremented by 1) number or random number assigned by Microsoft Access whenever a new record is added to a table.

Autonumber

values and fields that contain only one of two values

Yes/No

SPECIALIZED DATA TYPES


Attachment




Ole Object




Hyperlink




Lookup Wizard




Calculated

A O H L C

Files, such as digital photos. Multiple files can be attached per record.

Attachment

can store pictures, audio, video, or other BLOBs (Binary Large Objects)


Ole Object

Text or combinations of text and numbers stored as text and used as a address.


Text or combinations of text and numbers stored as text and used as a address.


Hyperlink

the Data Type column in the Design view is not actually a data type. When you choose this entry, a wizard starts to help you define either a simple or complex lookup field.


Lookup Wizard

You can create an expression that uses data from one or more fields. You can designate different result data types from the expression.


Calculated

TYPES OF ACTION QUERY

Append




Update




Delete



Make-Table

Retrieves information in an interactive manner prompting the end user to supply Parameter query retrieves information in an interactive manner prompting the end user to supply criteria before the query is run

MS ACCESS - PARAMETER

You can save and run the same query again and again, and a lot Queries come in with many advantages. You can save and run the same query again and again, and a lot of times you want to add alternate criteria.

MS ACCESS - ALTERNATE CRITERIA

to retrieve data from one or more tables and add that data to another

Append

to change the data in your tables, and you can use an update query to enter criteria to specify which rows should be updated

Update

to delete data from your tables, and you can use a delete query to enter criteria to specify which rows should be deleted.


Delete

to create a new table from data that is stored in other tables.


Make - Table