A file is a basic unit used to store data on a computer system. Files are saved on storage devices and can contain different types of data such as text, program code, CSV data, images, audio, video, or web pages. Files stored on a computer can be searched and accessed directly. However, when data needs to be processed or displayed through software, appropriate programs must be written to read data from files.
In the school attendance example, student information and attendance records are stored in separate files. One file maintains student and guardian details, while another stores daily attendance records. Although files can store large amounts of data, handling and managing data through a file system becomes difficult as the number of files and volume of data increase.
Limitations of File System
(A) Difficulty in Access A file system does not provide built-in methods to retrieve data in different formats. Data stored in files can only be accessed through application programs. Since it is not possible to predict all future data requirements, new programs often need to be written to retrieve data in the required manner.
(B) Data Redundancy Data redundancy occurs when the same data is stored repeatedly in different files. For example, student names may appear in both student and attendance files, and guardian details may be duplicated for siblings. Redundancy leads to unnecessary use of storage space and may result in inconsistencies.
(C) Data Inconsistency When duplicated data is not updated uniformly across all files, data inconsistency arises. For instance, if a student’s name is updated in one file but not in another, the same data will appear differently. Such inconsistencies are common when files are maintained by different people.
(D) Data Isolation In a file system, related data is stored in separate files without any direct linkage. As a result, separate programs must be written to access each file. If files are created at different times by different people using different formats, retrieving combined information becomes complex.
(E) Data Dependence Data in a file system is stored in a fixed structure. If the structure of a file is changed, all application programs that access the file must also be modified. This strong dependency between programs and data structure makes maintenance difficult.
(F) Controlled Data Sharing Different users such as teachers, office staff, and parents require different levels of access. Ideally, some users should only be allowed to view data, while others can modify it. For example, only teachers should update attendance records, while parents and office staff should have read-only access. Implementing such access control is very difficult in a file system.
20 MCQ’s
MCQ Quiz System
⏱ 20:00
Q1: What is a file in a computer system?
A container used to store data
A database table
A software application
A hardware component
A file acts as a container for storing data in a computer.
Q2: Which type of data can a file store?
Only text
Text, images, audio, and video
Only numeric data
Only source code
Files can store multiple types of data including multimedia.
Q3: Why are application programs needed in a file system?
To access and process file data
To create storage devices
To compress files
To encrypt files
Programs are required to retrieve and manipulate data stored in files.
Q4: What happens as the number of files increases?
Data handling becomes difficult
Files become smaller
Storage is not required
Programs stop working
Managing data becomes complex as file count and size increase.
Q5: What is data redundancy?
Duplication of the same data
Loss of data
Data encryption
Data compression
Redundancy means storing the same data at multiple places.
Q6: Which problem can data redundancy cause?
Data inconsistency
Faster access
Reduced storage
Improved security
Duplicate data may not be updated uniformly, causing inconsistency.
Q7: What is data inconsistency?
Mismatch of same data in different files
Deletion of data
Data backup
Data sharing
Inconsistency occurs when duplicated data does not match.
Q8: Who usually causes data inconsistency in file systems?
Different users maintaining files separately
Operating system
Hardware devices
Network cables
Files maintained by different people may not be updated consistently.
Q9: What does data isolation mean?
Related data stored in separate files
Data stored in one place
Data deletion
Data encryption
File systems do not link related data across files.
Q10: Why is data isolation a problem?
Multiple programs are required to access data
Files become corrupted
Data gets deleted
Storage devices fail
Each file must be accessed separately using different programs.
Q11: What is data dependence?
Programs depend on file structure
Files depend on users
Data depends on storage
Programs depend on hardware
Any change in file structure requires program modification.
Q12: What happens if file structure changes?
Application programs must be modified
Data gets deleted
Files become unreadable
Storage doubles
Programs are tightly linked to file formats.
Q13: Which limitation relates to user access control?
Controlled data sharing
Data redundancy
Data isolation
Data dependence
File systems struggle to enforce access restrictions.
Q14: Who should update attendance records?
Teacher
Parents
Office staff
Students
Only teachers should have modification rights.
Q15: What access should parents have?
Read-only access
Full control
Delete access
Update access
Parents should only view attendance data.
Q16: Why is controlled data sharing difficult in file systems?
Access control is hard to enforce
Files are too small
Files cannot be copied
Programs are unnecessary
File systems lack fine-grained access control mechanisms.
Q17: Which limitation wastes storage space?
Data redundancy
Data isolation
Data dependence
Controlled sharing
Duplicate data consumes extra storage.
Q18: Which limitation causes mismatched data?
Data inconsistency
Data dependence
Data isolation
Controlled sharing
Inconsistency arises from uneven updates.
Q19: File systems store data in which form?
Separate files
Linked tables
Relations
Schemas
File systems store data independently in files.
Q20: Which limitation is solved by access permissions?