answersLogoWhite

0


Best Answer

Insertion is the process of writing data to a file. Extraction is the process of reading data from a file. More generally we use the terms output and inputrespectively. However, the output of one process can often be used as the input for another. Therefore the terms must be applied within the context of the objects being read from or written to.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What step is data either written to the file or read from the file?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is meant by read and write txt in file handling?

read: moving data from file to memory write: moving data from memory to file


Why would you need to convert a string to a numeric data type?

For example, to interpret user input; to read data from a text file or from some other program that produces the data as a string.For example, to interpret user input; to read data from a text file or from some other program that produces the data as a string.For example, to interpret user input; to read data from a text file or from some other program that produces the data as a string.For example, to interpret user input; to read data from a text file or from some other program that produces the data as a string.


What is the difference between File Reader and FileInputStream in java?

FileReader used to read the character stream in the file.i.e a file that contanis only the character means FileReader is the choice to read the file.On the other hand if the file contains image,byte like raw data format means FileInputStream is the choice to read the data in the file,.


How can insert a data into file in c?

You insert data into a file by copying the file to a temporary file up to the point of insertion, then copying the data to be inserted, then copying the balance of the original file. After closing the temporary file you delete the original file and rename the temporary file back to the original file's name.


What is data file?

it may require a large amount of data to be read,processed and also served for latter use.such memory is store ion the auxiliary memory device in form of data file.the data file is collection of bytes.

Related questions

When reading data in a data file the data will be read?

in order it was written.


What is meant by read and write txt in file handling?

read: moving data from file to memory write: moving data from memory to file


What is a serial file?

A serial file is a type of computer file in which the data has been written to the file in sequence (like a phone directory). Usually such files have to be read from the beginning to find a particular record.


What is function of End-of-file?

It means 'no more data to read in this file'.


When you copy data from a file on a storage device into RAM you?

read to the file


Need of bidirectional data bus?

A data should be either WRITTEN to a memory or should be READ from a memory (both direction)and so the data bus is bidirectional.


Why would you need to convert a string to a numeric data type?

For example, to interpret user input; to read data from a text file or from some other program that produces the data as a string.For example, to interpret user input; to read data from a text file or from some other program that produces the data as a string.For example, to interpret user input; to read data from a text file or from some other program that produces the data as a string.For example, to interpret user input; to read data from a text file or from some other program that produces the data as a string.


File access methods explain?

A serial access file has data stored on it in the order in which it was written. Each new record goes at the end of the file. To read a record from the file it is necessary to read through all the preceding records first.A sequential access file has data stored on it in the order of the data in a key field.A direct access file is one where any record can be accessed without having to access other records first. This is also known as random access.


Traditional file environment?

Traditional file environment is not well suited to save data in them. They make it difficult to read the data as they are more unstructed.


How do you open a data file?

You can use fstream header file to read and write in files. It has two main components ifstream: stream which you can use to read data, and ofstream which allows you to save in files. Use something like this:#include#includeusing std::ifstream;using std::cout;using std::endl;int main(){char fileName[] = "myfile.txt";//file to read fromifstream inData;//stream to read from myfile.txtint data = 0;//to read one number of type int (we assume that the file contains it)inData.open(fileName);//connect the stream to the fileif (inData.fail())//if coult not open the file, program will be closed{cout data;//read one number from the file and save it in data of type intcout


What are read only files?

Files that can only be read (data can be retirieved) are called read-only files. You cannot write any data into a read-only file (you cannot edit it).


How do you read hyper terminal data to a file?

I have the same problem............ I want to read and write file but using Xmodem..... Please help me out as soon as possible