Computer Science, asked by harishramv411, 2 months ago

what is the difference between:
(a) Database and file
(b) Data and file

Answers

Answered by nikugurung15
0

Answer:

Difference Between File and Database is that a data file is a collection of related records stored on a storage medium such as a hard disk or optical disc. While a database is a collection of data organized in a manner that allows access, retrieval, and use of that data.

The definition of a database is that it is a set of related data that is usually in tables with indexes and relations between these. Therefore, all the data that is required for to create a specific program or task, though it’s quite possible that one program may link to many different databases as well as one database that can be shared among many different programs. Therefore, it tends to be in a pre-designed format such that adding to it, or removing from it, or simply searching and modifying all work as fast as possible. This usually comes with some sort of “engine” which the program uses to interact with the data so the program doesn’t need to know all the exact implementation details of just where what part of the database is stored.

you can write half of it..

Answered by shraddhashinde2808
0

Answer:

a). File System :

File system is basically a way of arranging the files in a storage medium like hard disk. File system organizes the files and helps in retrieval of files when they are required. File systems consists of different files which are grouped into directories. The directories further contain other folders and files. File system performs basic operations like management, file naming, giving access rules etc.

DBMS(Database Management System) :

Database Management System is basically a software that manages the collection of related data. It is used for storing data and retrieving the data effectively when it is needed. It also provides proper security measures for protecting the data from unauthorized access. In Database Management System the data can be fetched by SQL queries and relational algebra. It also provides mechanisms for data recovery and data backup.

b)A file is simply a pointer to a set of grouped data on the hard disc drive. This means that it could be any sort of file, and not just simple databases. Moreover, some databases use one file to store the entire database, others use one file per table, some have their indexes in separate file. You even get some which split the database in different ways into various files.

Data are characteristics or information, usually numerical, that are collected through observation. In a more technical sense, data are a set of values of qualitative or quantitative variables about one or more persons or objects, while a datum (singular of data) is a single value of a single variable.

Similar questions