Chapter 1
Chapter 1
File-based System
File-based systems were an early attempt to
computerize the manual filing system.
File-based system is a collection of application
programs that perform services for the end-users.
Each program defines and manages its data.
Each user defines and creates with a specific
software the files he needs for a specific
application e.g.. Spread sheet
However, five types of problem are occurred in
using the file-based approach:
Prepared By: Elias B 7
Problems of using file based approach
Separation and isolation of data
When data is isolated in separate files, it is more
difficult for us to access data that should be
available.
Duplication of data
Duplication is wasteful
Duplication can lead to
Loss of data integrity
Data dependence
The physical structure and storage of the data files
and records are defined in the application program
code.
Prepared By: Elias B 8
Incompatible file formats
The structures of the file are dependent on the application
programming language. However file structure provided in one
programming language such as direct file, indexed-sequential file
which is available in COBOL programming, may be different from
the structure generated by other programming language such as C.
Fixed queries / proliferation (production) of application
programs
File-based systems are very dependent upon the application programmer.
Their main job function revolves around constantly querying and updating
the database, using standard types of queries and updates.