Unit 6 MDC
Unit 6 MDC
Data is a collection of facts – unorganized but able to be organized into useful information
Information is data arranged in an order and form that is useful to the people who receive it
Data processing is a series of actions or operations that converts data into useful information
A data processing system includes resources such as people, procedures, and devices used to
process input data for producing desirable output
File-oriented approach: Application’s data is organized into one or more files and application
program processes them to generate the desired output
Database-oriented approach: Data from multiple related files are integrated together to form
a database:
Provides greater query flexibility
Reduces data redundancy
Solves data integrity (inconsistency) problem
Makes data independent of the application programs
Includes data security features at database level, record level, and field level
File Types:
File Organizations:
File organization is the physical organization of the records of a file for convenience of storage
and retrieval of data records
Database Models:
Database model defines the manner in which the various files of a database are linked
together.
Network:
Relational:
Object-oriented:
DBMS allows users to organize, process and retrieve selected data from a database without
knowing about the underlying database structure
Four major components of a DBMS that enable this are:
Data Definition Language (DDL): Used to define the structure (schema) of a database
Data Manipulation Language (DML): Provides commands to enable the users to enter
and manipulate the data
Query Language: Enables users to define their requirements for extracting the desired
information from the database in the form of queries
Report generator: Enables the users of a database to design the layout of a report so that it
can be presented in the desired format
Creating a Database:
All database systems provide commands to view, modify, delete, or add records of an already
established database
Many database systems also provide a facility to set up a filter allowing user to browse through and
view only those records that meet some criterion
Searching a Database:
Commonly supported features for enabling a user to search for desired information in a database are:
Find command: Used for simple database queries
Query language: Used for more complex database queries
Query By Example (QBE): Provides a simple user interface for specifying search criteria
Creating Reports:
Reports are generated by using report generator of a database system to assemble the output of a
database query in desired format
Report generator enables user to specify layout of the report, titles & subtitles for the report, column
headings for various fields, and other elements to make the report appear more presentable
Sample Output of Report: