File Handling in QBASIC

Gpjhiman
1 min readOct 12, 2023

--

We use computers to handle large volumes of data, and we can use any storage device to store that data. The data is stored in these devices using the concept of files. A file is a collection of related data stored in a particular area of the disk. A program can be designed to perform read and write operations on files. Every piece of data that you perform in a program disappears due to the volatile nature of RAM. In the program, if you want to store the data permanently, you must use the file concept.

However, when the files are stored on the computer, the files have to be kept in such a way that the records can be located, processed, and selected easily by the computer program. The handling of files depends on both input and output requirements, and the amount of data to be stored.

A file is a collection of data or information or instructions. Files are stored permanently on secondary storage devices using a unique name called filename. Files can be classified into two types.

i. Program file

ii. Data file

For more, read:

--

--